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 ( 01d15c...68bab0 )
by
unknown
07:46
created

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