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 ( 45dcef...e77904 )
by
unknown
08:19
created

RecognizeHandGesture::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 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 getQualityScoreThreshold()
334
 * @method string getImageURLB()
335
 * @method string getImageURLA()
336
 * @method string getImageType()
337
 */
338
class CompareFace extends Rpc
339
{
340
341
    /**
342
     * @param string $value
343
     *
344
     * @return $this
345
     */
346
    public function withQualityScoreThreshold($value)
347
    {
348
        $this->data['QualityScoreThreshold'] = $value;
349
        $this->options['form_params']['QualityScoreThreshold'] = $value;
350
351
        return $this;
352
    }
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withImageURLB($value)
360
    {
361
        $this->data['ImageURLB'] = $value;
362
        $this->options['form_params']['ImageURLB'] = $value;
363
364
        return $this;
365
    }
366
367
    /**
368
     * @param string $value
369
     *
370
     * @return $this
371
     */
372
    public function withImageURLA($value)
373
    {
374
        $this->data['ImageURLA'] = $value;
375
        $this->options['form_params']['ImageURLA'] = $value;
376
377
        return $this;
378
    }
379
380
    /**
381
     * @param string $value
382
     *
383
     * @return $this
384
     */
385
    public function withImageType($value)
386
    {
387
        $this->data['ImageType'] = $value;
388
        $this->options['form_params']['ImageType'] = $value;
389
390
        return $this;
391
    }
392
}
393
394
/**
395
 * @method string getIsShow()
396
 * @method string getImageURL()
397
 */
398
class CountCrowd extends Rpc
399
{
400
401
    /**
402
     * @param string $value
403
     *
404
     * @return $this
405
     */
406
    public function withIsShow($value)
407
    {
408
        $this->data['IsShow'] = $value;
409
        $this->options['form_params']['IsShow'] = $value;
410
411
        return $this;
412
    }
413
414
    /**
415
     * @param string $value
416
     *
417
     * @return $this
418
     */
419
    public function withImageURL($value)
420
    {
421
        $this->data['ImageURL'] = $value;
422
        $this->options['form_params']['ImageURL'] = $value;
423
424
        return $this;
425
    }
426
}
427
428
/**
429
 * @method string getName()
430
 */
431
class CreateBodyDb extends Rpc
432
{
433
434
    /**
435
     * @param string $value
436
     *
437
     * @return $this
438
     */
439
    public function withName($value)
440
    {
441
        $this->data['Name'] = $value;
442
        $this->options['form_params']['Name'] = $value;
443
444
        return $this;
445
    }
446
}
447
448
/**
449
 * @method string getDbId()
450
 * @method string getName()
451
 */
452
class CreateBodyPerson extends Rpc
453
{
454
455
    /**
456
     * @param string $value
457
     *
458
     * @return $this
459
     */
460
    public function withDbId($value)
461
    {
462
        $this->data['DbId'] = $value;
463
        $this->options['form_params']['DbId'] = $value;
464
465
        return $this;
466
    }
467
468
    /**
469
     * @param string $value
470
     *
471
     * @return $this
472
     */
473
    public function withName($value)
474
    {
475
        $this->data['Name'] = $value;
476
        $this->options['form_params']['Name'] = $value;
477
478
        return $this;
479
    }
480
}
481
482
/**
483
 * @method string getName()
484
 */
485
class CreateFaceDb extends Rpc
486
{
487
488
    /**
489
     * @param string $value
490
     *
491
     * @return $this
492
     */
493
    public function withName($value)
494
    {
495
        $this->data['Name'] = $value;
496
        $this->options['form_params']['Name'] = $value;
497
498
        return $this;
499
    }
500
}
501
502
/**
503
 * @method string getId()
504
 */
505
class DeleteBodyDb extends Rpc
506
{
507
508
    /**
509
     * @param string $value
510
     *
511
     * @return $this
512
     */
513
    public function withId($value)
514
    {
515
        $this->data['Id'] = $value;
516
        $this->options['form_params']['Id'] = $value;
517
518
        return $this;
519
    }
520
}
521
522
/**
523
 * @method string getPersonId()
524
 * @method string getDbId()
525
 */
526
class DeleteBodyPerson extends Rpc
527
{
528
529
    /**
530
     * @param string $value
531
     *
532
     * @return $this
533
     */
534
    public function withPersonId($value)
535
    {
536
        $this->data['PersonId'] = $value;
537
        $this->options['form_params']['PersonId'] = $value;
538
539
        return $this;
540
    }
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withDbId($value)
548
    {
549
        $this->data['DbId'] = $value;
550
        $this->options['form_params']['DbId'] = $value;
551
552
        return $this;
553
    }
554
}
555
556
/**
557
 * @method string getFaceId()
558
 * @method string getDbName()
559
 */
560
class DeleteFace extends Rpc
561
{
562
563
    /**
564
     * @param string $value
565
     *
566
     * @return $this
567
     */
568
    public function withFaceId($value)
569
    {
570
        $this->data['FaceId'] = $value;
571
        $this->options['form_params']['FaceId'] = $value;
572
573
        return $this;
574
    }
575
576
    /**
577
     * @param string $value
578
     *
579
     * @return $this
580
     */
581
    public function withDbName($value)
582
    {
583
        $this->data['DbName'] = $value;
584
        $this->options['form_params']['DbName'] = $value;
585
586
        return $this;
587
    }
588
}
589
590
/**
591
 * @method string getName()
592
 */
593
class DeleteFaceDb extends Rpc
594
{
595
596
    /**
597
     * @param string $value
598
     *
599
     * @return $this
600
     */
601
    public function withName($value)
602
    {
603
        $this->data['Name'] = $value;
604
        $this->options['form_params']['Name'] = $value;
605
606
        return $this;
607
    }
608
}
609
610
/**
611
 * @method string getEntityId()
612
 * @method string getDbName()
613
 */
614
class DeleteFaceEntity extends Rpc
615
{
616
617
    /**
618
     * @param string $value
619
     *
620
     * @return $this
621
     */
622
    public function withEntityId($value)
623
    {
624
        $this->data['EntityId'] = $value;
625
        $this->options['form_params']['EntityId'] = $value;
626
627
        return $this;
628
    }
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withDbName($value)
636
    {
637
        $this->data['DbName'] = $value;
638
        $this->options['form_params']['DbName'] = $value;
639
640
        return $this;
641
    }
642
}
643
644
/**
645
 * @method string getUserId()
646
 * @method string getTemplateId()
647
 */
648
class DeleteFaceImageTemplate extends Rpc
649
{
650
651
    /**
652
     * @param string $value
653
     *
654
     * @return $this
655
     */
656
    public function withUserId($value)
657
    {
658
        $this->data['UserId'] = $value;
659
        $this->options['form_params']['UserId'] = $value;
660
661
        return $this;
662
    }
663
664
    /**
665
     * @param string $value
666
     *
667
     * @return $this
668
     */
669
    public function withTemplateId($value)
670
    {
671
        $this->data['TemplateId'] = $value;
672
        $this->options['form_params']['TemplateId'] = $value;
673
674
        return $this;
675
    }
676
}
677
678
/**
679
 * @method string getImageURL()
680
 */
681
class DetectBodyCount extends Rpc
682
{
683
684
    /**
685
     * @param string $value
686
     *
687
     * @return $this
688
     */
689
    public function withImageURL($value)
690
    {
691
        $this->data['ImageURL'] = $value;
692
        $this->options['form_params']['ImageURL'] = $value;
693
694
        return $this;
695
    }
696
}
697
698
/**
699
 * @method string getImageURL()
700
 */
701
class DetectCelebrity extends Rpc
702
{
703
704
    /**
705
     * @param string $value
706
     *
707
     * @return $this
708
     */
709
    public function withImageURL($value)
710
    {
711
        $this->data['ImageURL'] = $value;
712
        $this->options['form_params']['ImageURL'] = $value;
713
714
        return $this;
715
    }
716
}
717
718
/**
719
 * @method string getImageURL()
720
 */
721
class DetectChefCap extends Rpc
722
{
723
724
    /**
725
     * @param string $value
726
     *
727
     * @return $this
728
     */
729
    public function withImageURL($value)
730
    {
731
        $this->data['ImageURL'] = $value;
732
        $this->options['form_params']['ImageURL'] = $value;
733
734
        return $this;
735
    }
736
}
737
738
/**
739
 * @method string getImageType()
740
 * @method string getImageURL()
741
 */
742
class DetectFace extends Rpc
743
{
744
745
    /**
746
     * @param string $value
747
     *
748
     * @return $this
749
     */
750
    public function withImageType($value)
751
    {
752
        $this->data['ImageType'] = $value;
753
        $this->options['form_params']['ImageType'] = $value;
754
755
        return $this;
756
    }
757
758
    /**
759
     * @param string $value
760
     *
761
     * @return $this
762
     */
763
    public function withImageURL($value)
764
    {
765
        $this->data['ImageURL'] = $value;
766
        $this->options['form_params']['ImageURL'] = $value;
767
768
        return $this;
769
    }
770
}
771
772
/**
773
 * @method string getImageData()
774
 * @method array getURLList()
775
 * @method string getContinueOnError()
776
 * @method string getWidth()
777
 * @method string getHeight()
778
 */
779
class DetectIPCPedestrian extends Rpc
780
{
781
782
    /**
783
     * @param string $value
784
     *
785
     * @return $this
786
     */
787
    public function withImageData($value)
788
    {
789
        $this->data['ImageData'] = $value;
790
        $this->options['form_params']['ImageData'] = $value;
791
792
        return $this;
793
    }
794
795
    /**
796
     * @param array $uRLList
797
     *
798
     * @return $this
799
     */
800
	public function withURLList(array $uRLList)
801
	{
802
	    $this->data['URLList'] = $uRLList;
803
		foreach ($uRLList as $depth1 => $depth1Value) {
804
			if(isset($depth1Value['DataId'])){
805
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.DataId'] = $depth1Value['DataId'];
806
			}
807
			if(isset($depth1Value['ImageURL'])){
808
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
809
			}
810
		}
811
812
		return $this;
813
    }
814
815
    /**
816
     * @param string $value
817
     *
818
     * @return $this
819
     */
820
    public function withContinueOnError($value)
821
    {
822
        $this->data['ContinueOnError'] = $value;
823
        $this->options['form_params']['ContinueOnError'] = $value;
824
825
        return $this;
826
    }
827
828
    /**
829
     * @param string $value
830
     *
831
     * @return $this
832
     */
833
    public function withWidth($value)
834
    {
835
        $this->data['Width'] = $value;
836
        $this->options['form_params']['Width'] = $value;
837
838
        return $this;
839
    }
840
841
    /**
842
     * @param string $value
843
     *
844
     * @return $this
845
     */
846
    public function withHeight($value)
847
    {
848
        $this->data['Height'] = $value;
849
        $this->options['form_params']['Height'] = $value;
850
851
        return $this;
852
    }
853
}
854
855
/**
856
 * @method array getTasks()
857
 */
858
class DetectLivingFace extends Rpc
859
{
860
861
    /**
862
     * @param array $tasks
863
     *
864
     * @return $this
865
     */
866
	public function withTasks(array $tasks)
867
	{
868
	    $this->data['Tasks'] = $tasks;
869
		foreach ($tasks as $depth1 => $depth1Value) {
870
			if(isset($depth1Value['ImageURL'])){
871
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
872
			}
873
		}
874
875
		return $this;
876
    }
877
}
878
879
/**
880
 * @method string getImageURL()
881
 */
882
class DetectMask extends Rpc
883
{
884
885
    /**
886
     * @param string $value
887
     *
888
     * @return $this
889
     */
890
    public function withImageURL($value)
891
    {
892
        $this->data['ImageURL'] = $value;
893
        $this->options['form_params']['ImageURL'] = $value;
894
895
        return $this;
896
    }
897
}
898
899
/**
900
 * @method string getImageURL()
901
 */
902
class DetectPedestrian extends Rpc
903
{
904
905
    /**
906
     * @param string $value
907
     *
908
     * @return $this
909
     */
910
    public function withImageURL($value)
911
    {
912
        $this->data['ImageURL'] = $value;
913
        $this->options['form_params']['ImageURL'] = $value;
914
915
        return $this;
916
    }
917
}
918
919
/**
920
 * @method string getDetectRegion()
921
 * @method string getRegionType()
922
 * @method string getImageURL()
923
 */
924
class DetectPedestrianIntrusion extends Rpc
925
{
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withDetectRegion($value)
933
    {
934
        $this->data['DetectRegion'] = $value;
935
        $this->options['form_params']['DetectRegion'] = $value;
936
937
        return $this;
938
    }
939
940
    /**
941
     * @param string $value
942
     *
943
     * @return $this
944
     */
945
    public function withRegionType($value)
946
    {
947
        $this->data['RegionType'] = $value;
948
        $this->options['form_params']['RegionType'] = $value;
949
950
        return $this;
951
    }
952
953
    /**
954
     * @param string $value
955
     *
956
     * @return $this
957
     */
958
    public function withImageURL($value)
959
    {
960
        $this->data['ImageURL'] = $value;
961
        $this->options['form_params']['ImageURL'] = $value;
962
963
        return $this;
964
    }
965
}
966
967
/**
968
 * @method string getVideoUrl()
969
 */
970
class DetectVideoLivingFace extends Rpc
971
{
972
973
    /**
974
     * @param string $value
975
     *
976
     * @return $this
977
     */
978
    public function withVideoUrl($value)
979
    {
980
        $this->data['VideoUrl'] = $value;
981
        $this->options['form_params']['VideoUrl'] = $value;
982
983
        return $this;
984
    }
985
}
986
987
/**
988
 * @method string getImageURL()
989
 */
990
class EnhanceFace extends Rpc
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 getMode()
1009
 * @method string getImageURL()
1010
 * @method string getServiceVersion()
1011
 */
1012
class ExtractPedestrianFeatureAttr extends Rpc
1013
{
1014
1015
    /**
1016
     * @param string $value
1017
     *
1018
     * @return $this
1019
     */
1020
    public function withMode($value)
1021
    {
1022
        $this->data['Mode'] = $value;
1023
        $this->options['form_params']['Mode'] = $value;
1024
1025
        return $this;
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
     * @param string $value
1043
     *
1044
     * @return $this
1045
     */
1046
    public function withServiceVersion($value)
1047
    {
1048
        $this->data['ServiceVersion'] = $value;
1049
        $this->options['form_params']['ServiceVersion'] = $value;
1050
1051
        return $this;
1052
    }
1053
}
1054
1055
/**
1056
 * @method array getUrlList()
1057
 * @method string getMode()
1058
 * @method string getImageURL()
1059
 */
1060
class ExtractPedestrianFeatureAttribute extends Rpc
1061
{
1062
1063
    /**
1064
     * @param array $urlList
1065
     *
1066
     * @return $this
1067
     */
1068
	public function withUrlList(array $urlList)
1069
	{
1070
	    $this->data['UrlList'] = $urlList;
1071
		foreach ($urlList as $depth1 => $depth1Value) {
1072
			if(isset($depth1Value['Url'])){
1073
				$this->options['form_params']['UrlList.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1074
			}
1075
		}
1076
1077
		return $this;
1078
    }
1079
1080
    /**
1081
     * @param string $value
1082
     *
1083
     * @return $this
1084
     */
1085
    public function withMode($value)
1086
    {
1087
        $this->data['Mode'] = $value;
1088
        $this->options['form_params']['Mode'] = $value;
1089
1090
        return $this;
1091
    }
1092
1093
    /**
1094
     * @param string $value
1095
     *
1096
     * @return $this
1097
     */
1098
    public function withImageURL($value)
1099
    {
1100
        $this->data['ImageURL'] = $value;
1101
        $this->options['form_params']['ImageURL'] = $value;
1102
1103
        return $this;
1104
    }
1105
}
1106
1107
/**
1108
 * @method string getWhite()
1109
 * @method string getSmooth()
1110
 * @method string getSharp()
1111
 * @method string getImageURL()
1112
 */
1113
class FaceBeauty extends Rpc
1114
{
1115
1116
    /**
1117
     * @param string $value
1118
     *
1119
     * @return $this
1120
     */
1121
    public function withWhite($value)
1122
    {
1123
        $this->data['White'] = $value;
1124
        $this->options['form_params']['White'] = $value;
1125
1126
        return $this;
1127
    }
1128
1129
    /**
1130
     * @param string $value
1131
     *
1132
     * @return $this
1133
     */
1134
    public function withSmooth($value)
1135
    {
1136
        $this->data['Smooth'] = $value;
1137
        $this->options['form_params']['Smooth'] = $value;
1138
1139
        return $this;
1140
    }
1141
1142
    /**
1143
     * @param string $value
1144
     *
1145
     * @return $this
1146
     */
1147
    public function withSharp($value)
1148
    {
1149
        $this->data['Sharp'] = $value;
1150
        $this->options['form_params']['Sharp'] = $value;
1151
1152
        return $this;
1153
    }
1154
1155
    /**
1156
     * @param string $value
1157
     *
1158
     * @return $this
1159
     */
1160
    public function withImageURL($value)
1161
    {
1162
        $this->data['ImageURL'] = $value;
1163
        $this->options['form_params']['ImageURL'] = $value;
1164
1165
        return $this;
1166
    }
1167
}
1168
1169
/**
1170
 * @method string getStrength()
1171
 * @method string getResourceType()
1172
 * @method string getImageURL()
1173
 */
1174
class FaceFilter extends Rpc
1175
{
1176
1177
    /**
1178
     * @param string $value
1179
     *
1180
     * @return $this
1181
     */
1182
    public function withStrength($value)
1183
    {
1184
        $this->data['Strength'] = $value;
1185
        $this->options['form_params']['Strength'] = $value;
1186
1187
        return $this;
1188
    }
1189
1190
    /**
1191
     * @param string $value
1192
     *
1193
     * @return $this
1194
     */
1195
    public function withResourceType($value)
1196
    {
1197
        $this->data['ResourceType'] = $value;
1198
        $this->options['form_params']['ResourceType'] = $value;
1199
1200
        return $this;
1201
    }
1202
1203
    /**
1204
     * @param string $value
1205
     *
1206
     * @return $this
1207
     */
1208
    public function withImageURL($value)
1209
    {
1210
        $this->data['ImageURL'] = $value;
1211
        $this->options['form_params']['ImageURL'] = $value;
1212
1213
        return $this;
1214
    }
1215
}
1216
1217
/**
1218
 * @method string getStrength()
1219
 * @method string getMakeupType()
1220
 * @method string getResourceType()
1221
 * @method string getImageURL()
1222
 */
1223
class FaceMakeup extends Rpc
1224
{
1225
1226
    /**
1227
     * @param string $value
1228
     *
1229
     * @return $this
1230
     */
1231
    public function withStrength($value)
1232
    {
1233
        $this->data['Strength'] = $value;
1234
        $this->options['form_params']['Strength'] = $value;
1235
1236
        return $this;
1237
    }
1238
1239
    /**
1240
     * @param string $value
1241
     *
1242
     * @return $this
1243
     */
1244
    public function withMakeupType($value)
1245
    {
1246
        $this->data['MakeupType'] = $value;
1247
        $this->options['form_params']['MakeupType'] = $value;
1248
1249
        return $this;
1250
    }
1251
1252
    /**
1253
     * @param string $value
1254
     *
1255
     * @return $this
1256
     */
1257
    public function withResourceType($value)
1258
    {
1259
        $this->data['ResourceType'] = $value;
1260
        $this->options['form_params']['ResourceType'] = $value;
1261
1262
        return $this;
1263
    }
1264
1265
    /**
1266
     * @param string $value
1267
     *
1268
     * @return $this
1269
     */
1270
    public function withImageURL($value)
1271
    {
1272
        $this->data['ImageURL'] = $value;
1273
        $this->options['form_params']['ImageURL'] = $value;
1274
1275
        return $this;
1276
    }
1277
}
1278
1279
/**
1280
 * @method string getShapeType()
1281
 * @method string getStrength()
1282
 * @method string getImageURL()
1283
 */
1284
class FaceTidyup extends Rpc
1285
{
1286
1287
    /**
1288
     * @param string $value
1289
     *
1290
     * @return $this
1291
     */
1292
    public function withShapeType($value)
1293
    {
1294
        $this->data['ShapeType'] = $value;
1295
        $this->options['form_params']['ShapeType'] = $value;
1296
1297
        return $this;
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 withImageURL($value)
1319
    {
1320
        $this->data['ImageURL'] = $value;
1321
        $this->options['form_params']['ImageURL'] = $value;
1322
1323
        return $this;
1324
    }
1325
}
1326
1327
/**
1328
 * @method string getAlgoType()
1329
 * @method $this withAlgoType($value)
1330
 * @method string getImageURL()
1331
 * @method $this withImageURL($value)
1332
 */
1333
class GenerateHumanAnimeStyle extends Rpc
1334
{
1335
}
1336
1337
/**
1338
 * @method string getImageURL()
1339
 */
1340
class GenerateHumanSketchStyle extends Rpc
1341
{
1342
1343
    /**
1344
     * @param string $value
1345
     *
1346
     * @return $this
1347
     */
1348
    public function withImageURL($value)
1349
    {
1350
        $this->data['ImageURL'] = $value;
1351
        $this->options['form_params']['ImageURL'] = $value;
1352
1353
        return $this;
1354
    }
1355
}
1356
1357
/**
1358
 * @method string getCertificateNumber()
1359
 * @method string getCertificateName()
1360
 * @method string getMetaInfo()
1361
 */
1362
class GenRealPersonVerificationToken extends Rpc
1363
{
1364
1365
    /**
1366
     * @param string $value
1367
     *
1368
     * @return $this
1369
     */
1370
    public function withCertificateNumber($value)
1371
    {
1372
        $this->data['CertificateNumber'] = $value;
1373
        $this->options['form_params']['CertificateNumber'] = $value;
1374
1375
        return $this;
1376
    }
1377
1378
    /**
1379
     * @param string $value
1380
     *
1381
     * @return $this
1382
     */
1383
    public function withCertificateName($value)
1384
    {
1385
        $this->data['CertificateName'] = $value;
1386
        $this->options['form_params']['CertificateName'] = $value;
1387
1388
        return $this;
1389
    }
1390
1391
    /**
1392
     * @param string $value
1393
     *
1394
     * @return $this
1395
     */
1396
    public function withMetaInfo($value)
1397
    {
1398
        $this->data['MetaInfo'] = $value;
1399
        $this->options['form_params']['MetaInfo'] = $value;
1400
1401
        return $this;
1402
    }
1403
}
1404
1405
/**
1406
 * @method string getPersonId()
1407
 * @method $this withPersonId($value)
1408
 * @method string getDbId()
1409
 * @method $this withDbId($value)
1410
 */
1411
class GetBodyPerson extends Rpc
1412
{
1413
1414
    /** @var string */
1415
    public $method = 'GET';
1416
}
1417
1418
/**
1419
 * @method string getEntityId()
1420
 * @method string getDbName()
1421
 */
1422
class GetFaceEntity extends Rpc
1423
{
1424
1425
    /**
1426
     * @param string $value
1427
     *
1428
     * @return $this
1429
     */
1430
    public function withEntityId($value)
1431
    {
1432
        $this->data['EntityId'] = $value;
1433
        $this->options['form_params']['EntityId'] = $value;
1434
1435
        return $this;
1436
    }
1437
1438
    /**
1439
     * @param string $value
1440
     *
1441
     * @return $this
1442
     */
1443
    public function withDbName($value)
1444
    {
1445
        $this->data['DbName'] = $value;
1446
        $this->options['form_params']['DbName'] = $value;
1447
1448
        return $this;
1449
    }
1450
}
1451
1452
/**
1453
 * @method string getVerificationToken()
1454
 * @method string getMaterialHash()
1455
 */
1456
class GetRealPersonVerificationResult extends Rpc
1457
{
1458
1459
    /**
1460
     * @param string $value
1461
     *
1462
     * @return $this
1463
     */
1464
    public function withVerificationToken($value)
1465
    {
1466
        $this->data['VerificationToken'] = $value;
1467
        $this->options['form_params']['VerificationToken'] = $value;
1468
1469
        return $this;
1470
    }
1471
1472
    /**
1473
     * @param string $value
1474
     *
1475
     * @return $this
1476
     */
1477
    public function withMaterialHash($value)
1478
    {
1479
        $this->data['MaterialHash'] = $value;
1480
        $this->options['form_params']['MaterialHash'] = $value;
1481
1482
        return $this;
1483
    }
1484
}
1485
1486
/**
1487
 * @method string getImageURL()
1488
 */
1489
class HandPosture extends Rpc
1490
{
1491
1492
    /**
1493
     * @param string $value
1494
     *
1495
     * @return $this
1496
     */
1497
    public function withImageURL($value)
1498
    {
1499
        $this->data['ImageURL'] = $value;
1500
        $this->options['form_params']['ImageURL'] = $value;
1501
1502
        return $this;
1503
    }
1504
}
1505
1506
/**
1507
 * @method string getLimit()
1508
 * @method $this withLimit($value)
1509
 * @method string getOffset()
1510
 * @method $this withOffset($value)
1511
 */
1512
class ListBodyDbs extends Rpc
1513
{
1514
1515
    /** @var string */
1516
    public $method = 'GET';
1517
}
1518
1519
/**
1520
 * @method string getLimit()
1521
 * @method $this withLimit($value)
1522
 * @method string getOffset()
1523
 * @method $this withOffset($value)
1524
 * @method string getDbId()
1525
 * @method $this withDbId($value)
1526
 */
1527
class ListBodyPerson extends Rpc
1528
{
1529
1530
    /** @var string */
1531
    public $method = 'GET';
1532
}
1533
1534
class ListFaceDbs extends Rpc
1535
{
1536
}
1537
1538
/**
1539
 * @method string getEntityIdPrefix()
1540
 * @method string getLimit()
1541
 * @method string getOrder()
1542
 * @method string getOffset()
1543
 * @method string getToken()
1544
 * @method string getLabels()
1545
 * @method string getDbName()
1546
 */
1547
class ListFaceEntities extends Rpc
1548
{
1549
1550
    /**
1551
     * @param string $value
1552
     *
1553
     * @return $this
1554
     */
1555
    public function withEntityIdPrefix($value)
1556
    {
1557
        $this->data['EntityIdPrefix'] = $value;
1558
        $this->options['form_params']['EntityIdPrefix'] = $value;
1559
1560
        return $this;
1561
    }
1562
1563
    /**
1564
     * @param string $value
1565
     *
1566
     * @return $this
1567
     */
1568
    public function withLimit($value)
1569
    {
1570
        $this->data['Limit'] = $value;
1571
        $this->options['form_params']['Limit'] = $value;
1572
1573
        return $this;
1574
    }
1575
1576
    /**
1577
     * @param string $value
1578
     *
1579
     * @return $this
1580
     */
1581
    public function withOrder($value)
1582
    {
1583
        $this->data['Order'] = $value;
1584
        $this->options['form_params']['Order'] = $value;
1585
1586
        return $this;
1587
    }
1588
1589
    /**
1590
     * @param string $value
1591
     *
1592
     * @return $this
1593
     */
1594
    public function withOffset($value)
1595
    {
1596
        $this->data['Offset'] = $value;
1597
        $this->options['form_params']['Offset'] = $value;
1598
1599
        return $this;
1600
    }
1601
1602
    /**
1603
     * @param string $value
1604
     *
1605
     * @return $this
1606
     */
1607
    public function withToken($value)
1608
    {
1609
        $this->data['Token'] = $value;
1610
        $this->options['form_params']['Token'] = $value;
1611
1612
        return $this;
1613
    }
1614
1615
    /**
1616
     * @param string $value
1617
     *
1618
     * @return $this
1619
     */
1620
    public function withLabels($value)
1621
    {
1622
        $this->data['Labels'] = $value;
1623
        $this->options['form_params']['Labels'] = $value;
1624
1625
        return $this;
1626
    }
1627
1628
    /**
1629
     * @param string $value
1630
     *
1631
     * @return $this
1632
     */
1633
    public function withDbName($value)
1634
    {
1635
        $this->data['DbName'] = $value;
1636
        $this->options['form_params']['DbName'] = $value;
1637
1638
        return $this;
1639
    }
1640
}
1641
1642
/**
1643
 * @method string getUserId()
1644
 * @method string getTemplateId()
1645
 * @method string getImageURL()
1646
 */
1647
class MergeImageFace extends Rpc
1648
{
1649
1650
    /**
1651
     * @param string $value
1652
     *
1653
     * @return $this
1654
     */
1655
    public function withUserId($value)
1656
    {
1657
        $this->data['UserId'] = $value;
1658
        $this->options['form_params']['UserId'] = $value;
1659
1660
        return $this;
1661
    }
1662
1663
    /**
1664
     * @param string $value
1665
     *
1666
     * @return $this
1667
     */
1668
    public function withTemplateId($value)
1669
    {
1670
        $this->data['TemplateId'] = $value;
1671
        $this->options['form_params']['TemplateId'] = $value;
1672
1673
        return $this;
1674
    }
1675
1676
    /**
1677
     * @param string $value
1678
     *
1679
     * @return $this
1680
     */
1681
    public function withImageURL($value)
1682
    {
1683
        $this->data['ImageURL'] = $value;
1684
        $this->options['form_params']['ImageURL'] = $value;
1685
1686
        return $this;
1687
    }
1688
}
1689
1690
/**
1691
 * @method string getImageURL()
1692
 */
1693
class PedestrianDetectAttribute extends Rpc
1694
{
1695
1696
    /**
1697
     * @param string $value
1698
     *
1699
     * @return $this
1700
     */
1701
    public function withImageURL($value)
1702
    {
1703
        $this->data['ImageURL'] = $value;
1704
        $this->options['form_params']['ImageURL'] = $value;
1705
1706
        return $this;
1707
    }
1708
}
1709
1710
/**
1711
 * @method string getUserId()
1712
 * @method $this withUserId($value)
1713
 * @method string getTemplateId()
1714
 * @method $this withTemplateId($value)
1715
 */
1716
class QueryFaceImageTemplate extends Rpc
1717
{
1718
1719
    /** @var string */
1720
    public $method = 'GET';
1721
}
1722
1723
/**
1724
 * @method array getURLList()
1725
 * @method string getType()
1726
 * @method string getVideoUrl()
1727
 */
1728
class RecognizeAction extends Rpc
1729
{
1730
1731
    /**
1732
     * @param array $uRLList
1733
     *
1734
     * @return $this
1735
     */
1736
	public function withURLList(array $uRLList)
1737
	{
1738
	    $this->data['URLList'] = $uRLList;
1739
		foreach ($uRLList as $depth1 => $depth1Value) {
1740
			if(isset($depth1Value['URL'])){
1741
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
1742
			}
1743
		}
1744
1745
		return $this;
1746
    }
1747
1748
    /**
1749
     * @param string $value
1750
     *
1751
     * @return $this
1752
     */
1753
    public function withType($value)
1754
    {
1755
        $this->data['Type'] = $value;
1756
        $this->options['form_params']['Type'] = $value;
1757
1758
        return $this;
1759
    }
1760
1761
    /**
1762
     * @param string $value
1763
     *
1764
     * @return $this
1765
     */
1766
    public function withVideoUrl($value)
1767
    {
1768
        $this->data['VideoUrl'] = $value;
1769
        $this->options['form_params']['VideoUrl'] = $value;
1770
1771
        return $this;
1772
    }
1773
}
1774
1775
/**
1776
 * @method string getImageURL()
1777
 */
1778
class RecognizeExpression extends Rpc
1779
{
1780
1781
    /**
1782
     * @param string $value
1783
     *
1784
     * @return $this
1785
     */
1786
    public function withImageURL($value)
1787
    {
1788
        $this->data['ImageURL'] = $value;
1789
        $this->options['form_params']['ImageURL'] = $value;
1790
1791
        return $this;
1792
    }
1793
}
1794
1795
/**
1796
 * @method string getImageType()
1797
 * @method string getImageURL()
1798
 */
1799
class RecognizeFace extends Rpc
1800
{
1801
1802
    /**
1803
     * @param string $value
1804
     *
1805
     * @return $this
1806
     */
1807
    public function withImageType($value)
1808
    {
1809
        $this->data['ImageType'] = $value;
1810
        $this->options['form_params']['ImageType'] = $value;
1811
1812
        return $this;
1813
    }
1814
1815
    /**
1816
     * @param string $value
1817
     *
1818
     * @return $this
1819
     */
1820
    public function withImageURL($value)
1821
    {
1822
        $this->data['ImageURL'] = $value;
1823
        $this->options['form_params']['ImageURL'] = $value;
1824
1825
        return $this;
1826
    }
1827
}
1828
1829
/**
1830
 * @method string getGestureType()
1831
 * @method string getAppId()
1832
 * @method string getImageURL()
1833
 */
1834
class RecognizeHandGesture extends Rpc
1835
{
1836
1837
    /**
1838
     * @param string $value
1839
     *
1840
     * @return $this
1841
     */
1842
    public function withGestureType($value)
1843
    {
1844
        $this->data['GestureType'] = $value;
1845
        $this->options['form_params']['GestureType'] = $value;
1846
1847
        return $this;
1848
    }
1849
1850
    /**
1851
     * @param string $value
1852
     *
1853
     * @return $this
1854
     */
1855
    public function withAppId($value)
1856
    {
1857
        $this->data['AppId'] = $value;
1858
        $this->options['form_params']['AppId'] = $value;
1859
1860
        return $this;
1861
    }
1862
1863
    /**
1864
     * @param string $value
1865
     *
1866
     * @return $this
1867
     */
1868
    public function withImageURL($value)
1869
    {
1870
        $this->data['ImageURL'] = $value;
1871
        $this->options['form_params']['ImageURL'] = $value;
1872
1873
        return $this;
1874
    }
1875
}
1876
1877
/**
1878
 * @method array getTask()
1879
 */
1880
class RecognizePublicFace extends Rpc
1881
{
1882
1883
    /**
1884
     * @param array $task
1885
     *
1886
     * @return $this
1887
     */
1888
	public function withTask(array $task)
1889
	{
1890
	    $this->data['Task'] = $task;
1891
		foreach ($task as $depth1 => $depth1Value) {
1892
			if(isset($depth1Value['ImageURL'])){
1893
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
1894
			}
1895
		}
1896
1897
		return $this;
1898
    }
1899
}
1900
1901
/**
1902
 * @method string getMinScore()
1903
 * @method string getLimit()
1904
 * @method string getImages()
1905
 * @method string getDbId()
1906
 */
1907
class SearchBodyTrace extends Rpc
1908
{
1909
1910
    /**
1911
     * @param string $value
1912
     *
1913
     * @return $this
1914
     */
1915
    public function withMinScore($value)
1916
    {
1917
        $this->data['MinScore'] = $value;
1918
        $this->options['form_params']['MinScore'] = $value;
1919
1920
        return $this;
1921
    }
1922
1923
    /**
1924
     * @param string $value
1925
     *
1926
     * @return $this
1927
     */
1928
    public function withLimit($value)
1929
    {
1930
        $this->data['Limit'] = $value;
1931
        $this->options['form_params']['Limit'] = $value;
1932
1933
        return $this;
1934
    }
1935
1936
    /**
1937
     * @param string $value
1938
     *
1939
     * @return $this
1940
     */
1941
    public function withImages($value)
1942
    {
1943
        $this->data['Images'] = $value;
1944
        $this->options['form_params']['Images'] = $value;
1945
1946
        return $this;
1947
    }
1948
1949
    /**
1950
     * @param string $value
1951
     *
1952
     * @return $this
1953
     */
1954
    public function withDbId($value)
1955
    {
1956
        $this->data['DbId'] = $value;
1957
        $this->options['form_params']['DbId'] = $value;
1958
1959
        return $this;
1960
    }
1961
}
1962
1963
/**
1964
 * @method string getLimit()
1965
 * @method string getDbNames()
1966
 * @method $this withDbNames($value)
1967
 * @method string getDbName()
1968
 * @method string getImageUrl()
1969
 */
1970
class SearchFace extends Rpc
1971
{
1972
1973
    /**
1974
     * @param string $value
1975
     *
1976
     * @return $this
1977
     */
1978
    public function withLimit($value)
1979
    {
1980
        $this->data['Limit'] = $value;
1981
        $this->options['form_params']['Limit'] = $value;
1982
1983
        return $this;
1984
    }
1985
1986
    /**
1987
     * @param string $value
1988
     *
1989
     * @return $this
1990
     */
1991
    public function withDbName($value)
1992
    {
1993
        $this->data['DbName'] = $value;
1994
        $this->options['form_params']['DbName'] = $value;
1995
1996
        return $this;
1997
    }
1998
1999
    /**
2000
     * @param string $value
2001
     *
2002
     * @return $this
2003
     */
2004
    public function withImageUrl($value)
2005
    {
2006
        $this->data['ImageUrl'] = $value;
2007
        $this->options['form_params']['ImageUrl'] = $value;
2008
2009
        return $this;
2010
    }
2011
}
2012
2013
/**
2014
 * @method string getTargetImageURL()
2015
 * @method string getSourceImageURL()
2016
 * @method string getEditPart()
2017
 */
2018
class SwapFacialFeatures extends Rpc
2019
{
2020
2021
    /**
2022
     * @param string $value
2023
     *
2024
     * @return $this
2025
     */
2026
    public function withTargetImageURL($value)
2027
    {
2028
        $this->data['TargetImageURL'] = $value;
2029
        $this->options['form_params']['TargetImageURL'] = $value;
2030
2031
        return $this;
2032
    }
2033
2034
    /**
2035
     * @param string $value
2036
     *
2037
     * @return $this
2038
     */
2039
    public function withSourceImageURL($value)
2040
    {
2041
        $this->data['SourceImageURL'] = $value;
2042
        $this->options['form_params']['SourceImageURL'] = $value;
2043
2044
        return $this;
2045
    }
2046
2047
    /**
2048
     * @param string $value
2049
     *
2050
     * @return $this
2051
     */
2052
    public function withEditPart($value)
2053
    {
2054
        $this->data['EditPart'] = $value;
2055
        $this->options['form_params']['EditPart'] = $value;
2056
2057
        return $this;
2058
    }
2059
}
2060
2061
/**
2062
 * @method string getEntityId()
2063
 * @method string getLabels()
2064
 * @method string getDbName()
2065
 */
2066
class UpdateFaceEntity extends Rpc
2067
{
2068
2069
    /**
2070
     * @param string $value
2071
     *
2072
     * @return $this
2073
     */
2074
    public function withEntityId($value)
2075
    {
2076
        $this->data['EntityId'] = $value;
2077
        $this->options['form_params']['EntityId'] = $value;
2078
2079
        return $this;
2080
    }
2081
2082
    /**
2083
     * @param string $value
2084
     *
2085
     * @return $this
2086
     */
2087
    public function withLabels($value)
2088
    {
2089
        $this->data['Labels'] = $value;
2090
        $this->options['form_params']['Labels'] = $value;
2091
2092
        return $this;
2093
    }
2094
2095
    /**
2096
     * @param string $value
2097
     *
2098
     * @return $this
2099
     */
2100
    public function withDbName($value)
2101
    {
2102
        $this->data['DbName'] = $value;
2103
        $this->options['form_params']['DbName'] = $value;
2104
2105
        return $this;
2106
    }
2107
}
2108
2109
/**
2110
 * @method string getImageURL()
2111
 * @method string getRefUrl()
2112
 */
2113
class VerifyFaceMask extends Rpc
2114
{
2115
2116
    /**
2117
     * @param string $value
2118
     *
2119
     * @return $this
2120
     */
2121
    public function withImageURL($value)
2122
    {
2123
        $this->data['ImageURL'] = $value;
2124
        $this->options['form_params']['ImageURL'] = $value;
2125
2126
        return $this;
2127
    }
2128
2129
    /**
2130
     * @param string $value
2131
     *
2132
     * @return $this
2133
     */
2134
    public function withRefUrl($value)
2135
    {
2136
        $this->data['RefUrl'] = $value;
2137
        $this->options['form_params']['RefUrl'] = $value;
2138
2139
        return $this;
2140
    }
2141
}
2142