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 ( bdba8c...0728a3 )
by
unknown
06:17
created

BeautifyBody::withOriginalHeight()   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\Facebody\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddBodyTrace addBodyTrace(array $options = [])
9
 * @method AddFace addFace(array $options = [])
10
 * @method AddFaceEntity addFaceEntity(array $options = [])
11
 * @method AddFaceImageTemplate addFaceImageTemplate(array $options = [])
12
 * @method BeautifyBody beautifyBody(array $options = [])
13
 * @method BlurFace blurFace(array $options = [])
14
 * @method BodyPosture bodyPosture(array $options = [])
15
 * @method CompareFace compareFace(array $options = [])
16
 * @method CountCrowd countCrowd(array $options = [])
17
 * @method CreateBodyDb createBodyDb(array $options = [])
18
 * @method CreateBodyPerson createBodyPerson(array $options = [])
19
 * @method CreateFaceDb createFaceDb(array $options = [])
20
 * @method DeleteBodyDb deleteBodyDb(array $options = [])
21
 * @method DeleteBodyPerson deleteBodyPerson(array $options = [])
22
 * @method DeleteFace deleteFace(array $options = [])
23
 * @method DeleteFaceDb deleteFaceDb(array $options = [])
24
 * @method DeleteFaceEntity deleteFaceEntity(array $options = [])
25
 * @method DeleteFaceImageTemplate deleteFaceImageTemplate(array $options = [])
26
 * @method DetectBodyCount detectBodyCount(array $options = [])
27
 * @method DetectCelebrity detectCelebrity(array $options = [])
28
 * @method DetectChefCap detectChefCap(array $options = [])
29
 * @method DetectFace detectFace(array $options = [])
30
 * @method DetectIPCPedestrian detectIPCPedestrian(array $options = [])
31
 * @method DetectLivingFace detectLivingFace(array $options = [])
32
 * @method DetectMask detectMask(array $options = [])
33
 * @method DetectPedestrian detectPedestrian(array $options = [])
34
 * @method DetectPedestrianIntrusion detectPedestrianIntrusion(array $options = [])
35
 * @method DetectVideoLivingFace detectVideoLivingFace(array $options = [])
36
 * @method EnhanceFace enhanceFace(array $options = [])
37
 * @method ExtractFingerPrint extractFingerPrint(array $options = [])
38
 * @method ExtractPedestrianFeatureAttr extractPedestrianFeatureAttr(array $options = [])
39
 * @method ExtractPedestrianFeatureAttribute extractPedestrianFeatureAttribute(array $options = [])
40
 * @method FaceBeauty faceBeauty(array $options = [])
41
 * @method FaceFilter faceFilter(array $options = [])
42
 * @method FaceMakeup faceMakeup(array $options = [])
43
 * @method FaceTidyup faceTidyup(array $options = [])
44
 * @method GenerateHumanAnimeStyle generateHumanAnimeStyle(array $options = [])
45
 * @method GenerateHumanSketchStyle generateHumanSketchStyle(array $options = [])
46
 * @method GenRealPersonVerificationToken genRealPersonVerificationToken(array $options = [])
47
 * @method GetBodyPerson getBodyPerson(array $options = [])
48
 * @method GetFaceEntity getFaceEntity(array $options = [])
49
 * @method GetRealPersonVerificationResult getRealPersonVerificationResult(array $options = [])
50
 * @method HandPosture handPosture(array $options = [])
51
 * @method ListBodyDbs listBodyDbs(array $options = [])
52
 * @method ListBodyPerson listBodyPerson(array $options = [])
53
 * @method ListFaceDbs listFaceDbs(array $options = [])
54
 * @method ListFaceEntities listFaceEntities(array $options = [])
55
 * @method MergeImageFace mergeImageFace(array $options = [])
56
 * @method MonitorExamination monitorExamination(array $options = [])
57
 * @method PedestrianDetectAttribute pedestrianDetectAttribute(array $options = [])
58
 * @method QueryFaceImageTemplate queryFaceImageTemplate(array $options = [])
59
 * @method RecognizeAction recognizeAction(array $options = [])
60
 * @method RecognizeExpression recognizeExpression(array $options = [])
61
 * @method RecognizeFace recognizeFace(array $options = [])
62
 * @method RecognizeHandGesture recognizeHandGesture(array $options = [])
63
 * @method RecognizePublicFace recognizePublicFace(array $options = [])
64
 * @method SearchBodyTrace searchBodyTrace(array $options = [])
65
 * @method SearchFace searchFace(array $options = [])
66
 * @method SwapFacialFeatures swapFacialFeatures(array $options = [])
67
 * @method UpdateFaceEntity updateFaceEntity(array $options = [])
68
 * @method VerifyFaceMask verifyFaceMask(array $options = [])
69
 */
70
class FacebodyApiResolver extends ApiResolver
71
{
72
}
73
74
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
75
{
76
    /** @var string */
77
    public $product = 'facebody';
78
79
    /** @var string */
80
    public $version = '2019-12-30';
81
82
    /** @var string */
83
    public $method = 'POST';
84
85
    /** @var string */
86
    public $serviceCode = 'facebody';
87
}
88
89
/**
90
 * @method string getExtraData()
91
 * @method string getPersonId()
92
 * @method string getImages()
93
 * @method string getDbId()
94
 */
95
class AddBodyTrace extends Rpc
96
{
97
98
    /**
99
     * @param string $value
100
     *
101
     * @return $this
102
     */
103
    public function withExtraData($value)
104
    {
105
        $this->data['ExtraData'] = $value;
106
        $this->options['form_params']['ExtraData'] = $value;
107
108
        return $this;
109
    }
110
111
    /**
112
     * @param string $value
113
     *
114
     * @return $this
115
     */
116
    public function withPersonId($value)
117
    {
118
        $this->data['PersonId'] = $value;
119
        $this->options['form_params']['PersonId'] = $value;
120
121
        return $this;
122
    }
123
124
    /**
125
     * @param string $value
126
     *
127
     * @return $this
128
     */
129
    public function withImages($value)
130
    {
131
        $this->data['Images'] = $value;
132
        $this->options['form_params']['Images'] = $value;
133
134
        return $this;
135
    }
136
137
    /**
138
     * @param string $value
139
     *
140
     * @return $this
141
     */
142
    public function withDbId($value)
143
    {
144
        $this->data['DbId'] = $value;
145
        $this->options['form_params']['DbId'] = $value;
146
147
        return $this;
148
    }
149
}
150
151
/**
152
 * @method string getEntityId()
153
 * @method string getExtraData()
154
 * @method string getDbName()
155
 * @method string getImageUrl()
156
 */
157
class AddFace extends Rpc
158
{
159
160
    /**
161
     * @param string $value
162
     *
163
     * @return $this
164
     */
165
    public function withEntityId($value)
166
    {
167
        $this->data['EntityId'] = $value;
168
        $this->options['form_params']['EntityId'] = $value;
169
170
        return $this;
171
    }
172
173
    /**
174
     * @param string $value
175
     *
176
     * @return $this
177
     */
178
    public function withExtraData($value)
179
    {
180
        $this->data['ExtraData'] = $value;
181
        $this->options['form_params']['ExtraData'] = $value;
182
183
        return $this;
184
    }
185
186
    /**
187
     * @param string $value
188
     *
189
     * @return $this
190
     */
191
    public function withDbName($value)
192
    {
193
        $this->data['DbName'] = $value;
194
        $this->options['form_params']['DbName'] = $value;
195
196
        return $this;
197
    }
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withImageUrl($value)
205
    {
206
        $this->data['ImageUrl'] = $value;
207
        $this->options['form_params']['ImageUrl'] = $value;
208
209
        return $this;
210
    }
211
}
212
213
/**
214
 * @method string getEntityId()
215
 * @method string getLabels()
216
 * @method string getDbName()
217
 */
218
class AddFaceEntity extends Rpc
219
{
220
221
    /**
222
     * @param string $value
223
     *
224
     * @return $this
225
     */
226
    public function withEntityId($value)
227
    {
228
        $this->data['EntityId'] = $value;
229
        $this->options['form_params']['EntityId'] = $value;
230
231
        return $this;
232
    }
233
234
    /**
235
     * @param string $value
236
     *
237
     * @return $this
238
     */
239
    public function withLabels($value)
240
    {
241
        $this->data['Labels'] = $value;
242
        $this->options['form_params']['Labels'] = $value;
243
244
        return $this;
245
    }
246
247
    /**
248
     * @param string $value
249
     *
250
     * @return $this
251
     */
252
    public function withDbName($value)
253
    {
254
        $this->data['DbName'] = $value;
255
        $this->options['form_params']['DbName'] = $value;
256
257
        return $this;
258
    }
259
}
260
261
/**
262
 * @method string getUserId()
263
 * @method string getImageURL()
264
 */
265
class AddFaceImageTemplate extends Rpc
266
{
267
268
    /**
269
     * @param string $value
270
     *
271
     * @return $this
272
     */
273
    public function withUserId($value)
274
    {
275
        $this->data['UserId'] = $value;
276
        $this->options['form_params']['UserId'] = $value;
277
278
        return $this;
279
    }
280
281
    /**
282
     * @param string $value
283
     *
284
     * @return $this
285
     */
286
    public function withImageURL($value)
287
    {
288
        $this->data['ImageURL'] = $value;
289
        $this->options['form_params']['ImageURL'] = $value;
290
291
        return $this;
292
    }
293
}
294
295
/**
296
 * @method string getBodyBoxes()
297
 * @method string getLengthenDegree()
298
 * @method string getMaleLiquifyDegree()
299
 * @method string getOriginalWidth()
300
 * @method string getFaceList()
301
 * @method string getAgeRange()
302
 * @method string getCustom()
303
 * @method string getOriginalHeight()
304
 * @method string getImageURL()
305
 * @method string getFemaleLiquifyDegree()
306
 * @method string getPoseList()
307
 */
308
class BeautifyBody extends Rpc
309
{
310
311
    /**
312
     * @param string $value
313
     *
314
     * @return $this
315
     */
316
    public function withBodyBoxes($value)
317
    {
318
        $this->data['BodyBoxes'] = $value;
319
        $this->options['form_params']['BodyBoxes'] = $value;
320
321
        return $this;
322
    }
323
324
    /**
325
     * @param string $value
326
     *
327
     * @return $this
328
     */
329
    public function withLengthenDegree($value)
330
    {
331
        $this->data['LengthenDegree'] = $value;
332
        $this->options['form_params']['LengthenDegree'] = $value;
333
334
        return $this;
335
    }
336
337
    /**
338
     * @param string $value
339
     *
340
     * @return $this
341
     */
342
    public function withMaleLiquifyDegree($value)
343
    {
344
        $this->data['MaleLiquifyDegree'] = $value;
345
        $this->options['form_params']['MaleLiquifyDegree'] = $value;
346
347
        return $this;
348
    }
349
350
    /**
351
     * @param string $value
352
     *
353
     * @return $this
354
     */
355
    public function withOriginalWidth($value)
356
    {
357
        $this->data['OriginalWidth'] = $value;
358
        $this->options['form_params']['OriginalWidth'] = $value;
359
360
        return $this;
361
    }
362
363
    /**
364
     * @param string $value
365
     *
366
     * @return $this
367
     */
368
    public function withFaceList($value)
369
    {
370
        $this->data['FaceList'] = $value;
371
        $this->options['form_params']['FaceList'] = $value;
372
373
        return $this;
374
    }
375
376
    /**
377
     * @param string $value
378
     *
379
     * @return $this
380
     */
381
    public function withAgeRange($value)
382
    {
383
        $this->data['AgeRange'] = $value;
384
        $this->options['form_params']['AgeRange'] = $value;
385
386
        return $this;
387
    }
388
389
    /**
390
     * @param string $value
391
     *
392
     * @return $this
393
     */
394
    public function withCustom($value)
395
    {
396
        $this->data['Custom'] = $value;
397
        $this->options['form_params']['Custom'] = $value;
398
399
        return $this;
400
    }
401
402
    /**
403
     * @param string $value
404
     *
405
     * @return $this
406
     */
407
    public function withOriginalHeight($value)
408
    {
409
        $this->data['OriginalHeight'] = $value;
410
        $this->options['form_params']['OriginalHeight'] = $value;
411
412
        return $this;
413
    }
414
415
    /**
416
     * @param string $value
417
     *
418
     * @return $this
419
     */
420
    public function withImageURL($value)
421
    {
422
        $this->data['ImageURL'] = $value;
423
        $this->options['form_params']['ImageURL'] = $value;
424
425
        return $this;
426
    }
427
428
    /**
429
     * @param string $value
430
     *
431
     * @return $this
432
     */
433
    public function withFemaleLiquifyDegree($value)
434
    {
435
        $this->data['FemaleLiquifyDegree'] = $value;
436
        $this->options['form_params']['FemaleLiquifyDegree'] = $value;
437
438
        return $this;
439
    }
440
441
    /**
442
     * @param string $value
443
     *
444
     * @return $this
445
     */
446
    public function withPoseList($value)
447
    {
448
        $this->data['PoseList'] = $value;
449
        $this->options['form_params']['PoseList'] = $value;
450
451
        return $this;
452
    }
453
}
454
455
/**
456
 * @method string getImageURL()
457
 */
458
class BlurFace extends Rpc
459
{
460
461
    /**
462
     * @param string $value
463
     *
464
     * @return $this
465
     */
466
    public function withImageURL($value)
467
    {
468
        $this->data['ImageURL'] = $value;
469
        $this->options['form_params']['ImageURL'] = $value;
470
471
        return $this;
472
    }
473
}
474
475
/**
476
 * @method string getImageURL()
477
 */
478
class BodyPosture extends Rpc
479
{
480
481
    /**
482
     * @param string $value
483
     *
484
     * @return $this
485
     */
486
    public function withImageURL($value)
487
    {
488
        $this->data['ImageURL'] = $value;
489
        $this->options['form_params']['ImageURL'] = $value;
490
491
        return $this;
492
    }
493
}
494
495
/**
496
 * @method string getImageDataA()
497
 * @method string getImageDataB()
498
 * @method string getQualityScoreThreshold()
499
 * @method string getImageURLB()
500
 * @method string getImageURLA()
501
 * @method string getImageType()
502
 */
503
class CompareFace extends Rpc
504
{
505
506
    /**
507
     * @param string $value
508
     *
509
     * @return $this
510
     */
511
    public function withImageDataA($value)
512
    {
513
        $this->data['ImageDataA'] = $value;
514
        $this->options['form_params']['ImageDataA'] = $value;
515
516
        return $this;
517
    }
518
519
    /**
520
     * @param string $value
521
     *
522
     * @return $this
523
     */
524
    public function withImageDataB($value)
525
    {
526
        $this->data['ImageDataB'] = $value;
527
        $this->options['form_params']['ImageDataB'] = $value;
528
529
        return $this;
530
    }
531
532
    /**
533
     * @param string $value
534
     *
535
     * @return $this
536
     */
537
    public function withQualityScoreThreshold($value)
538
    {
539
        $this->data['QualityScoreThreshold'] = $value;
540
        $this->options['form_params']['QualityScoreThreshold'] = $value;
541
542
        return $this;
543
    }
544
545
    /**
546
     * @param string $value
547
     *
548
     * @return $this
549
     */
550
    public function withImageURLB($value)
551
    {
552
        $this->data['ImageURLB'] = $value;
553
        $this->options['form_params']['ImageURLB'] = $value;
554
555
        return $this;
556
    }
557
558
    /**
559
     * @param string $value
560
     *
561
     * @return $this
562
     */
563
    public function withImageURLA($value)
564
    {
565
        $this->data['ImageURLA'] = $value;
566
        $this->options['form_params']['ImageURLA'] = $value;
567
568
        return $this;
569
    }
570
571
    /**
572
     * @param string $value
573
     *
574
     * @return $this
575
     */
576
    public function withImageType($value)
577
    {
578
        $this->data['ImageType'] = $value;
579
        $this->options['form_params']['ImageType'] = $value;
580
581
        return $this;
582
    }
583
}
584
585
/**
586
 * @method string getIsShow()
587
 * @method string getImageURL()
588
 */
589
class CountCrowd extends Rpc
590
{
591
592
    /**
593
     * @param string $value
594
     *
595
     * @return $this
596
     */
597
    public function withIsShow($value)
598
    {
599
        $this->data['IsShow'] = $value;
600
        $this->options['form_params']['IsShow'] = $value;
601
602
        return $this;
603
    }
604
605
    /**
606
     * @param string $value
607
     *
608
     * @return $this
609
     */
610
    public function withImageURL($value)
611
    {
612
        $this->data['ImageURL'] = $value;
613
        $this->options['form_params']['ImageURL'] = $value;
614
615
        return $this;
616
    }
617
}
618
619
/**
620
 * @method string getName()
621
 */
622
class CreateBodyDb extends Rpc
623
{
624
625
    /**
626
     * @param string $value
627
     *
628
     * @return $this
629
     */
630
    public function withName($value)
631
    {
632
        $this->data['Name'] = $value;
633
        $this->options['form_params']['Name'] = $value;
634
635
        return $this;
636
    }
637
}
638
639
/**
640
 * @method string getDbId()
641
 * @method string getName()
642
 */
643
class CreateBodyPerson extends Rpc
644
{
645
646
    /**
647
     * @param string $value
648
     *
649
     * @return $this
650
     */
651
    public function withDbId($value)
652
    {
653
        $this->data['DbId'] = $value;
654
        $this->options['form_params']['DbId'] = $value;
655
656
        return $this;
657
    }
658
659
    /**
660
     * @param string $value
661
     *
662
     * @return $this
663
     */
664
    public function withName($value)
665
    {
666
        $this->data['Name'] = $value;
667
        $this->options['form_params']['Name'] = $value;
668
669
        return $this;
670
    }
671
}
672
673
/**
674
 * @method string getName()
675
 */
676
class CreateFaceDb extends Rpc
677
{
678
679
    /**
680
     * @param string $value
681
     *
682
     * @return $this
683
     */
684
    public function withName($value)
685
    {
686
        $this->data['Name'] = $value;
687
        $this->options['form_params']['Name'] = $value;
688
689
        return $this;
690
    }
691
}
692
693
/**
694
 * @method string getId()
695
 */
696
class DeleteBodyDb extends Rpc
697
{
698
699
    /**
700
     * @param string $value
701
     *
702
     * @return $this
703
     */
704
    public function withId($value)
705
    {
706
        $this->data['Id'] = $value;
707
        $this->options['form_params']['Id'] = $value;
708
709
        return $this;
710
    }
711
}
712
713
/**
714
 * @method string getPersonId()
715
 * @method string getDbId()
716
 */
717
class DeleteBodyPerson extends Rpc
718
{
719
720
    /**
721
     * @param string $value
722
     *
723
     * @return $this
724
     */
725
    public function withPersonId($value)
726
    {
727
        $this->data['PersonId'] = $value;
728
        $this->options['form_params']['PersonId'] = $value;
729
730
        return $this;
731
    }
732
733
    /**
734
     * @param string $value
735
     *
736
     * @return $this
737
     */
738
    public function withDbId($value)
739
    {
740
        $this->data['DbId'] = $value;
741
        $this->options['form_params']['DbId'] = $value;
742
743
        return $this;
744
    }
745
}
746
747
/**
748
 * @method string getFaceId()
749
 * @method string getDbName()
750
 */
751
class DeleteFace extends Rpc
752
{
753
754
    /**
755
     * @param string $value
756
     *
757
     * @return $this
758
     */
759
    public function withFaceId($value)
760
    {
761
        $this->data['FaceId'] = $value;
762
        $this->options['form_params']['FaceId'] = $value;
763
764
        return $this;
765
    }
766
767
    /**
768
     * @param string $value
769
     *
770
     * @return $this
771
     */
772
    public function withDbName($value)
773
    {
774
        $this->data['DbName'] = $value;
775
        $this->options['form_params']['DbName'] = $value;
776
777
        return $this;
778
    }
779
}
780
781
/**
782
 * @method string getName()
783
 */
784
class DeleteFaceDb extends Rpc
785
{
786
787
    /**
788
     * @param string $value
789
     *
790
     * @return $this
791
     */
792
    public function withName($value)
793
    {
794
        $this->data['Name'] = $value;
795
        $this->options['form_params']['Name'] = $value;
796
797
        return $this;
798
    }
799
}
800
801
/**
802
 * @method string getEntityId()
803
 * @method string getDbName()
804
 */
805
class DeleteFaceEntity extends Rpc
806
{
807
808
    /**
809
     * @param string $value
810
     *
811
     * @return $this
812
     */
813
    public function withEntityId($value)
814
    {
815
        $this->data['EntityId'] = $value;
816
        $this->options['form_params']['EntityId'] = $value;
817
818
        return $this;
819
    }
820
821
    /**
822
     * @param string $value
823
     *
824
     * @return $this
825
     */
826
    public function withDbName($value)
827
    {
828
        $this->data['DbName'] = $value;
829
        $this->options['form_params']['DbName'] = $value;
830
831
        return $this;
832
    }
833
}
834
835
/**
836
 * @method string getUserId()
837
 * @method string getTemplateId()
838
 */
839
class DeleteFaceImageTemplate extends Rpc
840
{
841
842
    /**
843
     * @param string $value
844
     *
845
     * @return $this
846
     */
847
    public function withUserId($value)
848
    {
849
        $this->data['UserId'] = $value;
850
        $this->options['form_params']['UserId'] = $value;
851
852
        return $this;
853
    }
854
855
    /**
856
     * @param string $value
857
     *
858
     * @return $this
859
     */
860
    public function withTemplateId($value)
861
    {
862
        $this->data['TemplateId'] = $value;
863
        $this->options['form_params']['TemplateId'] = $value;
864
865
        return $this;
866
    }
867
}
868
869
/**
870
 * @method string getImageURL()
871
 */
872
class DetectBodyCount 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 getImageURL()
891
 */
892
class DetectCelebrity extends Rpc
893
{
894
895
    /**
896
     * @param string $value
897
     *
898
     * @return $this
899
     */
900
    public function withImageURL($value)
901
    {
902
        $this->data['ImageURL'] = $value;
903
        $this->options['form_params']['ImageURL'] = $value;
904
905
        return $this;
906
    }
907
}
908
909
/**
910
 * @method string getImageURL()
911
 */
912
class DetectChefCap extends Rpc
913
{
914
915
    /**
916
     * @param string $value
917
     *
918
     * @return $this
919
     */
920
    public function withImageURL($value)
921
    {
922
        $this->data['ImageURL'] = $value;
923
        $this->options['form_params']['ImageURL'] = $value;
924
925
        return $this;
926
    }
927
}
928
929
/**
930
 * @method string getImageType()
931
 * @method string getImageURL()
932
 */
933
class DetectFace extends Rpc
934
{
935
936
    /**
937
     * @param string $value
938
     *
939
     * @return $this
940
     */
941
    public function withImageType($value)
942
    {
943
        $this->data['ImageType'] = $value;
944
        $this->options['form_params']['ImageType'] = $value;
945
946
        return $this;
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 getContinueOnError()
965
 * @method string getHeight()
966
 * @method string getImageData()
967
 * @method string getDataId()
968
 * @method string getImageURL()
969
 * @method string getWidth()
970
 */
971
class DetectIPCPedestrian extends Rpc
972
{
973
974
    /**
975
     * @param string $value
976
     *
977
     * @return $this
978
     */
979
    public function withContinueOnError($value)
980
    {
981
        $this->data['ContinueOnError'] = $value;
982
        $this->options['form_params']['ContinueOnError'] = $value;
983
984
        return $this;
985
    }
986
987
    /**
988
     * @param string $value
989
     *
990
     * @return $this
991
     */
992
    public function withHeight($value)
993
    {
994
        $this->data['Height'] = $value;
995
        $this->options['form_params']['Height'] = $value;
996
997
        return $this;
998
    }
999
1000
    /**
1001
     * @param string $value
1002
     *
1003
     * @return $this
1004
     */
1005
    public function withImageData($value)
1006
    {
1007
        $this->data['ImageData'] = $value;
1008
        $this->options['form_params']['ImageData'] = $value;
1009
1010
        return $this;
1011
    }
1012
1013
    /**
1014
     * @param string $value
1015
     *
1016
     * @return $this
1017
     */
1018
    public function withDataId($value)
1019
    {
1020
        $this->data['DataId'] = $value;
1021
        $this->options['form_params']['DataId'] = $value;
1022
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * @param string $value
1028
     *
1029
     * @return $this
1030
     */
1031
    public function withImageURL($value)
1032
    {
1033
        $this->data['ImageURL'] = $value;
1034
        $this->options['form_params']['ImageURL'] = $value;
1035
1036
        return $this;
1037
    }
1038
1039
    /**
1040
     * @param string $value
1041
     *
1042
     * @return $this
1043
     */
1044
    public function withWidth($value)
1045
    {
1046
        $this->data['Width'] = $value;
1047
        $this->options['form_params']['Width'] = $value;
1048
1049
        return $this;
1050
    }
1051
}
1052
1053
/**
1054
 * @method array getTasks()
1055
 */
1056
class DetectLivingFace extends Rpc
1057
{
1058
1059
    /**
1060
     * @param array $tasks
1061
     *
1062
     * @return $this
1063
     */
1064
	public function withTasks(array $tasks)
1065
	{
1066
	    $this->data['Tasks'] = $tasks;
1067
		foreach ($tasks as $depth1 => $depth1Value) {
1068
			if(isset($depth1Value['ImageURL'])){
1069
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
1070
			}
1071
			if(isset($depth1Value['ImageData'])){
1072
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageData'] = $depth1Value['ImageData'];
1073
			}
1074
		}
1075
1076
		return $this;
1077
    }
1078
}
1079
1080
/**
1081
 * @method string getImageURL()
1082
 */
1083
class DetectMask extends Rpc
1084
{
1085
1086
    /**
1087
     * @param string $value
1088
     *
1089
     * @return $this
1090
     */
1091
    public function withImageURL($value)
1092
    {
1093
        $this->data['ImageURL'] = $value;
1094
        $this->options['form_params']['ImageURL'] = $value;
1095
1096
        return $this;
1097
    }
1098
}
1099
1100
/**
1101
 * @method string getImageURL()
1102
 */
1103
class DetectPedestrian extends Rpc
1104
{
1105
1106
    /**
1107
     * @param string $value
1108
     *
1109
     * @return $this
1110
     */
1111
    public function withImageURL($value)
1112
    {
1113
        $this->data['ImageURL'] = $value;
1114
        $this->options['form_params']['ImageURL'] = $value;
1115
1116
        return $this;
1117
    }
1118
}
1119
1120
/**
1121
 * @method string getDetectRegion()
1122
 * @method string getRegionType()
1123
 * @method string getImageURL()
1124
 */
1125
class DetectPedestrianIntrusion extends Rpc
1126
{
1127
1128
    /**
1129
     * @param string $value
1130
     *
1131
     * @return $this
1132
     */
1133
    public function withDetectRegion($value)
1134
    {
1135
        $this->data['DetectRegion'] = $value;
1136
        $this->options['form_params']['DetectRegion'] = $value;
1137
1138
        return $this;
1139
    }
1140
1141
    /**
1142
     * @param string $value
1143
     *
1144
     * @return $this
1145
     */
1146
    public function withRegionType($value)
1147
    {
1148
        $this->data['RegionType'] = $value;
1149
        $this->options['form_params']['RegionType'] = $value;
1150
1151
        return $this;
1152
    }
1153
1154
    /**
1155
     * @param string $value
1156
     *
1157
     * @return $this
1158
     */
1159
    public function withImageURL($value)
1160
    {
1161
        $this->data['ImageURL'] = $value;
1162
        $this->options['form_params']['ImageURL'] = $value;
1163
1164
        return $this;
1165
    }
1166
}
1167
1168
/**
1169
 * @method string getVideoUrl()
1170
 */
1171
class DetectVideoLivingFace extends Rpc
1172
{
1173
1174
    /**
1175
     * @param string $value
1176
     *
1177
     * @return $this
1178
     */
1179
    public function withVideoUrl($value)
1180
    {
1181
        $this->data['VideoUrl'] = $value;
1182
        $this->options['form_params']['VideoUrl'] = $value;
1183
1184
        return $this;
1185
    }
1186
}
1187
1188
/**
1189
 * @method string getImageURL()
1190
 */
1191
class EnhanceFace extends Rpc
1192
{
1193
1194
    /**
1195
     * @param string $value
1196
     *
1197
     * @return $this
1198
     */
1199
    public function withImageURL($value)
1200
    {
1201
        $this->data['ImageURL'] = $value;
1202
        $this->options['form_params']['ImageURL'] = $value;
1203
1204
        return $this;
1205
    }
1206
}
1207
1208
/**
1209
 * @method string getImageData()
1210
 * @method string getImageURL()
1211
 */
1212
class ExtractFingerPrint extends Rpc
1213
{
1214
1215
    /**
1216
     * @param string $value
1217
     *
1218
     * @return $this
1219
     */
1220
    public function withImageData($value)
1221
    {
1222
        $this->data['ImageData'] = $value;
1223
        $this->options['form_params']['ImageData'] = $value;
1224
1225
        return $this;
1226
    }
1227
1228
    /**
1229
     * @param string $value
1230
     *
1231
     * @return $this
1232
     */
1233
    public function withImageURL($value)
1234
    {
1235
        $this->data['ImageURL'] = $value;
1236
        $this->options['form_params']['ImageURL'] = $value;
1237
1238
        return $this;
1239
    }
1240
}
1241
1242
/**
1243
 * @method string getMode()
1244
 * @method string getImageURL()
1245
 * @method string getServiceVersion()
1246
 */
1247
class ExtractPedestrianFeatureAttr extends Rpc
1248
{
1249
1250
    /**
1251
     * @param string $value
1252
     *
1253
     * @return $this
1254
     */
1255
    public function withMode($value)
1256
    {
1257
        $this->data['Mode'] = $value;
1258
        $this->options['form_params']['Mode'] = $value;
1259
1260
        return $this;
1261
    }
1262
1263
    /**
1264
     * @param string $value
1265
     *
1266
     * @return $this
1267
     */
1268
    public function withImageURL($value)
1269
    {
1270
        $this->data['ImageURL'] = $value;
1271
        $this->options['form_params']['ImageURL'] = $value;
1272
1273
        return $this;
1274
    }
1275
1276
    /**
1277
     * @param string $value
1278
     *
1279
     * @return $this
1280
     */
1281
    public function withServiceVersion($value)
1282
    {
1283
        $this->data['ServiceVersion'] = $value;
1284
        $this->options['form_params']['ServiceVersion'] = $value;
1285
1286
        return $this;
1287
    }
1288
}
1289
1290
/**
1291
 * @method array getUrlList()
1292
 * @method string getMode()
1293
 * @method string getImageURL()
1294
 */
1295
class ExtractPedestrianFeatureAttribute extends Rpc
1296
{
1297
1298
    /**
1299
     * @param array $urlList
1300
     *
1301
     * @return $this
1302
     */
1303
	public function withUrlList(array $urlList)
1304
	{
1305
	    $this->data['UrlList'] = $urlList;
1306
		foreach ($urlList as $depth1 => $depth1Value) {
1307
			if(isset($depth1Value['Url'])){
1308
				$this->options['form_params']['UrlList.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1309
			}
1310
		}
1311
1312
		return $this;
1313
    }
1314
1315
    /**
1316
     * @param string $value
1317
     *
1318
     * @return $this
1319
     */
1320
    public function withMode($value)
1321
    {
1322
        $this->data['Mode'] = $value;
1323
        $this->options['form_params']['Mode'] = $value;
1324
1325
        return $this;
1326
    }
1327
1328
    /**
1329
     * @param string $value
1330
     *
1331
     * @return $this
1332
     */
1333
    public function withImageURL($value)
1334
    {
1335
        $this->data['ImageURL'] = $value;
1336
        $this->options['form_params']['ImageURL'] = $value;
1337
1338
        return $this;
1339
    }
1340
}
1341
1342
/**
1343
 * @method string getWhite()
1344
 * @method string getSmooth()
1345
 * @method string getSharp()
1346
 * @method string getImageURL()
1347
 */
1348
class FaceBeauty extends Rpc
1349
{
1350
1351
    /**
1352
     * @param string $value
1353
     *
1354
     * @return $this
1355
     */
1356
    public function withWhite($value)
1357
    {
1358
        $this->data['White'] = $value;
1359
        $this->options['form_params']['White'] = $value;
1360
1361
        return $this;
1362
    }
1363
1364
    /**
1365
     * @param string $value
1366
     *
1367
     * @return $this
1368
     */
1369
    public function withSmooth($value)
1370
    {
1371
        $this->data['Smooth'] = $value;
1372
        $this->options['form_params']['Smooth'] = $value;
1373
1374
        return $this;
1375
    }
1376
1377
    /**
1378
     * @param string $value
1379
     *
1380
     * @return $this
1381
     */
1382
    public function withSharp($value)
1383
    {
1384
        $this->data['Sharp'] = $value;
1385
        $this->options['form_params']['Sharp'] = $value;
1386
1387
        return $this;
1388
    }
1389
1390
    /**
1391
     * @param string $value
1392
     *
1393
     * @return $this
1394
     */
1395
    public function withImageURL($value)
1396
    {
1397
        $this->data['ImageURL'] = $value;
1398
        $this->options['form_params']['ImageURL'] = $value;
1399
1400
        return $this;
1401
    }
1402
}
1403
1404
/**
1405
 * @method string getStrength()
1406
 * @method string getResourceType()
1407
 * @method string getImageURL()
1408
 */
1409
class FaceFilter extends Rpc
1410
{
1411
1412
    /**
1413
     * @param string $value
1414
     *
1415
     * @return $this
1416
     */
1417
    public function withStrength($value)
1418
    {
1419
        $this->data['Strength'] = $value;
1420
        $this->options['form_params']['Strength'] = $value;
1421
1422
        return $this;
1423
    }
1424
1425
    /**
1426
     * @param string $value
1427
     *
1428
     * @return $this
1429
     */
1430
    public function withResourceType($value)
1431
    {
1432
        $this->data['ResourceType'] = $value;
1433
        $this->options['form_params']['ResourceType'] = $value;
1434
1435
        return $this;
1436
    }
1437
1438
    /**
1439
     * @param string $value
1440
     *
1441
     * @return $this
1442
     */
1443
    public function withImageURL($value)
1444
    {
1445
        $this->data['ImageURL'] = $value;
1446
        $this->options['form_params']['ImageURL'] = $value;
1447
1448
        return $this;
1449
    }
1450
}
1451
1452
/**
1453
 * @method string getStrength()
1454
 * @method string getMakeupType()
1455
 * @method string getResourceType()
1456
 * @method string getImageURL()
1457
 */
1458
class FaceMakeup extends Rpc
1459
{
1460
1461
    /**
1462
     * @param string $value
1463
     *
1464
     * @return $this
1465
     */
1466
    public function withStrength($value)
1467
    {
1468
        $this->data['Strength'] = $value;
1469
        $this->options['form_params']['Strength'] = $value;
1470
1471
        return $this;
1472
    }
1473
1474
    /**
1475
     * @param string $value
1476
     *
1477
     * @return $this
1478
     */
1479
    public function withMakeupType($value)
1480
    {
1481
        $this->data['MakeupType'] = $value;
1482
        $this->options['form_params']['MakeupType'] = $value;
1483
1484
        return $this;
1485
    }
1486
1487
    /**
1488
     * @param string $value
1489
     *
1490
     * @return $this
1491
     */
1492
    public function withResourceType($value)
1493
    {
1494
        $this->data['ResourceType'] = $value;
1495
        $this->options['form_params']['ResourceType'] = $value;
1496
1497
        return $this;
1498
    }
1499
1500
    /**
1501
     * @param string $value
1502
     *
1503
     * @return $this
1504
     */
1505
    public function withImageURL($value)
1506
    {
1507
        $this->data['ImageURL'] = $value;
1508
        $this->options['form_params']['ImageURL'] = $value;
1509
1510
        return $this;
1511
    }
1512
}
1513
1514
/**
1515
 * @method string getShapeType()
1516
 * @method string getStrength()
1517
 * @method string getImageURL()
1518
 */
1519
class FaceTidyup extends Rpc
1520
{
1521
1522
    /**
1523
     * @param string $value
1524
     *
1525
     * @return $this
1526
     */
1527
    public function withShapeType($value)
1528
    {
1529
        $this->data['ShapeType'] = $value;
1530
        $this->options['form_params']['ShapeType'] = $value;
1531
1532
        return $this;
1533
    }
1534
1535
    /**
1536
     * @param string $value
1537
     *
1538
     * @return $this
1539
     */
1540
    public function withStrength($value)
1541
    {
1542
        $this->data['Strength'] = $value;
1543
        $this->options['form_params']['Strength'] = $value;
1544
1545
        return $this;
1546
    }
1547
1548
    /**
1549
     * @param string $value
1550
     *
1551
     * @return $this
1552
     */
1553
    public function withImageURL($value)
1554
    {
1555
        $this->data['ImageURL'] = $value;
1556
        $this->options['form_params']['ImageURL'] = $value;
1557
1558
        return $this;
1559
    }
1560
}
1561
1562
/**
1563
 * @method string getAlgoType()
1564
 * @method $this withAlgoType($value)
1565
 * @method string getImageURL()
1566
 * @method $this withImageURL($value)
1567
 */
1568
class GenerateHumanAnimeStyle extends Rpc
1569
{
1570
}
1571
1572
/**
1573
 * @method string getReturnType()
1574
 * @method string getImageURL()
1575
 */
1576
class GenerateHumanSketchStyle extends Rpc
1577
{
1578
1579
    /**
1580
     * @param string $value
1581
     *
1582
     * @return $this
1583
     */
1584
    public function withReturnType($value)
1585
    {
1586
        $this->data['ReturnType'] = $value;
1587
        $this->options['form_params']['ReturnType'] = $value;
1588
1589
        return $this;
1590
    }
1591
1592
    /**
1593
     * @param string $value
1594
     *
1595
     * @return $this
1596
     */
1597
    public function withImageURL($value)
1598
    {
1599
        $this->data['ImageURL'] = $value;
1600
        $this->options['form_params']['ImageURL'] = $value;
1601
1602
        return $this;
1603
    }
1604
}
1605
1606
/**
1607
 * @method string getMetaInfo()
1608
 * @method string getCertificateNumber()
1609
 * @method string getCertificateName()
1610
 */
1611
class GenRealPersonVerificationToken extends Rpc
1612
{
1613
1614
    /**
1615
     * @param string $value
1616
     *
1617
     * @return $this
1618
     */
1619
    public function withMetaInfo($value)
1620
    {
1621
        $this->data['MetaInfo'] = $value;
1622
        $this->options['form_params']['MetaInfo'] = $value;
1623
1624
        return $this;
1625
    }
1626
1627
    /**
1628
     * @param string $value
1629
     *
1630
     * @return $this
1631
     */
1632
    public function withCertificateNumber($value)
1633
    {
1634
        $this->data['CertificateNumber'] = $value;
1635
        $this->options['form_params']['CertificateNumber'] = $value;
1636
1637
        return $this;
1638
    }
1639
1640
    /**
1641
     * @param string $value
1642
     *
1643
     * @return $this
1644
     */
1645
    public function withCertificateName($value)
1646
    {
1647
        $this->data['CertificateName'] = $value;
1648
        $this->options['form_params']['CertificateName'] = $value;
1649
1650
        return $this;
1651
    }
1652
}
1653
1654
/**
1655
 * @method string getPersonId()
1656
 * @method $this withPersonId($value)
1657
 * @method string getDbId()
1658
 * @method $this withDbId($value)
1659
 */
1660
class GetBodyPerson extends Rpc
1661
{
1662
1663
    /** @var string */
1664
    public $method = 'GET';
1665
}
1666
1667
/**
1668
 * @method string getEntityId()
1669
 * @method string getDbName()
1670
 */
1671
class GetFaceEntity extends Rpc
1672
{
1673
1674
    /**
1675
     * @param string $value
1676
     *
1677
     * @return $this
1678
     */
1679
    public function withEntityId($value)
1680
    {
1681
        $this->data['EntityId'] = $value;
1682
        $this->options['form_params']['EntityId'] = $value;
1683
1684
        return $this;
1685
    }
1686
1687
    /**
1688
     * @param string $value
1689
     *
1690
     * @return $this
1691
     */
1692
    public function withDbName($value)
1693
    {
1694
        $this->data['DbName'] = $value;
1695
        $this->options['form_params']['DbName'] = $value;
1696
1697
        return $this;
1698
    }
1699
}
1700
1701
/**
1702
 * @method string getMaterialHash()
1703
 * @method string getVerificationToken()
1704
 */
1705
class GetRealPersonVerificationResult extends Rpc
1706
{
1707
1708
    /**
1709
     * @param string $value
1710
     *
1711
     * @return $this
1712
     */
1713
    public function withMaterialHash($value)
1714
    {
1715
        $this->data['MaterialHash'] = $value;
1716
        $this->options['form_params']['MaterialHash'] = $value;
1717
1718
        return $this;
1719
    }
1720
1721
    /**
1722
     * @param string $value
1723
     *
1724
     * @return $this
1725
     */
1726
    public function withVerificationToken($value)
1727
    {
1728
        $this->data['VerificationToken'] = $value;
1729
        $this->options['form_params']['VerificationToken'] = $value;
1730
1731
        return $this;
1732
    }
1733
}
1734
1735
/**
1736
 * @method string getImageURL()
1737
 */
1738
class HandPosture extends Rpc
1739
{
1740
1741
    /**
1742
     * @param string $value
1743
     *
1744
     * @return $this
1745
     */
1746
    public function withImageURL($value)
1747
    {
1748
        $this->data['ImageURL'] = $value;
1749
        $this->options['form_params']['ImageURL'] = $value;
1750
1751
        return $this;
1752
    }
1753
}
1754
1755
/**
1756
 * @method string getLimit()
1757
 * @method $this withLimit($value)
1758
 * @method string getOffset()
1759
 * @method $this withOffset($value)
1760
 */
1761
class ListBodyDbs extends Rpc
1762
{
1763
1764
    /** @var string */
1765
    public $method = 'GET';
1766
}
1767
1768
/**
1769
 * @method string getLimit()
1770
 * @method $this withLimit($value)
1771
 * @method string getOffset()
1772
 * @method $this withOffset($value)
1773
 * @method string getDbId()
1774
 * @method $this withDbId($value)
1775
 */
1776
class ListBodyPerson extends Rpc
1777
{
1778
1779
    /** @var string */
1780
    public $method = 'GET';
1781
}
1782
1783
class ListFaceDbs extends Rpc
1784
{
1785
}
1786
1787
/**
1788
 * @method string getEntityIdPrefix()
1789
 * @method string getLimit()
1790
 * @method string getOrder()
1791
 * @method string getOffset()
1792
 * @method string getToken()
1793
 * @method string getLabels()
1794
 * @method string getDbName()
1795
 */
1796
class ListFaceEntities extends Rpc
1797
{
1798
1799
    /**
1800
     * @param string $value
1801
     *
1802
     * @return $this
1803
     */
1804
    public function withEntityIdPrefix($value)
1805
    {
1806
        $this->data['EntityIdPrefix'] = $value;
1807
        $this->options['form_params']['EntityIdPrefix'] = $value;
1808
1809
        return $this;
1810
    }
1811
1812
    /**
1813
     * @param string $value
1814
     *
1815
     * @return $this
1816
     */
1817
    public function withLimit($value)
1818
    {
1819
        $this->data['Limit'] = $value;
1820
        $this->options['form_params']['Limit'] = $value;
1821
1822
        return $this;
1823
    }
1824
1825
    /**
1826
     * @param string $value
1827
     *
1828
     * @return $this
1829
     */
1830
    public function withOrder($value)
1831
    {
1832
        $this->data['Order'] = $value;
1833
        $this->options['form_params']['Order'] = $value;
1834
1835
        return $this;
1836
    }
1837
1838
    /**
1839
     * @param string $value
1840
     *
1841
     * @return $this
1842
     */
1843
    public function withOffset($value)
1844
    {
1845
        $this->data['Offset'] = $value;
1846
        $this->options['form_params']['Offset'] = $value;
1847
1848
        return $this;
1849
    }
1850
1851
    /**
1852
     * @param string $value
1853
     *
1854
     * @return $this
1855
     */
1856
    public function withToken($value)
1857
    {
1858
        $this->data['Token'] = $value;
1859
        $this->options['form_params']['Token'] = $value;
1860
1861
        return $this;
1862
    }
1863
1864
    /**
1865
     * @param string $value
1866
     *
1867
     * @return $this
1868
     */
1869
    public function withLabels($value)
1870
    {
1871
        $this->data['Labels'] = $value;
1872
        $this->options['form_params']['Labels'] = $value;
1873
1874
        return $this;
1875
    }
1876
1877
    /**
1878
     * @param string $value
1879
     *
1880
     * @return $this
1881
     */
1882
    public function withDbName($value)
1883
    {
1884
        $this->data['DbName'] = $value;
1885
        $this->options['form_params']['DbName'] = $value;
1886
1887
        return $this;
1888
    }
1889
}
1890
1891
/**
1892
 * @method string getUserId()
1893
 * @method string getTemplateId()
1894
 * @method string getImageURL()
1895
 */
1896
class MergeImageFace extends Rpc
1897
{
1898
1899
    /**
1900
     * @param string $value
1901
     *
1902
     * @return $this
1903
     */
1904
    public function withUserId($value)
1905
    {
1906
        $this->data['UserId'] = $value;
1907
        $this->options['form_params']['UserId'] = $value;
1908
1909
        return $this;
1910
    }
1911
1912
    /**
1913
     * @param string $value
1914
     *
1915
     * @return $this
1916
     */
1917
    public function withTemplateId($value)
1918
    {
1919
        $this->data['TemplateId'] = $value;
1920
        $this->options['form_params']['TemplateId'] = $value;
1921
1922
        return $this;
1923
    }
1924
1925
    /**
1926
     * @param string $value
1927
     *
1928
     * @return $this
1929
     */
1930
    public function withImageURL($value)
1931
    {
1932
        $this->data['ImageURL'] = $value;
1933
        $this->options['form_params']['ImageURL'] = $value;
1934
1935
        return $this;
1936
    }
1937
}
1938
1939
/**
1940
 * @method string getType()
1941
 * @method string getImageURL()
1942
 */
1943
class MonitorExamination extends Rpc
1944
{
1945
1946
    /**
1947
     * @param string $value
1948
     *
1949
     * @return $this
1950
     */
1951
    public function withType($value)
1952
    {
1953
        $this->data['Type'] = $value;
1954
        $this->options['form_params']['Type'] = $value;
1955
1956
        return $this;
1957
    }
1958
1959
    /**
1960
     * @param string $value
1961
     *
1962
     * @return $this
1963
     */
1964
    public function withImageURL($value)
1965
    {
1966
        $this->data['ImageURL'] = $value;
1967
        $this->options['form_params']['ImageURL'] = $value;
1968
1969
        return $this;
1970
    }
1971
}
1972
1973
/**
1974
 * @method string getImageURL()
1975
 */
1976
class PedestrianDetectAttribute extends Rpc
1977
{
1978
1979
    /**
1980
     * @param string $value
1981
     *
1982
     * @return $this
1983
     */
1984
    public function withImageURL($value)
1985
    {
1986
        $this->data['ImageURL'] = $value;
1987
        $this->options['form_params']['ImageURL'] = $value;
1988
1989
        return $this;
1990
    }
1991
}
1992
1993
/**
1994
 * @method string getUserId()
1995
 * @method $this withUserId($value)
1996
 * @method string getTemplateId()
1997
 * @method $this withTemplateId($value)
1998
 */
1999
class QueryFaceImageTemplate extends Rpc
2000
{
2001
2002
    /** @var string */
2003
    public $method = 'GET';
2004
}
2005
2006
/**
2007
 * @method string getType()
2008
 * @method string getVideoData()
2009
 * @method array getURLList()
2010
 * @method string getVideoUrl()
2011
 */
2012
class RecognizeAction extends Rpc
2013
{
2014
2015
    /**
2016
     * @param string $value
2017
     *
2018
     * @return $this
2019
     */
2020
    public function withType($value)
2021
    {
2022
        $this->data['Type'] = $value;
2023
        $this->options['form_params']['Type'] = $value;
2024
2025
        return $this;
2026
    }
2027
2028
    /**
2029
     * @param string $value
2030
     *
2031
     * @return $this
2032
     */
2033
    public function withVideoData($value)
2034
    {
2035
        $this->data['VideoData'] = $value;
2036
        $this->options['form_params']['VideoData'] = $value;
2037
2038
        return $this;
2039
    }
2040
2041
    /**
2042
     * @param array $uRLList
2043
     *
2044
     * @return $this
2045
     */
2046
	public function withURLList(array $uRLList)
2047
	{
2048
	    $this->data['URLList'] = $uRLList;
2049
		foreach ($uRLList as $depth1 => $depth1Value) {
2050
			if(isset($depth1Value['ImageData'])){
2051
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.imageData'] = $depth1Value['ImageData'];
2052
			}
2053
			if(isset($depth1Value['URL'])){
2054
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
2055
			}
2056
		}
2057
2058
		return $this;
2059
    }
2060
2061
    /**
2062
     * @param string $value
2063
     *
2064
     * @return $this
2065
     */
2066
    public function withVideoUrl($value)
2067
    {
2068
        $this->data['VideoUrl'] = $value;
2069
        $this->options['form_params']['VideoUrl'] = $value;
2070
2071
        return $this;
2072
    }
2073
}
2074
2075
/**
2076
 * @method string getImageURL()
2077
 */
2078
class RecognizeExpression extends Rpc
2079
{
2080
2081
    /**
2082
     * @param string $value
2083
     *
2084
     * @return $this
2085
     */
2086
    public function withImageURL($value)
2087
    {
2088
        $this->data['ImageURL'] = $value;
2089
        $this->options['form_params']['ImageURL'] = $value;
2090
2091
        return $this;
2092
    }
2093
}
2094
2095
/**
2096
 * @method string getImageType()
2097
 * @method string getImageURL()
2098
 */
2099
class RecognizeFace extends Rpc
2100
{
2101
2102
    /**
2103
     * @param string $value
2104
     *
2105
     * @return $this
2106
     */
2107
    public function withImageType($value)
2108
    {
2109
        $this->data['ImageType'] = $value;
2110
        $this->options['form_params']['ImageType'] = $value;
2111
2112
        return $this;
2113
    }
2114
2115
    /**
2116
     * @param string $value
2117
     *
2118
     * @return $this
2119
     */
2120
    public function withImageURL($value)
2121
    {
2122
        $this->data['ImageURL'] = $value;
2123
        $this->options['form_params']['ImageURL'] = $value;
2124
2125
        return $this;
2126
    }
2127
}
2128
2129
/**
2130
 * @method string getGestureType()
2131
 * @method string getAppId()
2132
 * @method string getImageURL()
2133
 */
2134
class RecognizeHandGesture extends Rpc
2135
{
2136
2137
    /**
2138
     * @param string $value
2139
     *
2140
     * @return $this
2141
     */
2142
    public function withGestureType($value)
2143
    {
2144
        $this->data['GestureType'] = $value;
2145
        $this->options['form_params']['GestureType'] = $value;
2146
2147
        return $this;
2148
    }
2149
2150
    /**
2151
     * @param string $value
2152
     *
2153
     * @return $this
2154
     */
2155
    public function withAppId($value)
2156
    {
2157
        $this->data['AppId'] = $value;
2158
        $this->options['form_params']['AppId'] = $value;
2159
2160
        return $this;
2161
    }
2162
2163
    /**
2164
     * @param string $value
2165
     *
2166
     * @return $this
2167
     */
2168
    public function withImageURL($value)
2169
    {
2170
        $this->data['ImageURL'] = $value;
2171
        $this->options['form_params']['ImageURL'] = $value;
2172
2173
        return $this;
2174
    }
2175
}
2176
2177
/**
2178
 * @method array getTask()
2179
 */
2180
class RecognizePublicFace extends Rpc
2181
{
2182
2183
    /**
2184
     * @param array $task
2185
     *
2186
     * @return $this
2187
     */
2188
	public function withTask(array $task)
2189
	{
2190
	    $this->data['Task'] = $task;
2191
		foreach ($task as $depth1 => $depth1Value) {
2192
			if(isset($depth1Value['ImageURL'])){
2193
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
2194
			}
2195
			if(isset($depth1Value['ImageData'])){
2196
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageData'] = $depth1Value['ImageData'];
2197
			}
2198
		}
2199
2200
		return $this;
2201
    }
2202
}
2203
2204
/**
2205
 * @method string getMinScore()
2206
 * @method string getLimit()
2207
 * @method string getImages()
2208
 * @method string getDbId()
2209
 */
2210
class SearchBodyTrace extends Rpc
2211
{
2212
2213
    /**
2214
     * @param string $value
2215
     *
2216
     * @return $this
2217
     */
2218
    public function withMinScore($value)
2219
    {
2220
        $this->data['MinScore'] = $value;
2221
        $this->options['form_params']['MinScore'] = $value;
2222
2223
        return $this;
2224
    }
2225
2226
    /**
2227
     * @param string $value
2228
     *
2229
     * @return $this
2230
     */
2231
    public function withLimit($value)
2232
    {
2233
        $this->data['Limit'] = $value;
2234
        $this->options['form_params']['Limit'] = $value;
2235
2236
        return $this;
2237
    }
2238
2239
    /**
2240
     * @param string $value
2241
     *
2242
     * @return $this
2243
     */
2244
    public function withImages($value)
2245
    {
2246
        $this->data['Images'] = $value;
2247
        $this->options['form_params']['Images'] = $value;
2248
2249
        return $this;
2250
    }
2251
2252
    /**
2253
     * @param string $value
2254
     *
2255
     * @return $this
2256
     */
2257
    public function withDbId($value)
2258
    {
2259
        $this->data['DbId'] = $value;
2260
        $this->options['form_params']['DbId'] = $value;
2261
2262
        return $this;
2263
    }
2264
}
2265
2266
/**
2267
 * @method string getLimit()
2268
 * @method string getDbNames()
2269
 * @method $this withDbNames($value)
2270
 * @method string getDbName()
2271
 * @method string getImageUrl()
2272
 */
2273
class SearchFace extends Rpc
2274
{
2275
2276
    /**
2277
     * @param string $value
2278
     *
2279
     * @return $this
2280
     */
2281
    public function withLimit($value)
2282
    {
2283
        $this->data['Limit'] = $value;
2284
        $this->options['form_params']['Limit'] = $value;
2285
2286
        return $this;
2287
    }
2288
2289
    /**
2290
     * @param string $value
2291
     *
2292
     * @return $this
2293
     */
2294
    public function withDbName($value)
2295
    {
2296
        $this->data['DbName'] = $value;
2297
        $this->options['form_params']['DbName'] = $value;
2298
2299
        return $this;
2300
    }
2301
2302
    /**
2303
     * @param string $value
2304
     *
2305
     * @return $this
2306
     */
2307
    public function withImageUrl($value)
2308
    {
2309
        $this->data['ImageUrl'] = $value;
2310
        $this->options['form_params']['ImageUrl'] = $value;
2311
2312
        return $this;
2313
    }
2314
}
2315
2316
/**
2317
 * @method string getTargetImageURL()
2318
 * @method string getSourceImageData()
2319
 * @method string getSourceImageURL()
2320
 * @method string getTargetImageData()
2321
 * @method string getEditPart()
2322
 */
2323
class SwapFacialFeatures extends Rpc
2324
{
2325
2326
    /**
2327
     * @param string $value
2328
     *
2329
     * @return $this
2330
     */
2331
    public function withTargetImageURL($value)
2332
    {
2333
        $this->data['TargetImageURL'] = $value;
2334
        $this->options['form_params']['TargetImageURL'] = $value;
2335
2336
        return $this;
2337
    }
2338
2339
    /**
2340
     * @param string $value
2341
     *
2342
     * @return $this
2343
     */
2344
    public function withSourceImageData($value)
2345
    {
2346
        $this->data['SourceImageData'] = $value;
2347
        $this->options['form_params']['SourceImageData'] = $value;
2348
2349
        return $this;
2350
    }
2351
2352
    /**
2353
     * @param string $value
2354
     *
2355
     * @return $this
2356
     */
2357
    public function withSourceImageURL($value)
2358
    {
2359
        $this->data['SourceImageURL'] = $value;
2360
        $this->options['form_params']['SourceImageURL'] = $value;
2361
2362
        return $this;
2363
    }
2364
2365
    /**
2366
     * @param string $value
2367
     *
2368
     * @return $this
2369
     */
2370
    public function withTargetImageData($value)
2371
    {
2372
        $this->data['TargetImageData'] = $value;
2373
        $this->options['form_params']['TargetImageData'] = $value;
2374
2375
        return $this;
2376
    }
2377
2378
    /**
2379
     * @param string $value
2380
     *
2381
     * @return $this
2382
     */
2383
    public function withEditPart($value)
2384
    {
2385
        $this->data['EditPart'] = $value;
2386
        $this->options['form_params']['EditPart'] = $value;
2387
2388
        return $this;
2389
    }
2390
}
2391
2392
/**
2393
 * @method string getEntityId()
2394
 * @method string getLabels()
2395
 * @method string getDbName()
2396
 */
2397
class UpdateFaceEntity extends Rpc
2398
{
2399
2400
    /**
2401
     * @param string $value
2402
     *
2403
     * @return $this
2404
     */
2405
    public function withEntityId($value)
2406
    {
2407
        $this->data['EntityId'] = $value;
2408
        $this->options['form_params']['EntityId'] = $value;
2409
2410
        return $this;
2411
    }
2412
2413
    /**
2414
     * @param string $value
2415
     *
2416
     * @return $this
2417
     */
2418
    public function withLabels($value)
2419
    {
2420
        $this->data['Labels'] = $value;
2421
        $this->options['form_params']['Labels'] = $value;
2422
2423
        return $this;
2424
    }
2425
2426
    /**
2427
     * @param string $value
2428
     *
2429
     * @return $this
2430
     */
2431
    public function withDbName($value)
2432
    {
2433
        $this->data['DbName'] = $value;
2434
        $this->options['form_params']['DbName'] = $value;
2435
2436
        return $this;
2437
    }
2438
}
2439
2440
/**
2441
 * @method string getRefData()
2442
 * @method string getImageData()
2443
 * @method string getImageURL()
2444
 * @method string getRefUrl()
2445
 */
2446
class VerifyFaceMask extends Rpc
2447
{
2448
2449
    /**
2450
     * @param string $value
2451
     *
2452
     * @return $this
2453
     */
2454
    public function withRefData($value)
2455
    {
2456
        $this->data['RefData'] = $value;
2457
        $this->options['form_params']['RefData'] = $value;
2458
2459
        return $this;
2460
    }
2461
2462
    /**
2463
     * @param string $value
2464
     *
2465
     * @return $this
2466
     */
2467
    public function withImageData($value)
2468
    {
2469
        $this->data['ImageData'] = $value;
2470
        $this->options['form_params']['ImageData'] = $value;
2471
2472
        return $this;
2473
    }
2474
2475
    /**
2476
     * @param string $value
2477
     *
2478
     * @return $this
2479
     */
2480
    public function withImageURL($value)
2481
    {
2482
        $this->data['ImageURL'] = $value;
2483
        $this->options['form_params']['ImageURL'] = $value;
2484
2485
        return $this;
2486
    }
2487
2488
    /**
2489
     * @param string $value
2490
     *
2491
     * @return $this
2492
     */
2493
    public function withRefUrl($value)
2494
    {
2495
        $this->data['RefUrl'] = $value;
2496
        $this->options['form_params']['RefUrl'] = $value;
2497
2498
        return $this;
2499
    }
2500
}
2501