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 ( 0d47b9...b660ae )
by
unknown
06:12
created

DetectLungNodule::withThreshold()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
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 getDataFormat()
295
 * @method string getOrgId()
296
 * @method string getOrgName()
297
 * @method string getImageUrl()
298
 * @method string getTracerId()
299
 */
300
class DetectHipKeypointXRay extends Rpc
301
{
302
303
    /**
304
     * @param string $value
305
     *
306
     * @return $this
307
     */
308
    public function withDataFormat($value)
309
    {
310
        $this->data['DataFormat'] = $value;
311
        $this->options['form_params']['DataFormat'] = $value;
312
313
        return $this;
314
    }
315
316
    /**
317
     * @param string $value
318
     *
319
     * @return $this
320
     */
321
    public function withOrgId($value)
322
    {
323
        $this->data['OrgId'] = $value;
324
        $this->options['form_params']['OrgId'] = $value;
325
326
        return $this;
327
    }
328
329
    /**
330
     * @param string $value
331
     *
332
     * @return $this
333
     */
334
    public function withOrgName($value)
335
    {
336
        $this->data['OrgName'] = $value;
337
        $this->options['form_params']['OrgName'] = $value;
338
339
        return $this;
340
    }
341
342
    /**
343
     * @param string $value
344
     *
345
     * @return $this
346
     */
347
    public function withImageUrl($value)
348
    {
349
        $this->data['ImageUrl'] = $value;
350
        $this->options['form_params']['ImageUrl'] = $value;
351
352
        return $this;
353
    }
354
355
    /**
356
     * @param string $value
357
     *
358
     * @return $this
359
     */
360
    public function withTracerId($value)
361
    {
362
        $this->data['TracerId'] = $value;
363
        $this->options['form_params']['TracerId'] = $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 getDataFormat()
509
 * @method string getThreshold()
510
 * @method array getURLList()
511
 * @method string getOrgId()
512
 * @method string getAsync()
513
 * @method string getOrgName()
514
 */
515
class DetectLungNodule extends Rpc
516
{
517
518
    /**
519
     * @param string $value
520
     *
521
     * @return $this
522
     */
523
    public function withDataFormat($value)
524
    {
525
        $this->data['DataFormat'] = $value;
526
        $this->options['form_params']['DataFormat'] = $value;
527
528
        return $this;
529
    }
530
531
    /**
532
     * @param string $value
533
     *
534
     * @return $this
535
     */
536
    public function withThreshold($value)
537
    {
538
        $this->data['Threshold'] = $value;
539
        $this->options['form_params']['Threshold'] = $value;
540
541
        return $this;
542
    }
543
544
    /**
545
     * @param array $uRLList
546
     *
547
     * @return $this
548
     */
549
	public function withURLList(array $uRLList)
550
	{
551
	    $this->data['URLList'] = $uRLList;
552
		foreach ($uRLList as $depth1 => $depth1Value) {
553
			if(isset($depth1Value['URL'])){
554
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
555
			}
556
		}
557
558
		return $this;
559
    }
560
561
    /**
562
     * @param string $value
563
     *
564
     * @return $this
565
     */
566
    public function withOrgId($value)
567
    {
568
        $this->data['OrgId'] = $value;
569
        $this->options['form_params']['OrgId'] = $value;
570
571
        return $this;
572
    }
573
574
    /**
575
     * @param string $value
576
     *
577
     * @return $this
578
     */
579
    public function withAsync($value)
580
    {
581
        $this->data['Async'] = $value;
582
        $this->options['form_params']['Async'] = $value;
583
584
        return $this;
585
    }
586
587
    /**
588
     * @param string $value
589
     *
590
     * @return $this
591
     */
592
    public function withOrgName($value)
593
    {
594
        $this->data['OrgName'] = $value;
595
        $this->options['form_params']['OrgName'] = $value;
596
597
        return $this;
598
    }
599
}
600
601
/**
602
 * @method string getDataFormat()
603
 * @method array getURLList()
604
 * @method string getOrgId()
605
 * @method string getAsync()
606
 * @method string getOrgName()
607
 * @method string getSourceType()
608
 */
609
class DetectRibFracture extends Rpc
610
{
611
612
    /**
613
     * @param string $value
614
     *
615
     * @return $this
616
     */
617
    public function withDataFormat($value)
618
    {
619
        $this->data['DataFormat'] = $value;
620
        $this->options['form_params']['DataFormat'] = $value;
621
622
        return $this;
623
    }
624
625
    /**
626
     * @param array $uRLList
627
     *
628
     * @return $this
629
     */
630
	public function withURLList(array $uRLList)
631
	{
632
	    $this->data['URLList'] = $uRLList;
633
		foreach ($uRLList as $depth1 => $depth1Value) {
634
			if(isset($depth1Value['URL'])){
635
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
636
			}
637
		}
638
639
		return $this;
640
    }
641
642
    /**
643
     * @param string $value
644
     *
645
     * @return $this
646
     */
647
    public function withOrgId($value)
648
    {
649
        $this->data['OrgId'] = $value;
650
        $this->options['form_params']['OrgId'] = $value;
651
652
        return $this;
653
    }
654
655
    /**
656
     * @param string $value
657
     *
658
     * @return $this
659
     */
660
    public function withAsync($value)
661
    {
662
        $this->data['Async'] = $value;
663
        $this->options['form_params']['Async'] = $value;
664
665
        return $this;
666
    }
667
668
    /**
669
     * @param string $value
670
     *
671
     * @return $this
672
     */
673
    public function withOrgName($value)
674
    {
675
        $this->data['OrgName'] = $value;
676
        $this->options['form_params']['OrgName'] = $value;
677
678
        return $this;
679
    }
680
681
    /**
682
     * @param string $value
683
     *
684
     * @return $this
685
     */
686
    public function withSourceType($value)
687
    {
688
        $this->data['SourceType'] = $value;
689
        $this->options['form_params']['SourceType'] = $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 getQuestion()
957
 * @method string getOrgId()
958
 * @method string getOrgName()
959
 */
960
class RunMedQA extends Rpc
961
{
962
963
    /**
964
     * @param string $value
965
     *
966
     * @return $this
967
     */
968
    public function withQuestion($value)
969
    {
970
        $this->data['Question'] = $value;
971
        $this->options['form_params']['Question'] = $value;
972
973
        return $this;
974
    }
975
976
    /**
977
     * @param string $value
978
     *
979
     * @return $this
980
     */
981
    public function withOrgId($value)
982
    {
983
        $this->data['OrgId'] = $value;
984
        $this->options['form_params']['OrgId'] = $value;
985
986
        return $this;
987
    }
988
989
    /**
990
     * @param string $value
991
     *
992
     * @return $this
993
     */
994
    public function withOrgName($value)
995
    {
996
        $this->data['OrgName'] = $value;
997
        $this->options['form_params']['OrgName'] = $value;
998
999
        return $this;
1000
    }
1001
}
1002
1003
/**
1004
 * @method string getDataFormat()
1005
 * @method array getURLList()
1006
 * @method string getOrgId()
1007
 * @method string getAsync()
1008
 * @method string getOrgName()
1009
 */
1010
class ScreenChestCT extends Rpc
1011
{
1012
1013
    /**
1014
     * @param string $value
1015
     *
1016
     * @return $this
1017
     */
1018
    public function withDataFormat($value)
1019
    {
1020
        $this->data['DataFormat'] = $value;
1021
        $this->options['form_params']['DataFormat'] = $value;
1022
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * @param array $uRLList
1028
     *
1029
     * @return $this
1030
     */
1031
	public function withURLList(array $uRLList)
1032
	{
1033
	    $this->data['URLList'] = $uRLList;
1034
		foreach ($uRLList as $depth1 => $depth1Value) {
1035
			if(isset($depth1Value['URL'])){
1036
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
1037
			}
1038
		}
1039
1040
		return $this;
1041
    }
1042
1043
    /**
1044
     * @param string $value
1045
     *
1046
     * @return $this
1047
     */
1048
    public function withOrgId($value)
1049
    {
1050
        $this->data['OrgId'] = $value;
1051
        $this->options['form_params']['OrgId'] = $value;
1052
1053
        return $this;
1054
    }
1055
1056
    /**
1057
     * @param string $value
1058
     *
1059
     * @return $this
1060
     */
1061
    public function withAsync($value)
1062
    {
1063
        $this->data['Async'] = $value;
1064
        $this->options['form_params']['Async'] = $value;
1065
1066
        return $this;
1067
    }
1068
1069
    /**
1070
     * @param string $value
1071
     *
1072
     * @return $this
1073
     */
1074
    public function withOrgName($value)
1075
    {
1076
        $this->data['OrgName'] = $value;
1077
        $this->options['form_params']['OrgName'] = $value;
1078
1079
        return $this;
1080
    }
1081
}
1082
1083
/**
1084
 * @method string getFromLanguage()
1085
 * @method string getToLanguage()
1086
 * @method string getText()
1087
 */
1088
class TranslateMed extends Rpc
1089
{
1090
1091
    /**
1092
     * @param string $value
1093
     *
1094
     * @return $this
1095
     */
1096
    public function withFromLanguage($value)
1097
    {
1098
        $this->data['FromLanguage'] = $value;
1099
        $this->options['form_params']['FromLanguage'] = $value;
1100
1101
        return $this;
1102
    }
1103
1104
    /**
1105
     * @param string $value
1106
     *
1107
     * @return $this
1108
     */
1109
    public function withToLanguage($value)
1110
    {
1111
        $this->data['ToLanguage'] = $value;
1112
        $this->options['form_params']['ToLanguage'] = $value;
1113
1114
        return $this;
1115
    }
1116
1117
    /**
1118
     * @param string $value
1119
     *
1120
     * @return $this
1121
     */
1122
    public function withText($value)
1123
    {
1124
        $this->data['Text'] = $value;
1125
        $this->options['form_params']['Text'] = $value;
1126
1127
        return $this;
1128
    }
1129
}
1130