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 ( a6f75e...0fda47 )
by
unknown
06:59
created

AddFace::withDbName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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