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 ( 6a421d...cede1c )
by
unknown
06:45
created

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