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 ( 22ea4e...708eaa )
by
unknown
09:31
created

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