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 ( 5be808...aa8360 )
by
unknown
06:11
created

ScreenEC   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 5
eloc 12
dl 0
loc 44
rs 10
c 0
b 0
f 0

3 Methods

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