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 ( 6fba68...cf70cc )
by
unknown
07:10
created

TargetVolumeSegment::withTargetVolumeType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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