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 ( 43bfe0...699f16 )
by
unknown
06:22
created

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