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 ( e25d89...e3edb5 )
by
unknown
07:06
created

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