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 ( 061925...c9bc1c )
by
unknown
05:59
created

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