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 ( 94f1af...2ba245 )
by
unknown
11:28
created

RetouchSkin   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 10
dl 0
loc 40
rs 10
c 0
b 0
f 0

3 Methods

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