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 ( b4050d...367f79 )
by
unknown
07:03
created

AnalyzeChestVessel::withURLList()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

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