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 ( cd553a...0ceab0 )
by
unknown
07:34
created

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