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 ( e3edb5...4a4f96 )
by
unknown
06:57
created

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