GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( fa9410...4defe3 )
by
unknown
08:42
created

SegmentOAR   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 111
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 11
eloc 28
dl 0
loc 111
rs 10
c 0
b 0
f 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A withMaskList() 0 8 2
A withOrgId() 0 6 1
A withDataFormat() 0 6 1
A withContrast() 0 6 1
A withOrgName() 0 6 1
A withBodyPart() 0 6 1
A withAsync() 0 6 1
A withURLList() 0 10 3
1
<?php
2
3
namespace AlibabaCloud\Imageprocess\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AnalyzeChestVessel analyzeChestVessel(array $options = [])
9
 * @method CalcCACS calcCACS(array $options = [])
10
 * @method ClassifyFNF classifyFNF(array $options = [])
11
 * @method DetectCovid19Cad detectCovid19Cad(array $options = [])
12
 * @method DetectHipKeypointXRay detectHipKeypointXRay(array $options = [])
13
 * @method DetectKneeKeypointXRay detectKneeKeypointXRay(array $options = [])
14
 * @method DetectKneeXRay detectKneeXRay(array $options = [])
15
 * @method DetectLungNodule detectLungNodule(array $options = [])
16
 * @method DetectLymph detectLymph(array $options = [])
17
 * @method DetectPanc detectPanc(array $options = [])
18
 * @method DetectRibFracture detectRibFracture(array $options = [])
19
 * @method DetectSkinDisease detectSkinDisease(array $options = [])
20
 * @method DetectSpineMRI detectSpineMRI(array $options = [])
21
 * @method FeedbackSession feedbackSession(array $options = [])
22
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
23
 * @method RunCTRegistration runCTRegistration(array $options = [])
24
 * @method RunMedQA runMedQA(array $options = [])
25
 * @method ScreenChestCT screenChestCT(array $options = [])
26
 * @method SegmentOAR segmentOAR(array $options = [])
27
 * @method TranslateMed translateMed(array $options = [])
28
 */
29
class ImageprocessApiResolver extends ApiResolver
30
{
31
}
32
33
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
34
{
35
    /** @var string */
36
    public $product = 'imageprocess';
37
38
    /** @var string */
39
    public $version = '2020-03-20';
40
41
    /** @var string */
42
    public $method = 'POST';
43
44
    /** @var string */
45
    public $serviceCode = 'imageprocess';
46
}
47
48
/**
49
 * @method string getDataSourceType()
50
 * @method string getOrgName()
51
 * @method string getDataFormat()
52
 * @method array getURLList()
53
 * @method string getOrgId()
54
 * @method string getAsync()
55
 */
56
class AnalyzeChestVessel extends Rpc
57
{
58
59
    /**
60
     * @param string $value
61
     *
62
     * @return $this
63
     */
64
    public function withDataSourceType($value)
65
    {
66
        $this->data['DataSourceType'] = $value;
67
        $this->options['form_params']['DataSourceType'] = $value;
68
69
        return $this;
70
    }
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withOrgName($value)
78
    {
79
        $this->data['OrgName'] = $value;
80
        $this->options['form_params']['OrgName'] = $value;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withDataFormat($value)
91
    {
92
        $this->data['DataFormat'] = $value;
93
        $this->options['form_params']['DataFormat'] = $value;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @param array $uRLList
100
     *
101
     * @return $this
102
     */
103
	public function withURLList(array $uRLList)
104
	{
105
	    $this->data['URLList'] = $uRLList;
106
		foreach ($uRLList as $depth1 => $depth1Value) {
107
			if(isset($depth1Value['URL'])){
108
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
109
			}
110
		}
111
112
		return $this;
113
    }
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withOrgId($value)
121
    {
122
        $this->data['OrgId'] = $value;
123
        $this->options['form_params']['OrgId'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withAsync($value)
134
    {
135
        $this->data['Async'] = $value;
136
        $this->options['form_params']['Async'] = $value;
137
138
        return $this;
139
    }
140
}
141
142
/**
143
 * @method string getDataSourceType()
144
 * @method string getOrgName()
145
 * @method string getDataFormat()
146
 * @method array getURLList()
147
 * @method string getOrgId()
148
 * @method string getAsync()
149
 */
150
class CalcCACS extends Rpc
151
{
152
153
    /**
154
     * @param string $value
155
     *
156
     * @return $this
157
     */
158
    public function withDataSourceType($value)
159
    {
160
        $this->data['DataSourceType'] = $value;
161
        $this->options['form_params']['DataSourceType'] = $value;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withOrgName($value)
172
    {
173
        $this->data['OrgName'] = $value;
174
        $this->options['form_params']['OrgName'] = $value;
175
176
        return $this;
177
    }
178
179
    /**
180
     * @param string $value
181
     *
182
     * @return $this
183
     */
184
    public function withDataFormat($value)
185
    {
186
        $this->data['DataFormat'] = $value;
187
        $this->options['form_params']['DataFormat'] = $value;
188
189
        return $this;
190
    }
191
192
    /**
193
     * @param array $uRLList
194
     *
195
     * @return $this
196
     */
197
	public function withURLList(array $uRLList)
198
	{
199
	    $this->data['URLList'] = $uRLList;
200
		foreach ($uRLList as $depth1 => $depth1Value) {
201
			if(isset($depth1Value['URL'])){
202
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
203
			}
204
		}
205
206
		return $this;
207
    }
208
209
    /**
210
     * @param string $value
211
     *
212
     * @return $this
213
     */
214
    public function withOrgId($value)
215
    {
216
        $this->data['OrgId'] = $value;
217
        $this->options['form_params']['OrgId'] = $value;
218
219
        return $this;
220
    }
221
222
    /**
223
     * @param string $value
224
     *
225
     * @return $this
226
     */
227
    public function withAsync($value)
228
    {
229
        $this->data['Async'] = $value;
230
        $this->options['form_params']['Async'] = $value;
231
232
        return $this;
233
    }
234
}
235
236
/**
237
 * @method string getOrgName()
238
 * @method string getTracerId()
239
 * @method string getDataFormat()
240
 * @method string getOrgId()
241
 * @method string getImageUrl()
242
 */
243
class ClassifyFNF extends Rpc
244
{
245
246
    /**
247
     * @param string $value
248
     *
249
     * @return $this
250
     */
251
    public function withOrgName($value)
252
    {
253
        $this->data['OrgName'] = $value;
254
        $this->options['form_params']['OrgName'] = $value;
255
256
        return $this;
257
    }
258
259
    /**
260
     * @param string $value
261
     *
262
     * @return $this
263
     */
264
    public function withTracerId($value)
265
    {
266
        $this->data['TracerId'] = $value;
267
        $this->options['form_params']['TracerId'] = $value;
268
269
        return $this;
270
    }
271
272
    /**
273
     * @param string $value
274
     *
275
     * @return $this
276
     */
277
    public function withDataFormat($value)
278
    {
279
        $this->data['DataFormat'] = $value;
280
        $this->options['form_params']['DataFormat'] = $value;
281
282
        return $this;
283
    }
284
285
    /**
286
     * @param string $value
287
     *
288
     * @return $this
289
     */
290
    public function withOrgId($value)
291
    {
292
        $this->data['OrgId'] = $value;
293
        $this->options['form_params']['OrgId'] = $value;
294
295
        return $this;
296
    }
297
298
    /**
299
     * @param string $value
300
     *
301
     * @return $this
302
     */
303
    public function withImageUrl($value)
304
    {
305
        $this->data['ImageUrl'] = $value;
306
        $this->options['form_params']['ImageUrl'] = $value;
307
308
        return $this;
309
    }
310
}
311
312
/**
313
 * @method string getOrgName()
314
 * @method string getDataFormat()
315
 * @method array getURLList()
316
 * @method string getOrgId()
317
 * @method string getAsync()
318
 */
319
class DetectCovid19Cad extends Rpc
320
{
321
322
    /**
323
     * @param string $value
324
     *
325
     * @return $this
326
     */
327
    public function withOrgName($value)
328
    {
329
        $this->data['OrgName'] = $value;
330
        $this->options['form_params']['OrgName'] = $value;
331
332
        return $this;
333
    }
334
335
    /**
336
     * @param string $value
337
     *
338
     * @return $this
339
     */
340
    public function withDataFormat($value)
341
    {
342
        $this->data['DataFormat'] = $value;
343
        $this->options['form_params']['DataFormat'] = $value;
344
345
        return $this;
346
    }
347
348
    /**
349
     * @param array $uRLList
350
     *
351
     * @return $this
352
     */
353
	public function withURLList(array $uRLList)
354
	{
355
	    $this->data['URLList'] = $uRLList;
356
		foreach ($uRLList as $depth1 => $depth1Value) {
357
			if(isset($depth1Value['URL'])){
358
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
359
			}
360
		}
361
362
		return $this;
363
    }
364
365
    /**
366
     * @param string $value
367
     *
368
     * @return $this
369
     */
370
    public function withOrgId($value)
371
    {
372
        $this->data['OrgId'] = $value;
373
        $this->options['form_params']['OrgId'] = $value;
374
375
        return $this;
376
    }
377
378
    /**
379
     * @param string $value
380
     *
381
     * @return $this
382
     */
383
    public function withAsync($value)
384
    {
385
        $this->data['Async'] = $value;
386
        $this->options['form_params']['Async'] = $value;
387
388
        return $this;
389
    }
390
}
391
392
/**
393
 * @method string getOrgName()
394
 * @method string getTracerId()
395
 * @method string getDataFormat()
396
 * @method string getOrgId()
397
 * @method string getImageUrl()
398
 */
399
class DetectHipKeypointXRay extends Rpc
400
{
401
402
    /**
403
     * @param string $value
404
     *
405
     * @return $this
406
     */
407
    public function withOrgName($value)
408
    {
409
        $this->data['OrgName'] = $value;
410
        $this->options['form_params']['OrgName'] = $value;
411
412
        return $this;
413
    }
414
415
    /**
416
     * @param string $value
417
     *
418
     * @return $this
419
     */
420
    public function withTracerId($value)
421
    {
422
        $this->data['TracerId'] = $value;
423
        $this->options['form_params']['TracerId'] = $value;
424
425
        return $this;
426
    }
427
428
    /**
429
     * @param string $value
430
     *
431
     * @return $this
432
     */
433
    public function withDataFormat($value)
434
    {
435
        $this->data['DataFormat'] = $value;
436
        $this->options['form_params']['DataFormat'] = $value;
437
438
        return $this;
439
    }
440
441
    /**
442
     * @param string $value
443
     *
444
     * @return $this
445
     */
446
    public function withOrgId($value)
447
    {
448
        $this->data['OrgId'] = $value;
449
        $this->options['form_params']['OrgId'] = $value;
450
451
        return $this;
452
    }
453
454
    /**
455
     * @param string $value
456
     *
457
     * @return $this
458
     */
459
    public function withImageUrl($value)
460
    {
461
        $this->data['ImageUrl'] = $value;
462
        $this->options['form_params']['ImageUrl'] = $value;
463
464
        return $this;
465
    }
466
}
467
468
/**
469
 * @method string getOrgName()
470
 * @method string getTracerId()
471
 * @method string getDataFormat()
472
 * @method string getOrgId()
473
 * @method string getImageUrl()
474
 */
475
class DetectKneeKeypointXRay extends Rpc
476
{
477
478
    /**
479
     * @param string $value
480
     *
481
     * @return $this
482
     */
483
    public function withOrgName($value)
484
    {
485
        $this->data['OrgName'] = $value;
486
        $this->options['form_params']['OrgName'] = $value;
487
488
        return $this;
489
    }
490
491
    /**
492
     * @param string $value
493
     *
494
     * @return $this
495
     */
496
    public function withTracerId($value)
497
    {
498
        $this->data['TracerId'] = $value;
499
        $this->options['form_params']['TracerId'] = $value;
500
501
        return $this;
502
    }
503
504
    /**
505
     * @param string $value
506
     *
507
     * @return $this
508
     */
509
    public function withDataFormat($value)
510
    {
511
        $this->data['DataFormat'] = $value;
512
        $this->options['form_params']['DataFormat'] = $value;
513
514
        return $this;
515
    }
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withOrgId($value)
523
    {
524
        $this->data['OrgId'] = $value;
525
        $this->options['form_params']['OrgId'] = $value;
526
527
        return $this;
528
    }
529
530
    /**
531
     * @param string $value
532
     *
533
     * @return $this
534
     */
535
    public function withImageUrl($value)
536
    {
537
        $this->data['ImageUrl'] = $value;
538
        $this->options['form_params']['ImageUrl'] = $value;
539
540
        return $this;
541
    }
542
}
543
544
/**
545
 * @method string getOrgName()
546
 * @method string getDataFormat()
547
 * @method string getUrl()
548
 * @method string getOrgId()
549
 */
550
class DetectKneeXRay extends Rpc
551
{
552
553
    /**
554
     * @param string $value
555
     *
556
     * @return $this
557
     */
558
    public function withOrgName($value)
559
    {
560
        $this->data['OrgName'] = $value;
561
        $this->options['form_params']['OrgName'] = $value;
562
563
        return $this;
564
    }
565
566
    /**
567
     * @param string $value
568
     *
569
     * @return $this
570
     */
571
    public function withDataFormat($value)
572
    {
573
        $this->data['DataFormat'] = $value;
574
        $this->options['form_params']['DataFormat'] = $value;
575
576
        return $this;
577
    }
578
579
    /**
580
     * @param string $value
581
     *
582
     * @return $this
583
     */
584
    public function withUrl($value)
585
    {
586
        $this->data['Url'] = $value;
587
        $this->options['form_params']['Url'] = $value;
588
589
        return $this;
590
    }
591
592
    /**
593
     * @param string $value
594
     *
595
     * @return $this
596
     */
597
    public function withOrgId($value)
598
    {
599
        $this->data['OrgId'] = $value;
600
        $this->options['form_params']['OrgId'] = $value;
601
602
        return $this;
603
    }
604
}
605
606
/**
607
 * @method string getThreshold()
608
 * @method string getOrgName()
609
 * @method string getDataFormat()
610
 * @method array getURLList()
611
 * @method string getOrgId()
612
 * @method string getAsync()
613
 */
614
class DetectLungNodule extends Rpc
615
{
616
617
    /**
618
     * @param string $value
619
     *
620
     * @return $this
621
     */
622
    public function withThreshold($value)
623
    {
624
        $this->data['Threshold'] = $value;
625
        $this->options['form_params']['Threshold'] = $value;
626
627
        return $this;
628
    }
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withOrgName($value)
636
    {
637
        $this->data['OrgName'] = $value;
638
        $this->options['form_params']['OrgName'] = $value;
639
640
        return $this;
641
    }
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withDataFormat($value)
649
    {
650
        $this->data['DataFormat'] = $value;
651
        $this->options['form_params']['DataFormat'] = $value;
652
653
        return $this;
654
    }
655
656
    /**
657
     * @param array $uRLList
658
     *
659
     * @return $this
660
     */
661
	public function withURLList(array $uRLList)
662
	{
663
	    $this->data['URLList'] = $uRLList;
664
		foreach ($uRLList as $depth1 => $depth1Value) {
665
			if(isset($depth1Value['URL'])){
666
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
667
			}
668
		}
669
670
		return $this;
671
    }
672
673
    /**
674
     * @param string $value
675
     *
676
     * @return $this
677
     */
678
    public function withOrgId($value)
679
    {
680
        $this->data['OrgId'] = $value;
681
        $this->options['form_params']['OrgId'] = $value;
682
683
        return $this;
684
    }
685
686
    /**
687
     * @param string $value
688
     *
689
     * @return $this
690
     */
691
    public function withAsync($value)
692
    {
693
        $this->data['Async'] = $value;
694
        $this->options['form_params']['Async'] = $value;
695
696
        return $this;
697
    }
698
}
699
700
/**
701
 * @method string getDataSourceType()
702
 * @method array getURLList()
703
 * @method string getAsync()
704
 */
705
class DetectLymph extends Rpc
706
{
707
708
    /**
709
     * @param string $value
710
     *
711
     * @return $this
712
     */
713
    public function withDataSourceType($value)
714
    {
715
        $this->data['DataSourceType'] = $value;
716
        $this->options['form_params']['DataSourceType'] = $value;
717
718
        return $this;
719
    }
720
721
    /**
722
     * @param array $uRLList
723
     *
724
     * @return $this
725
     */
726
	public function withURLList(array $uRLList)
727
	{
728
	    $this->data['URLList'] = $uRLList;
729
		foreach ($uRLList as $depth1 => $depth1Value) {
730
			if(isset($depth1Value['URL'])){
731
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
732
			}
733
		}
734
735
		return $this;
736
    }
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withAsync($value)
744
    {
745
        $this->data['Async'] = $value;
746
        $this->options['form_params']['Async'] = $value;
747
748
        return $this;
749
    }
750
}
751
752
/**
753
 * @method string getDataSourceType()
754
 * @method array getURLList()
755
 * @method string getAsync()
756
 */
757
class DetectPanc extends Rpc
758
{
759
760
    /**
761
     * @param string $value
762
     *
763
     * @return $this
764
     */
765
    public function withDataSourceType($value)
766
    {
767
        $this->data['DataSourceType'] = $value;
768
        $this->options['form_params']['DataSourceType'] = $value;
769
770
        return $this;
771
    }
772
773
    /**
774
     * @param array $uRLList
775
     *
776
     * @return $this
777
     */
778
	public function withURLList(array $uRLList)
779
	{
780
	    $this->data['URLList'] = $uRLList;
781
		foreach ($uRLList as $depth1 => $depth1Value) {
782
			if(isset($depth1Value['URL'])){
783
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
784
			}
785
		}
786
787
		return $this;
788
    }
789
790
    /**
791
     * @param string $value
792
     *
793
     * @return $this
794
     */
795
    public function withAsync($value)
796
    {
797
        $this->data['Async'] = $value;
798
        $this->options['form_params']['Async'] = $value;
799
800
        return $this;
801
    }
802
}
803
804
/**
805
 * @method string getOrgName()
806
 * @method string getSourceType()
807
 * @method string getDataFormat()
808
 * @method array getURLList()
809
 * @method string getOrgId()
810
 * @method string getAsync()
811
 */
812
class DetectRibFracture extends Rpc
813
{
814
815
    /**
816
     * @param string $value
817
     *
818
     * @return $this
819
     */
820
    public function withOrgName($value)
821
    {
822
        $this->data['OrgName'] = $value;
823
        $this->options['form_params']['OrgName'] = $value;
824
825
        return $this;
826
    }
827
828
    /**
829
     * @param string $value
830
     *
831
     * @return $this
832
     */
833
    public function withSourceType($value)
834
    {
835
        $this->data['SourceType'] = $value;
836
        $this->options['form_params']['SourceType'] = $value;
837
838
        return $this;
839
    }
840
841
    /**
842
     * @param string $value
843
     *
844
     * @return $this
845
     */
846
    public function withDataFormat($value)
847
    {
848
        $this->data['DataFormat'] = $value;
849
        $this->options['form_params']['DataFormat'] = $value;
850
851
        return $this;
852
    }
853
854
    /**
855
     * @param array $uRLList
856
     *
857
     * @return $this
858
     */
859
	public function withURLList(array $uRLList)
860
	{
861
	    $this->data['URLList'] = $uRLList;
862
		foreach ($uRLList as $depth1 => $depth1Value) {
863
			if(isset($depth1Value['URL'])){
864
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
865
			}
866
		}
867
868
		return $this;
869
    }
870
871
    /**
872
     * @param string $value
873
     *
874
     * @return $this
875
     */
876
    public function withOrgId($value)
877
    {
878
        $this->data['OrgId'] = $value;
879
        $this->options['form_params']['OrgId'] = $value;
880
881
        return $this;
882
    }
883
884
    /**
885
     * @param string $value
886
     *
887
     * @return $this
888
     */
889
    public function withAsync($value)
890
    {
891
        $this->data['Async'] = $value;
892
        $this->options['form_params']['Async'] = $value;
893
894
        return $this;
895
    }
896
}
897
898
/**
899
 * @method string getOrgName()
900
 * @method string getUrl()
901
 * @method string getOrgId()
902
 */
903
class DetectSkinDisease extends Rpc
904
{
905
906
    /**
907
     * @param string $value
908
     *
909
     * @return $this
910
     */
911
    public function withOrgName($value)
912
    {
913
        $this->data['OrgName'] = $value;
914
        $this->options['form_params']['OrgName'] = $value;
915
916
        return $this;
917
    }
918
919
    /**
920
     * @param string $value
921
     *
922
     * @return $this
923
     */
924
    public function withUrl($value)
925
    {
926
        $this->data['Url'] = $value;
927
        $this->options['form_params']['Url'] = $value;
928
929
        return $this;
930
    }
931
932
    /**
933
     * @param string $value
934
     *
935
     * @return $this
936
     */
937
    public function withOrgId($value)
938
    {
939
        $this->data['OrgId'] = $value;
940
        $this->options['form_params']['OrgId'] = $value;
941
942
        return $this;
943
    }
944
}
945
946
/**
947
 * @method string getOrgName()
948
 * @method string getDataFormat()
949
 * @method array getURLList()
950
 * @method string getOrgId()
951
 */
952
class DetectSpineMRI extends Rpc
953
{
954
955
    /**
956
     * @param string $value
957
     *
958
     * @return $this
959
     */
960
    public function withOrgName($value)
961
    {
962
        $this->data['OrgName'] = $value;
963
        $this->options['form_params']['OrgName'] = $value;
964
965
        return $this;
966
    }
967
968
    /**
969
     * @param string $value
970
     *
971
     * @return $this
972
     */
973
    public function withDataFormat($value)
974
    {
975
        $this->data['DataFormat'] = $value;
976
        $this->options['form_params']['DataFormat'] = $value;
977
978
        return $this;
979
    }
980
981
    /**
982
     * @param array $uRLList
983
     *
984
     * @return $this
985
     */
986
	public function withURLList(array $uRLList)
987
	{
988
	    $this->data['URLList'] = $uRLList;
989
		foreach ($uRLList as $depth1 => $depth1Value) {
990
			if(isset($depth1Value['URL'])){
991
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
992
			}
993
		}
994
995
		return $this;
996
    }
997
998
    /**
999
     * @param string $value
1000
     *
1001
     * @return $this
1002
     */
1003
    public function withOrgId($value)
1004
    {
1005
        $this->data['OrgId'] = $value;
1006
        $this->options['form_params']['OrgId'] = $value;
1007
1008
        return $this;
1009
    }
1010
}
1011
1012
/**
1013
 * @method string getSessionId()
1014
 * @method string getFeedback()
1015
 */
1016
class FeedbackSession extends Rpc
1017
{
1018
1019
    /**
1020
     * @param string $value
1021
     *
1022
     * @return $this
1023
     */
1024
    public function withSessionId($value)
1025
    {
1026
        $this->data['SessionId'] = $value;
1027
        $this->options['form_params']['SessionId'] = $value;
1028
1029
        return $this;
1030
    }
1031
1032
    /**
1033
     * @param string $value
1034
     *
1035
     * @return $this
1036
     */
1037
    public function withFeedback($value)
1038
    {
1039
        $this->data['Feedback'] = $value;
1040
        $this->options['form_params']['Feedback'] = $value;
1041
1042
        return $this;
1043
    }
1044
}
1045
1046
/**
1047
 * @method string getJobId()
1048
 * @method string getAsync()
1049
 */
1050
class GetAsyncJobResult extends Rpc
1051
{
1052
1053
    /**
1054
     * @param string $value
1055
     *
1056
     * @return $this
1057
     */
1058
    public function withJobId($value)
1059
    {
1060
        $this->data['JobId'] = $value;
1061
        $this->options['form_params']['JobId'] = $value;
1062
1063
        return $this;
1064
    }
1065
1066
    /**
1067
     * @param string $value
1068
     *
1069
     * @return $this
1070
     */
1071
    public function withAsync($value)
1072
    {
1073
        $this->data['Async'] = $value;
1074
        $this->options['form_params']['Async'] = $value;
1075
1076
        return $this;
1077
    }
1078
}
1079
1080
/**
1081
 * @method string getDataSourceType()
1082
 * @method string getOrgName()
1083
 * @method array getReferenceList()
1084
 * @method string getDataFormat()
1085
 * @method string getOrgId()
1086
 * @method string getAsync()
1087
 * @method array getFloatingList()
1088
 */
1089
class RunCTRegistration extends Rpc
1090
{
1091
1092
    /**
1093
     * @param string $value
1094
     *
1095
     * @return $this
1096
     */
1097
    public function withDataSourceType($value)
1098
    {
1099
        $this->data['DataSourceType'] = $value;
1100
        $this->options['form_params']['DataSourceType'] = $value;
1101
1102
        return $this;
1103
    }
1104
1105
    /**
1106
     * @param string $value
1107
     *
1108
     * @return $this
1109
     */
1110
    public function withOrgName($value)
1111
    {
1112
        $this->data['OrgName'] = $value;
1113
        $this->options['form_params']['OrgName'] = $value;
1114
1115
        return $this;
1116
    }
1117
1118
    /**
1119
     * @param array $referenceList
1120
     *
1121
     * @return $this
1122
     */
1123
	public function withReferenceList(array $referenceList)
1124
	{
1125
	    $this->data['ReferenceList'] = $referenceList;
1126
		foreach ($referenceList as $depth1 => $depth1Value) {
1127
			if(isset($depth1Value['ReferenceURL'])){
1128
				$this->options['form_params']['ReferenceList.' . ($depth1 + 1) . '.ReferenceURL'] = $depth1Value['ReferenceURL'];
1129
			}
1130
		}
1131
1132
		return $this;
1133
    }
1134
1135
    /**
1136
     * @param string $value
1137
     *
1138
     * @return $this
1139
     */
1140
    public function withDataFormat($value)
1141
    {
1142
        $this->data['DataFormat'] = $value;
1143
        $this->options['form_params']['DataFormat'] = $value;
1144
1145
        return $this;
1146
    }
1147
1148
    /**
1149
     * @param string $value
1150
     *
1151
     * @return $this
1152
     */
1153
    public function withOrgId($value)
1154
    {
1155
        $this->data['OrgId'] = $value;
1156
        $this->options['form_params']['OrgId'] = $value;
1157
1158
        return $this;
1159
    }
1160
1161
    /**
1162
     * @param string $value
1163
     *
1164
     * @return $this
1165
     */
1166
    public function withAsync($value)
1167
    {
1168
        $this->data['Async'] = $value;
1169
        $this->options['form_params']['Async'] = $value;
1170
1171
        return $this;
1172
    }
1173
1174
    /**
1175
     * @param array $floatingList
1176
     *
1177
     * @return $this
1178
     */
1179
	public function withFloatingList(array $floatingList)
1180
	{
1181
	    $this->data['FloatingList'] = $floatingList;
1182
		foreach ($floatingList as $depth1 => $depth1Value) {
1183
			if(isset($depth1Value['FloatingURL'])){
1184
				$this->options['form_params']['FloatingList.' . ($depth1 + 1) . '.FloatingURL'] = $depth1Value['FloatingURL'];
1185
			}
1186
		}
1187
1188
		return $this;
1189
    }
1190
}
1191
1192
/**
1193
 * @method string getSessionId()
1194
 * @method string getOrgName()
1195
 * @method array getAnswerImageDataList()
1196
 * @method array getAnswerTextList()
1197
 * @method string getDepartment()
1198
 * @method array getAnswerImageURLList()
1199
 * @method string getQuestionType()
1200
 * @method string getOrgId()
1201
 */
1202
class RunMedQA extends Rpc
1203
{
1204
1205
    /**
1206
     * @param string $value
1207
     *
1208
     * @return $this
1209
     */
1210
    public function withSessionId($value)
1211
    {
1212
        $this->data['SessionId'] = $value;
1213
        $this->options['form_params']['SessionId'] = $value;
1214
1215
        return $this;
1216
    }
1217
1218
    /**
1219
     * @param string $value
1220
     *
1221
     * @return $this
1222
     */
1223
    public function withOrgName($value)
1224
    {
1225
        $this->data['OrgName'] = $value;
1226
        $this->options['form_params']['OrgName'] = $value;
1227
1228
        return $this;
1229
    }
1230
1231
    /**
1232
     * @param array $answerImageDataList
1233
     *
1234
     * @return $this
1235
     */
1236
	public function withAnswerImageDataList(array $answerImageDataList)
1237
	{
1238
	    $this->data['AnswerImageDataList'] = $answerImageDataList;
1239
		foreach ($answerImageDataList as $depth1 => $depth1Value) {
1240
			if(isset($depth1Value['AnswerImageData'])){
1241
				$this->options['form_params']['AnswerImageDataList.' . ($depth1 + 1) . '.AnswerImageData'] = $depth1Value['AnswerImageData'];
1242
			}
1243
		}
1244
1245
		return $this;
1246
    }
1247
1248
    /**
1249
     * @param array $answerTextList
1250
     *
1251
     * @return $this
1252
     */
1253
	public function withAnswerTextList(array $answerTextList)
1254
	{
1255
	    $this->data['AnswerTextList'] = $answerTextList;
1256
		foreach ($answerTextList as $depth1 => $depth1Value) {
1257
			if(isset($depth1Value['AnswerText'])){
1258
				$this->options['form_params']['AnswerTextList.' . ($depth1 + 1) . '.AnswerText'] = $depth1Value['AnswerText'];
1259
			}
1260
		}
1261
1262
		return $this;
1263
    }
1264
1265
    /**
1266
     * @param string $value
1267
     *
1268
     * @return $this
1269
     */
1270
    public function withDepartment($value)
1271
    {
1272
        $this->data['Department'] = $value;
1273
        $this->options['form_params']['Department'] = $value;
1274
1275
        return $this;
1276
    }
1277
1278
    /**
1279
     * @param array $answerImageURLList
1280
     *
1281
     * @return $this
1282
     */
1283
	public function withAnswerImageURLList(array $answerImageURLList)
1284
	{
1285
	    $this->data['AnswerImageURLList'] = $answerImageURLList;
1286
		foreach ($answerImageURLList as $depth1 => $depth1Value) {
1287
			if(isset($depth1Value['AnswerImageURL'])){
1288
				$this->options['form_params']['AnswerImageURLList.' . ($depth1 + 1) . '.AnswerImageURL'] = $depth1Value['AnswerImageURL'];
1289
			}
1290
		}
1291
1292
		return $this;
1293
    }
1294
1295
    /**
1296
     * @param string $value
1297
     *
1298
     * @return $this
1299
     */
1300
    public function withQuestionType($value)
1301
    {
1302
        $this->data['QuestionType'] = $value;
1303
        $this->options['form_params']['QuestionType'] = $value;
1304
1305
        return $this;
1306
    }
1307
1308
    /**
1309
     * @param string $value
1310
     *
1311
     * @return $this
1312
     */
1313
    public function withOrgId($value)
1314
    {
1315
        $this->data['OrgId'] = $value;
1316
        $this->options['form_params']['OrgId'] = $value;
1317
1318
        return $this;
1319
    }
1320
}
1321
1322
/**
1323
 * @method string getOrgName()
1324
 * @method string getMask()
1325
 * @method string getDataFormat()
1326
 * @method array getURLList()
1327
 * @method string getOrgId()
1328
 * @method string getVerbose()
1329
 * @method string getAsync()
1330
 */
1331
class ScreenChestCT extends Rpc
1332
{
1333
1334
    /**
1335
     * @param string $value
1336
     *
1337
     * @return $this
1338
     */
1339
    public function withOrgName($value)
1340
    {
1341
        $this->data['OrgName'] = $value;
1342
        $this->options['form_params']['OrgName'] = $value;
1343
1344
        return $this;
1345
    }
1346
1347
    /**
1348
     * @param string $value
1349
     *
1350
     * @return $this
1351
     */
1352
    public function withMask($value)
1353
    {
1354
        $this->data['Mask'] = $value;
1355
        $this->options['form_params']['Mask'] = $value;
1356
1357
        return $this;
1358
    }
1359
1360
    /**
1361
     * @param string $value
1362
     *
1363
     * @return $this
1364
     */
1365
    public function withDataFormat($value)
1366
    {
1367
        $this->data['DataFormat'] = $value;
1368
        $this->options['form_params']['DataFormat'] = $value;
1369
1370
        return $this;
1371
    }
1372
1373
    /**
1374
     * @param array $uRLList
1375
     *
1376
     * @return $this
1377
     */
1378
	public function withURLList(array $uRLList)
1379
	{
1380
	    $this->data['URLList'] = $uRLList;
1381
		foreach ($uRLList as $depth1 => $depth1Value) {
1382
			if(isset($depth1Value['URL'])){
1383
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
1384
			}
1385
		}
1386
1387
		return $this;
1388
    }
1389
1390
    /**
1391
     * @param string $value
1392
     *
1393
     * @return $this
1394
     */
1395
    public function withOrgId($value)
1396
    {
1397
        $this->data['OrgId'] = $value;
1398
        $this->options['form_params']['OrgId'] = $value;
1399
1400
        return $this;
1401
    }
1402
1403
    /**
1404
     * @param string $value
1405
     *
1406
     * @return $this
1407
     */
1408
    public function withVerbose($value)
1409
    {
1410
        $this->data['Verbose'] = $value;
1411
        $this->options['form_params']['Verbose'] = $value;
1412
1413
        return $this;
1414
    }
1415
1416
    /**
1417
     * @param string $value
1418
     *
1419
     * @return $this
1420
     */
1421
    public function withAsync($value)
1422
    {
1423
        $this->data['Async'] = $value;
1424
        $this->options['form_params']['Async'] = $value;
1425
1426
        return $this;
1427
    }
1428
}
1429
1430
/**
1431
 * @method string getOrgName()
1432
 * @method string getBodyPart()
1433
 * @method string getDataFormat()
1434
 * @method array getURLList()
1435
 * @method string getOrgId()
1436
 * @method string getAsync()
1437
 * @method string getContrast()
1438
 * @method array getMaskList()
1439
 */
1440
class SegmentOAR extends Rpc
1441
{
1442
1443
    /**
1444
     * @param string $value
1445
     *
1446
     * @return $this
1447
     */
1448
    public function withOrgName($value)
1449
    {
1450
        $this->data['OrgName'] = $value;
1451
        $this->options['form_params']['OrgName'] = $value;
1452
1453
        return $this;
1454
    }
1455
1456
    /**
1457
     * @param string $value
1458
     *
1459
     * @return $this
1460
     */
1461
    public function withBodyPart($value)
1462
    {
1463
        $this->data['BodyPart'] = $value;
1464
        $this->options['form_params']['BodyPart'] = $value;
1465
1466
        return $this;
1467
    }
1468
1469
    /**
1470
     * @param string $value
1471
     *
1472
     * @return $this
1473
     */
1474
    public function withDataFormat($value)
1475
    {
1476
        $this->data['DataFormat'] = $value;
1477
        $this->options['form_params']['DataFormat'] = $value;
1478
1479
        return $this;
1480
    }
1481
1482
    /**
1483
     * @param array $uRLList
1484
     *
1485
     * @return $this
1486
     */
1487
	public function withURLList(array $uRLList)
1488
	{
1489
	    $this->data['URLList'] = $uRLList;
1490
		foreach ($uRLList as $depth1 => $depth1Value) {
1491
			if(isset($depth1Value['URL'])){
1492
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
1493
			}
1494
		}
1495
1496
		return $this;
1497
    }
1498
1499
    /**
1500
     * @param string $value
1501
     *
1502
     * @return $this
1503
     */
1504
    public function withOrgId($value)
1505
    {
1506
        $this->data['OrgId'] = $value;
1507
        $this->options['form_params']['OrgId'] = $value;
1508
1509
        return $this;
1510
    }
1511
1512
    /**
1513
     * @param string $value
1514
     *
1515
     * @return $this
1516
     */
1517
    public function withAsync($value)
1518
    {
1519
        $this->data['Async'] = $value;
1520
        $this->options['form_params']['Async'] = $value;
1521
1522
        return $this;
1523
    }
1524
1525
    /**
1526
     * @param string $value
1527
     *
1528
     * @return $this
1529
     */
1530
    public function withContrast($value)
1531
    {
1532
        $this->data['Contrast'] = $value;
1533
        $this->options['form_params']['Contrast'] = $value;
1534
1535
        return $this;
1536
    }
1537
1538
    /**
1539
     * @param array $maskList
1540
     *
1541
     * @return $this
1542
     */
1543
	public function withMaskList(array $maskList)
1544
	{
1545
	    $this->data['MaskList'] = $maskList;
1546
		foreach ($maskList as $i => $iValue) {
1547
			$this->options['form_params']['MaskList.' . ($i + 1)] = $iValue;
1548
		}
1549
1550
		return $this;
1551
    }
1552
}
1553
1554
/**
1555
 * @method string getToLanguage()
1556
 * @method string getText()
1557
 * @method string getFromLanguage()
1558
 */
1559
class TranslateMed extends Rpc
1560
{
1561
1562
    /**
1563
     * @param string $value
1564
     *
1565
     * @return $this
1566
     */
1567
    public function withToLanguage($value)
1568
    {
1569
        $this->data['ToLanguage'] = $value;
1570
        $this->options['form_params']['ToLanguage'] = $value;
1571
1572
        return $this;
1573
    }
1574
1575
    /**
1576
     * @param string $value
1577
     *
1578
     * @return $this
1579
     */
1580
    public function withText($value)
1581
    {
1582
        $this->data['Text'] = $value;
1583
        $this->options['form_params']['Text'] = $value;
1584
1585
        return $this;
1586
    }
1587
1588
    /**
1589
     * @param string $value
1590
     *
1591
     * @return $this
1592
     */
1593
    public function withFromLanguage($value)
1594
    {
1595
        $this->data['FromLanguage'] = $value;
1596
        $this->options['form_params']['FromLanguage'] = $value;
1597
1598
        return $this;
1599
    }
1600
}
1601