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 ( 0aaf3a...dc07d9 )
by
unknown
05:41
created

DetectRibFracture::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 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 array getURLList()
510
 * @method string getOrgId()
511
 * @method string getAsync()
512
 * @method string getOrgName()
513
 */
514
class DetectLungNodule extends Rpc
515
{
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withDataFormat($value)
523
    {
524
        $this->data['DataFormat'] = $value;
525
        $this->options['form_params']['DataFormat'] = $value;
526
527
        return $this;
528
    }
529
530
    /**
531
     * @param array $uRLList
532
     *
533
     * @return $this
534
     */
535
	public function withURLList(array $uRLList)
536
	{
537
	    $this->data['URLList'] = $uRLList;
538
		foreach ($uRLList as $depth1 => $depth1Value) {
539
			if(isset($depth1Value['URL'])){
540
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
541
			}
542
		}
543
544
		return $this;
545
    }
546
547
    /**
548
     * @param string $value
549
     *
550
     * @return $this
551
     */
552
    public function withOrgId($value)
553
    {
554
        $this->data['OrgId'] = $value;
555
        $this->options['form_params']['OrgId'] = $value;
556
557
        return $this;
558
    }
559
560
    /**
561
     * @param string $value
562
     *
563
     * @return $this
564
     */
565
    public function withAsync($value)
566
    {
567
        $this->data['Async'] = $value;
568
        $this->options['form_params']['Async'] = $value;
569
570
        return $this;
571
    }
572
573
    /**
574
     * @param string $value
575
     *
576
     * @return $this
577
     */
578
    public function withOrgName($value)
579
    {
580
        $this->data['OrgName'] = $value;
581
        $this->options['form_params']['OrgName'] = $value;
582
583
        return $this;
584
    }
585
}
586
587
/**
588
 * @method string getDataFormat()
589
 * @method array getURLList()
590
 * @method string getOrgId()
591
 * @method string getAsync()
592
 * @method string getOrgName()
593
 * @method string getSourceType()
594
 */
595
class DetectRibFracture extends Rpc
596
{
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withDataFormat($value)
604
    {
605
        $this->data['DataFormat'] = $value;
606
        $this->options['form_params']['DataFormat'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param array $uRLList
613
     *
614
     * @return $this
615
     */
616
	public function withURLList(array $uRLList)
617
	{
618
	    $this->data['URLList'] = $uRLList;
619
		foreach ($uRLList as $depth1 => $depth1Value) {
620
			if(isset($depth1Value['URL'])){
621
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
622
			}
623
		}
624
625
		return $this;
626
    }
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withOrgId($value)
634
    {
635
        $this->data['OrgId'] = $value;
636
        $this->options['form_params']['OrgId'] = $value;
637
638
        return $this;
639
    }
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withAsync($value)
647
    {
648
        $this->data['Async'] = $value;
649
        $this->options['form_params']['Async'] = $value;
650
651
        return $this;
652
    }
653
654
    /**
655
     * @param string $value
656
     *
657
     * @return $this
658
     */
659
    public function withOrgName($value)
660
    {
661
        $this->data['OrgName'] = $value;
662
        $this->options['form_params']['OrgName'] = $value;
663
664
        return $this;
665
    }
666
667
    /**
668
     * @param string $value
669
     *
670
     * @return $this
671
     */
672
    public function withSourceType($value)
673
    {
674
        $this->data['SourceType'] = $value;
675
        $this->options['form_params']['SourceType'] = $value;
676
677
        return $this;
678
    }
679
}
680
681
/**
682
 * @method string getUrl()
683
 * @method string getOrgId()
684
 * @method string getOrgName()
685
 */
686
class DetectSkinDisease extends Rpc
687
{
688
689
    /**
690
     * @param string $value
691
     *
692
     * @return $this
693
     */
694
    public function withUrl($value)
695
    {
696
        $this->data['Url'] = $value;
697
        $this->options['form_params']['Url'] = $value;
698
699
        return $this;
700
    }
701
702
    /**
703
     * @param string $value
704
     *
705
     * @return $this
706
     */
707
    public function withOrgId($value)
708
    {
709
        $this->data['OrgId'] = $value;
710
        $this->options['form_params']['OrgId'] = $value;
711
712
        return $this;
713
    }
714
715
    /**
716
     * @param string $value
717
     *
718
     * @return $this
719
     */
720
    public function withOrgName($value)
721
    {
722
        $this->data['OrgName'] = $value;
723
        $this->options['form_params']['OrgName'] = $value;
724
725
        return $this;
726
    }
727
}
728
729
/**
730
 * @method string getDataFormat()
731
 * @method array getURLList()
732
 * @method string getOrgId()
733
 * @method string getOrgName()
734
 */
735
class DetectSpineMRI extends Rpc
736
{
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withDataFormat($value)
744
    {
745
        $this->data['DataFormat'] = $value;
746
        $this->options['form_params']['DataFormat'] = $value;
747
748
        return $this;
749
    }
750
751
    /**
752
     * @param array $uRLList
753
     *
754
     * @return $this
755
     */
756
	public function withURLList(array $uRLList)
757
	{
758
	    $this->data['URLList'] = $uRLList;
759
		foreach ($uRLList as $depth1 => $depth1Value) {
760
			if(isset($depth1Value['URL'])){
761
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
762
			}
763
		}
764
765
		return $this;
766
    }
767
768
    /**
769
     * @param string $value
770
     *
771
     * @return $this
772
     */
773
    public function withOrgId($value)
774
    {
775
        $this->data['OrgId'] = $value;
776
        $this->options['form_params']['OrgId'] = $value;
777
778
        return $this;
779
    }
780
781
    /**
782
     * @param string $value
783
     *
784
     * @return $this
785
     */
786
    public function withOrgName($value)
787
    {
788
        $this->data['OrgName'] = $value;
789
        $this->options['form_params']['OrgName'] = $value;
790
791
        return $this;
792
    }
793
}
794
795
/**
796
 * @method string getAsync()
797
 * @method string getJobId()
798
 */
799
class GetAsyncJobResult extends Rpc
800
{
801
802
    /**
803
     * @param string $value
804
     *
805
     * @return $this
806
     */
807
    public function withAsync($value)
808
    {
809
        $this->data['Async'] = $value;
810
        $this->options['form_params']['Async'] = $value;
811
812
        return $this;
813
    }
814
815
    /**
816
     * @param string $value
817
     *
818
     * @return $this
819
     */
820
    public function withJobId($value)
821
    {
822
        $this->data['JobId'] = $value;
823
        $this->options['form_params']['JobId'] = $value;
824
825
        return $this;
826
    }
827
}
828
829
/**
830
 * @method string getDataSourceType()
831
 * @method string getOrgName()
832
 * @method array getReferenceList()
833
 * @method string getDataFormat()
834
 * @method string getOrgId()
835
 * @method string getAsync()
836
 * @method array getFloatingList()
837
 */
838
class RunCTRegistration extends Rpc
839
{
840
841
    /**
842
     * @param string $value
843
     *
844
     * @return $this
845
     */
846
    public function withDataSourceType($value)
847
    {
848
        $this->data['DataSourceType'] = $value;
849
        $this->options['form_params']['DataSourceType'] = $value;
850
851
        return $this;
852
    }
853
854
    /**
855
     * @param string $value
856
     *
857
     * @return $this
858
     */
859
    public function withOrgName($value)
860
    {
861
        $this->data['OrgName'] = $value;
862
        $this->options['form_params']['OrgName'] = $value;
863
864
        return $this;
865
    }
866
867
    /**
868
     * @param array $referenceList
869
     *
870
     * @return $this
871
     */
872
	public function withReferenceList(array $referenceList)
873
	{
874
	    $this->data['ReferenceList'] = $referenceList;
875
		foreach ($referenceList as $depth1 => $depth1Value) {
876
			if(isset($depth1Value['ReferenceURL'])){
877
				$this->options['form_params']['ReferenceList.' . ($depth1 + 1) . '.ReferenceURL'] = $depth1Value['ReferenceURL'];
878
			}
879
		}
880
881
		return $this;
882
    }
883
884
    /**
885
     * @param string $value
886
     *
887
     * @return $this
888
     */
889
    public function withDataFormat($value)
890
    {
891
        $this->data['DataFormat'] = $value;
892
        $this->options['form_params']['DataFormat'] = $value;
893
894
        return $this;
895
    }
896
897
    /**
898
     * @param string $value
899
     *
900
     * @return $this
901
     */
902
    public function withOrgId($value)
903
    {
904
        $this->data['OrgId'] = $value;
905
        $this->options['form_params']['OrgId'] = $value;
906
907
        return $this;
908
    }
909
910
    /**
911
     * @param string $value
912
     *
913
     * @return $this
914
     */
915
    public function withAsync($value)
916
    {
917
        $this->data['Async'] = $value;
918
        $this->options['form_params']['Async'] = $value;
919
920
        return $this;
921
    }
922
923
    /**
924
     * @param array $floatingList
925
     *
926
     * @return $this
927
     */
928
	public function withFloatingList(array $floatingList)
929
	{
930
	    $this->data['FloatingList'] = $floatingList;
931
		foreach ($floatingList as $depth1 => $depth1Value) {
932
			if(isset($depth1Value['FloatingURL'])){
933
				$this->options['form_params']['FloatingList.' . ($depth1 + 1) . '.FloatingURL'] = $depth1Value['FloatingURL'];
934
			}
935
		}
936
937
		return $this;
938
    }
939
}
940
941
/**
942
 * @method string getQuestion()
943
 * @method string getOrgId()
944
 * @method string getOrgName()
945
 */
946
class RunMedQA extends Rpc
947
{
948
949
    /**
950
     * @param string $value
951
     *
952
     * @return $this
953
     */
954
    public function withQuestion($value)
955
    {
956
        $this->data['Question'] = $value;
957
        $this->options['form_params']['Question'] = $value;
958
959
        return $this;
960
    }
961
962
    /**
963
     * @param string $value
964
     *
965
     * @return $this
966
     */
967
    public function withOrgId($value)
968
    {
969
        $this->data['OrgId'] = $value;
970
        $this->options['form_params']['OrgId'] = $value;
971
972
        return $this;
973
    }
974
975
    /**
976
     * @param string $value
977
     *
978
     * @return $this
979
     */
980
    public function withOrgName($value)
981
    {
982
        $this->data['OrgName'] = $value;
983
        $this->options['form_params']['OrgName'] = $value;
984
985
        return $this;
986
    }
987
}
988
989
/**
990
 * @method string getDataFormat()
991
 * @method array getURLList()
992
 * @method string getOrgId()
993
 * @method string getAsync()
994
 * @method string getOrgName()
995
 */
996
class ScreenChestCT extends Rpc
997
{
998
999
    /**
1000
     * @param string $value
1001
     *
1002
     * @return $this
1003
     */
1004
    public function withDataFormat($value)
1005
    {
1006
        $this->data['DataFormat'] = $value;
1007
        $this->options['form_params']['DataFormat'] = $value;
1008
1009
        return $this;
1010
    }
1011
1012
    /**
1013
     * @param array $uRLList
1014
     *
1015
     * @return $this
1016
     */
1017
	public function withURLList(array $uRLList)
1018
	{
1019
	    $this->data['URLList'] = $uRLList;
1020
		foreach ($uRLList as $depth1 => $depth1Value) {
1021
			if(isset($depth1Value['URL'])){
1022
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
1023
			}
1024
		}
1025
1026
		return $this;
1027
    }
1028
1029
    /**
1030
     * @param string $value
1031
     *
1032
     * @return $this
1033
     */
1034
    public function withOrgId($value)
1035
    {
1036
        $this->data['OrgId'] = $value;
1037
        $this->options['form_params']['OrgId'] = $value;
1038
1039
        return $this;
1040
    }
1041
1042
    /**
1043
     * @param string $value
1044
     *
1045
     * @return $this
1046
     */
1047
    public function withAsync($value)
1048
    {
1049
        $this->data['Async'] = $value;
1050
        $this->options['form_params']['Async'] = $value;
1051
1052
        return $this;
1053
    }
1054
1055
    /**
1056
     * @param string $value
1057
     *
1058
     * @return $this
1059
     */
1060
    public function withOrgName($value)
1061
    {
1062
        $this->data['OrgName'] = $value;
1063
        $this->options['form_params']['OrgName'] = $value;
1064
1065
        return $this;
1066
    }
1067
}
1068
1069
/**
1070
 * @method string getFromLanguage()
1071
 * @method string getToLanguage()
1072
 * @method string getText()
1073
 */
1074
class TranslateMed extends Rpc
1075
{
1076
1077
    /**
1078
     * @param string $value
1079
     *
1080
     * @return $this
1081
     */
1082
    public function withFromLanguage($value)
1083
    {
1084
        $this->data['FromLanguage'] = $value;
1085
        $this->options['form_params']['FromLanguage'] = $value;
1086
1087
        return $this;
1088
    }
1089
1090
    /**
1091
     * @param string $value
1092
     *
1093
     * @return $this
1094
     */
1095
    public function withToLanguage($value)
1096
    {
1097
        $this->data['ToLanguage'] = $value;
1098
        $this->options['form_params']['ToLanguage'] = $value;
1099
1100
        return $this;
1101
    }
1102
1103
    /**
1104
     * @param string $value
1105
     *
1106
     * @return $this
1107
     */
1108
    public function withText($value)
1109
    {
1110
        $this->data['Text'] = $value;
1111
        $this->options['form_params']['Text'] = $value;
1112
1113
        return $this;
1114
    }
1115
}
1116