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 ( 68e2bb...77aca3 )
by
unknown
06:50
created

ListFaceDbs::withOffset()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Facebody\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddBodyTrace addBodyTrace(array $options = [])
9
 * @method AddFace addFace(array $options = [])
10
 * @method AddFaceEntity addFaceEntity(array $options = [])
11
 * @method AddFaceImageTemplate addFaceImageTemplate(array $options = [])
12
 * @method BatchAddFaces batchAddFaces(array $options = [])
13
 * @method BeautifyBody beautifyBody(array $options = [])
14
 * @method BlurFace blurFace(array $options = [])
15
 * @method BodyPosture bodyPosture(array $options = [])
16
 * @method CompareFace compareFace(array $options = [])
17
 * @method CountCrowd countCrowd(array $options = [])
18
 * @method CreateBodyDb createBodyDb(array $options = [])
19
 * @method CreateBodyPerson createBodyPerson(array $options = [])
20
 * @method CreateFaceDb createFaceDb(array $options = [])
21
 * @method DeleteBodyDb deleteBodyDb(array $options = [])
22
 * @method DeleteBodyPerson deleteBodyPerson(array $options = [])
23
 * @method DeleteFace deleteFace(array $options = [])
24
 * @method DeleteFaceDb deleteFaceDb(array $options = [])
25
 * @method DeleteFaceEntity deleteFaceEntity(array $options = [])
26
 * @method DeleteFaceImageTemplate deleteFaceImageTemplate(array $options = [])
27
 * @method DetectBodyCount detectBodyCount(array $options = [])
28
 * @method DetectCelebrity detectCelebrity(array $options = [])
29
 * @method DetectChefCap detectChefCap(array $options = [])
30
 * @method DetectFace detectFace(array $options = [])
31
 * @method DetectIPCPedestrian detectIPCPedestrian(array $options = [])
32
 * @method DetectLivingFace detectLivingFace(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 getFormatResultToJson()
94
 * @method $this withFormatResultToJson($value)
95
 * @method string getExtraData()
96
 * @method string getPersonId()
97
 * @method string getOssFile()
98
 * @method $this withOssFile($value)
99
 * @method string getImages()
100
 * @method string getRequestProxyBy()
101
 * @method $this withRequestProxyBy($value)
102
 * @method string getDbId()
103
 */
104
class AddBodyTrace extends Rpc
105
{
106
107
    /**
108
     * @param string $value
109
     *
110
     * @return $this
111
     */
112
    public function withExtraData($value)
113
    {
114
        $this->data['ExtraData'] = $value;
115
        $this->options['form_params']['ExtraData'] = $value;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withPersonId($value)
126
    {
127
        $this->data['PersonId'] = $value;
128
        $this->options['form_params']['PersonId'] = $value;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @param string $value
135
     *
136
     * @return $this
137
     */
138
    public function withImages($value)
139
    {
140
        $this->data['Images'] = $value;
141
        $this->options['form_params']['Images'] = $value;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @param string $value
148
     *
149
     * @return $this
150
     */
151
    public function withDbId($value)
152
    {
153
        $this->data['DbId'] = $value;
154
        $this->options['form_params']['DbId'] = $value;
155
156
        return $this;
157
    }
158
}
159
160
/**
161
 * @method string getEntityId()
162
 * @method string getFormatResultToJson()
163
 * @method $this withFormatResultToJson($value)
164
 * @method string getQualityScoreThreshold()
165
 * @method string getSimilarityScoreThresholdBetweenEntity()
166
 * @method string getExtraData()
167
 * @method string getOssFile()
168
 * @method $this withOssFile($value)
169
 * @method string getSimilarityScoreThresholdInEntity()
170
 * @method string getRequestProxyBy()
171
 * @method $this withRequestProxyBy($value)
172
 * @method string getDbName()
173
 * @method string getImageUrl()
174
 */
175
class AddFace extends Rpc
176
{
177
178
    /**
179
     * @param string $value
180
     *
181
     * @return $this
182
     */
183
    public function withEntityId($value)
184
    {
185
        $this->data['EntityId'] = $value;
186
        $this->options['form_params']['EntityId'] = $value;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @param string $value
193
     *
194
     * @return $this
195
     */
196
    public function withQualityScoreThreshold($value)
197
    {
198
        $this->data['QualityScoreThreshold'] = $value;
199
        $this->options['form_params']['QualityScoreThreshold'] = $value;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withSimilarityScoreThresholdBetweenEntity($value)
210
    {
211
        $this->data['SimilarityScoreThresholdBetweenEntity'] = $value;
212
        $this->options['form_params']['SimilarityScoreThresholdBetweenEntity'] = $value;
213
214
        return $this;
215
    }
216
217
    /**
218
     * @param string $value
219
     *
220
     * @return $this
221
     */
222
    public function withExtraData($value)
223
    {
224
        $this->data['ExtraData'] = $value;
225
        $this->options['form_params']['ExtraData'] = $value;
226
227
        return $this;
228
    }
229
230
    /**
231
     * @param string $value
232
     *
233
     * @return $this
234
     */
235
    public function withSimilarityScoreThresholdInEntity($value)
236
    {
237
        $this->data['SimilarityScoreThresholdInEntity'] = $value;
238
        $this->options['form_params']['SimilarityScoreThresholdInEntity'] = $value;
239
240
        return $this;
241
    }
242
243
    /**
244
     * @param string $value
245
     *
246
     * @return $this
247
     */
248
    public function withDbName($value)
249
    {
250
        $this->data['DbName'] = $value;
251
        $this->options['form_params']['DbName'] = $value;
252
253
        return $this;
254
    }
255
256
    /**
257
     * @param string $value
258
     *
259
     * @return $this
260
     */
261
    public function withImageUrl($value)
262
    {
263
        $this->data['ImageUrl'] = $value;
264
        $this->options['form_params']['ImageUrl'] = $value;
265
266
        return $this;
267
    }
268
}
269
270
/**
271
 * @method string getEntityId()
272
 * @method string getFormatResultToJson()
273
 * @method $this withFormatResultToJson($value)
274
 * @method string getOssFile()
275
 * @method $this withOssFile($value)
276
 * @method string getRequestProxyBy()
277
 * @method $this withRequestProxyBy($value)
278
 * @method string getLabels()
279
 * @method string getDbName()
280
 */
281
class AddFaceEntity extends Rpc
282
{
283
284
    /**
285
     * @param string $value
286
     *
287
     * @return $this
288
     */
289
    public function withEntityId($value)
290
    {
291
        $this->data['EntityId'] = $value;
292
        $this->options['form_params']['EntityId'] = $value;
293
294
        return $this;
295
    }
296
297
    /**
298
     * @param string $value
299
     *
300
     * @return $this
301
     */
302
    public function withLabels($value)
303
    {
304
        $this->data['Labels'] = $value;
305
        $this->options['form_params']['Labels'] = $value;
306
307
        return $this;
308
    }
309
310
    /**
311
     * @param string $value
312
     *
313
     * @return $this
314
     */
315
    public function withDbName($value)
316
    {
317
        $this->data['DbName'] = $value;
318
        $this->options['form_params']['DbName'] = $value;
319
320
        return $this;
321
    }
322
}
323
324
/**
325
 * @method string getFormatResultToJson()
326
 * @method $this withFormatResultToJson($value)
327
 * @method string getUserId()
328
 * @method string getOssFile()
329
 * @method $this withOssFile($value)
330
 * @method string getRequestProxyBy()
331
 * @method $this withRequestProxyBy($value)
332
 * @method string getImageURL()
333
 */
334
class AddFaceImageTemplate extends Rpc
335
{
336
337
    /**
338
     * @param string $value
339
     *
340
     * @return $this
341
     */
342
    public function withUserId($value)
343
    {
344
        $this->data['UserId'] = $value;
345
        $this->options['form_params']['UserId'] = $value;
346
347
        return $this;
348
    }
349
350
    /**
351
     * @param string $value
352
     *
353
     * @return $this
354
     */
355
    public function withImageURL($value)
356
    {
357
        $this->data['ImageURL'] = $value;
358
        $this->options['form_params']['ImageURL'] = $value;
359
360
        return $this;
361
    }
362
}
363
364
/**
365
 * @method string getEntityId()
366
 * @method string getFormatResultToJson()
367
 * @method $this withFormatResultToJson($value)
368
 * @method string getQualityScoreThreshold()
369
 * @method string getSimilarityScoreThresholdBetweenEntity()
370
 * @method string getOssFile()
371
 * @method $this withOssFile($value)
372
 * @method string getSimilarityScoreThresholdInEntity()
373
 * @method string getRequestProxyBy()
374
 * @method $this withRequestProxyBy($value)
375
 * @method string getDbName()
376
 * @method string getFaces()
377
 */
378
class BatchAddFaces extends Rpc
379
{
380
381
    /**
382
     * @param string $value
383
     *
384
     * @return $this
385
     */
386
    public function withEntityId($value)
387
    {
388
        $this->data['EntityId'] = $value;
389
        $this->options['form_params']['EntityId'] = $value;
390
391
        return $this;
392
    }
393
394
    /**
395
     * @param string $value
396
     *
397
     * @return $this
398
     */
399
    public function withQualityScoreThreshold($value)
400
    {
401
        $this->data['QualityScoreThreshold'] = $value;
402
        $this->options['form_params']['QualityScoreThreshold'] = $value;
403
404
        return $this;
405
    }
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withSimilarityScoreThresholdBetweenEntity($value)
413
    {
414
        $this->data['SimilarityScoreThresholdBetweenEntity'] = $value;
415
        $this->options['form_params']['SimilarityScoreThresholdBetweenEntity'] = $value;
416
417
        return $this;
418
    }
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withSimilarityScoreThresholdInEntity($value)
426
    {
427
        $this->data['SimilarityScoreThresholdInEntity'] = $value;
428
        $this->options['form_params']['SimilarityScoreThresholdInEntity'] = $value;
429
430
        return $this;
431
    }
432
433
    /**
434
     * @param string $value
435
     *
436
     * @return $this
437
     */
438
    public function withDbName($value)
439
    {
440
        $this->data['DbName'] = $value;
441
        $this->options['form_params']['DbName'] = $value;
442
443
        return $this;
444
    }
445
446
    /**
447
     * @param string $value
448
     *
449
     * @return $this
450
     */
451
    public function withFaces($value)
452
    {
453
        $this->data['Faces'] = $value;
454
        $this->options['form_params']['Faces'] = $value;
455
456
        return $this;
457
    }
458
}
459
460
/**
461
 * @method string getBodyBoxes()
462
 * @method string getLengthenDegree()
463
 * @method string getMaleLiquifyDegree()
464
 * @method string getFormatResultToJson()
465
 * @method $this withFormatResultToJson($value)
466
 * @method string getOriginalWidth()
467
 * @method string getIsPregnant()
468
 * @method string getFaceList()
469
 * @method string getOssFile()
470
 * @method $this withOssFile($value)
471
 * @method string getAgeRange()
472
 * @method string getCustom()
473
 * @method string getRequestProxyBy()
474
 * @method $this withRequestProxyBy($value)
475
 * @method string getOriginalHeight()
476
 * @method string getImageURL()
477
 * @method string getFemaleLiquifyDegree()
478
 * @method string getPoseList()
479
 */
480
class BeautifyBody extends Rpc
481
{
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withBodyBoxes($value)
489
    {
490
        $this->data['BodyBoxes'] = $value;
491
        $this->options['form_params']['BodyBoxes'] = $value;
492
493
        return $this;
494
    }
495
496
    /**
497
     * @param string $value
498
     *
499
     * @return $this
500
     */
501
    public function withLengthenDegree($value)
502
    {
503
        $this->data['LengthenDegree'] = $value;
504
        $this->options['form_params']['LengthenDegree'] = $value;
505
506
        return $this;
507
    }
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withMaleLiquifyDegree($value)
515
    {
516
        $this->data['MaleLiquifyDegree'] = $value;
517
        $this->options['form_params']['MaleLiquifyDegree'] = $value;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withOriginalWidth($value)
528
    {
529
        $this->data['OriginalWidth'] = $value;
530
        $this->options['form_params']['OriginalWidth'] = $value;
531
532
        return $this;
533
    }
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withIsPregnant($value)
541
    {
542
        $this->data['IsPregnant'] = $value;
543
        $this->options['form_params']['IsPregnant'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withFaceList($value)
554
    {
555
        $this->data['FaceList'] = $value;
556
        $this->options['form_params']['FaceList'] = $value;
557
558
        return $this;
559
    }
560
561
    /**
562
     * @param string $value
563
     *
564
     * @return $this
565
     */
566
    public function withAgeRange($value)
567
    {
568
        $this->data['AgeRange'] = $value;
569
        $this->options['form_params']['AgeRange'] = $value;
570
571
        return $this;
572
    }
573
574
    /**
575
     * @param string $value
576
     *
577
     * @return $this
578
     */
579
    public function withCustom($value)
580
    {
581
        $this->data['Custom'] = $value;
582
        $this->options['form_params']['Custom'] = $value;
583
584
        return $this;
585
    }
586
587
    /**
588
     * @param string $value
589
     *
590
     * @return $this
591
     */
592
    public function withOriginalHeight($value)
593
    {
594
        $this->data['OriginalHeight'] = $value;
595
        $this->options['form_params']['OriginalHeight'] = $value;
596
597
        return $this;
598
    }
599
600
    /**
601
     * @param string $value
602
     *
603
     * @return $this
604
     */
605
    public function withImageURL($value)
606
    {
607
        $this->data['ImageURL'] = $value;
608
        $this->options['form_params']['ImageURL'] = $value;
609
610
        return $this;
611
    }
612
613
    /**
614
     * @param string $value
615
     *
616
     * @return $this
617
     */
618
    public function withFemaleLiquifyDegree($value)
619
    {
620
        $this->data['FemaleLiquifyDegree'] = $value;
621
        $this->options['form_params']['FemaleLiquifyDegree'] = $value;
622
623
        return $this;
624
    }
625
626
    /**
627
     * @param string $value
628
     *
629
     * @return $this
630
     */
631
    public function withPoseList($value)
632
    {
633
        $this->data['PoseList'] = $value;
634
        $this->options['form_params']['PoseList'] = $value;
635
636
        return $this;
637
    }
638
}
639
640
/**
641
 * @method string getFormatResultToJson()
642
 * @method $this withFormatResultToJson($value)
643
 * @method string getOssFile()
644
 * @method $this withOssFile($value)
645
 * @method string getRequestProxyBy()
646
 * @method $this withRequestProxyBy($value)
647
 * @method string getImageURL()
648
 */
649
class BlurFace extends Rpc
650
{
651
652
    /**
653
     * @param string $value
654
     *
655
     * @return $this
656
     */
657
    public function withImageURL($value)
658
    {
659
        $this->data['ImageURL'] = $value;
660
        $this->options['form_params']['ImageURL'] = $value;
661
662
        return $this;
663
    }
664
}
665
666
/**
667
 * @method string getFormatResultToJson()
668
 * @method $this withFormatResultToJson($value)
669
 * @method string getOssFile()
670
 * @method $this withOssFile($value)
671
 * @method string getRequestProxyBy()
672
 * @method $this withRequestProxyBy($value)
673
 * @method string getImageURL()
674
 */
675
class BodyPosture extends Rpc
676
{
677
678
    /**
679
     * @param string $value
680
     *
681
     * @return $this
682
     */
683
    public function withImageURL($value)
684
    {
685
        $this->data['ImageURL'] = $value;
686
        $this->options['form_params']['ImageURL'] = $value;
687
688
        return $this;
689
    }
690
}
691
692
/**
693
 * @method string getImageDataA()
694
 * @method string getImageDataB()
695
 * @method string getFormatResultToJson()
696
 * @method $this withFormatResultToJson($value)
697
 * @method string getQualityScoreThreshold()
698
 * @method string getImageURLB()
699
 * @method string getImageURLA()
700
 * @method string getOssFile()
701
 * @method $this withOssFile($value)
702
 * @method string getImageType()
703
 * @method string getRequestProxyBy()
704
 * @method $this withRequestProxyBy($value)
705
 */
706
class CompareFace extends Rpc
707
{
708
709
    /**
710
     * @param string $value
711
     *
712
     * @return $this
713
     */
714
    public function withImageDataA($value)
715
    {
716
        $this->data['ImageDataA'] = $value;
717
        $this->options['form_params']['ImageDataA'] = $value;
718
719
        return $this;
720
    }
721
722
    /**
723
     * @param string $value
724
     *
725
     * @return $this
726
     */
727
    public function withImageDataB($value)
728
    {
729
        $this->data['ImageDataB'] = $value;
730
        $this->options['form_params']['ImageDataB'] = $value;
731
732
        return $this;
733
    }
734
735
    /**
736
     * @param string $value
737
     *
738
     * @return $this
739
     */
740
    public function withQualityScoreThreshold($value)
741
    {
742
        $this->data['QualityScoreThreshold'] = $value;
743
        $this->options['form_params']['QualityScoreThreshold'] = $value;
744
745
        return $this;
746
    }
747
748
    /**
749
     * @param string $value
750
     *
751
     * @return $this
752
     */
753
    public function withImageURLB($value)
754
    {
755
        $this->data['ImageURLB'] = $value;
756
        $this->options['form_params']['ImageURLB'] = $value;
757
758
        return $this;
759
    }
760
761
    /**
762
     * @param string $value
763
     *
764
     * @return $this
765
     */
766
    public function withImageURLA($value)
767
    {
768
        $this->data['ImageURLA'] = $value;
769
        $this->options['form_params']['ImageURLA'] = $value;
770
771
        return $this;
772
    }
773
774
    /**
775
     * @param string $value
776
     *
777
     * @return $this
778
     */
779
    public function withImageType($value)
780
    {
781
        $this->data['ImageType'] = $value;
782
        $this->options['form_params']['ImageType'] = $value;
783
784
        return $this;
785
    }
786
}
787
788
/**
789
 * @method string getFormatResultToJson()
790
 * @method $this withFormatResultToJson($value)
791
 * @method string getIsShow()
792
 * @method string getOssFile()
793
 * @method $this withOssFile($value)
794
 * @method string getRequestProxyBy()
795
 * @method $this withRequestProxyBy($value)
796
 * @method string getImageURL()
797
 */
798
class CountCrowd extends Rpc
799
{
800
801
    /**
802
     * @param string $value
803
     *
804
     * @return $this
805
     */
806
    public function withIsShow($value)
807
    {
808
        $this->data['IsShow'] = $value;
809
        $this->options['form_params']['IsShow'] = $value;
810
811
        return $this;
812
    }
813
814
    /**
815
     * @param string $value
816
     *
817
     * @return $this
818
     */
819
    public function withImageURL($value)
820
    {
821
        $this->data['ImageURL'] = $value;
822
        $this->options['form_params']['ImageURL'] = $value;
823
824
        return $this;
825
    }
826
}
827
828
/**
829
 * @method string getFormatResultToJson()
830
 * @method $this withFormatResultToJson($value)
831
 * @method string getOssFile()
832
 * @method $this withOssFile($value)
833
 * @method string getRequestProxyBy()
834
 * @method $this withRequestProxyBy($value)
835
 * @method string getName()
836
 */
837
class CreateBodyDb extends Rpc
838
{
839
840
    /**
841
     * @param string $value
842
     *
843
     * @return $this
844
     */
845
    public function withName($value)
846
    {
847
        $this->data['Name'] = $value;
848
        $this->options['form_params']['Name'] = $value;
849
850
        return $this;
851
    }
852
}
853
854
/**
855
 * @method string getFormatResultToJson()
856
 * @method $this withFormatResultToJson($value)
857
 * @method string getOssFile()
858
 * @method $this withOssFile($value)
859
 * @method string getRequestProxyBy()
860
 * @method $this withRequestProxyBy($value)
861
 * @method string getDbId()
862
 * @method string getName()
863
 */
864
class CreateBodyPerson extends Rpc
865
{
866
867
    /**
868
     * @param string $value
869
     *
870
     * @return $this
871
     */
872
    public function withDbId($value)
873
    {
874
        $this->data['DbId'] = $value;
875
        $this->options['form_params']['DbId'] = $value;
876
877
        return $this;
878
    }
879
880
    /**
881
     * @param string $value
882
     *
883
     * @return $this
884
     */
885
    public function withName($value)
886
    {
887
        $this->data['Name'] = $value;
888
        $this->options['form_params']['Name'] = $value;
889
890
        return $this;
891
    }
892
}
893
894
/**
895
 * @method string getFormatResultToJson()
896
 * @method $this withFormatResultToJson($value)
897
 * @method string getOssFile()
898
 * @method $this withOssFile($value)
899
 * @method string getRequestProxyBy()
900
 * @method $this withRequestProxyBy($value)
901
 * @method string getName()
902
 */
903
class CreateFaceDb extends Rpc
904
{
905
906
    /**
907
     * @param string $value
908
     *
909
     * @return $this
910
     */
911
    public function withName($value)
912
    {
913
        $this->data['Name'] = $value;
914
        $this->options['form_params']['Name'] = $value;
915
916
        return $this;
917
    }
918
}
919
920
/**
921
 * @method string getFormatResultToJson()
922
 * @method $this withFormatResultToJson($value)
923
 * @method string getId()
924
 * @method string getOssFile()
925
 * @method $this withOssFile($value)
926
 * @method string getRequestProxyBy()
927
 * @method $this withRequestProxyBy($value)
928
 */
929
class DeleteBodyDb extends Rpc
930
{
931
932
    /**
933
     * @param string $value
934
     *
935
     * @return $this
936
     */
937
    public function withId($value)
938
    {
939
        $this->data['Id'] = $value;
940
        $this->options['form_params']['Id'] = $value;
941
942
        return $this;
943
    }
944
}
945
946
/**
947
 * @method string getFormatResultToJson()
948
 * @method $this withFormatResultToJson($value)
949
 * @method string getPersonId()
950
 * @method string getOssFile()
951
 * @method $this withOssFile($value)
952
 * @method string getRequestProxyBy()
953
 * @method $this withRequestProxyBy($value)
954
 * @method string getDbId()
955
 */
956
class DeleteBodyPerson extends Rpc
957
{
958
959
    /**
960
     * @param string $value
961
     *
962
     * @return $this
963
     */
964
    public function withPersonId($value)
965
    {
966
        $this->data['PersonId'] = $value;
967
        $this->options['form_params']['PersonId'] = $value;
968
969
        return $this;
970
    }
971
972
    /**
973
     * @param string $value
974
     *
975
     * @return $this
976
     */
977
    public function withDbId($value)
978
    {
979
        $this->data['DbId'] = $value;
980
        $this->options['form_params']['DbId'] = $value;
981
982
        return $this;
983
    }
984
}
985
986
/**
987
 * @method string getFormatResultToJson()
988
 * @method $this withFormatResultToJson($value)
989
 * @method string getOssFile()
990
 * @method $this withOssFile($value)
991
 * @method string getFaceId()
992
 * @method string getRequestProxyBy()
993
 * @method $this withRequestProxyBy($value)
994
 * @method string getDbName()
995
 */
996
class DeleteFace extends Rpc
997
{
998
999
    /**
1000
     * @param string $value
1001
     *
1002
     * @return $this
1003
     */
1004
    public function withFaceId($value)
1005
    {
1006
        $this->data['FaceId'] = $value;
1007
        $this->options['form_params']['FaceId'] = $value;
1008
1009
        return $this;
1010
    }
1011
1012
    /**
1013
     * @param string $value
1014
     *
1015
     * @return $this
1016
     */
1017
    public function withDbName($value)
1018
    {
1019
        $this->data['DbName'] = $value;
1020
        $this->options['form_params']['DbName'] = $value;
1021
1022
        return $this;
1023
    }
1024
}
1025
1026
/**
1027
 * @method string getFormatResultToJson()
1028
 * @method $this withFormatResultToJson($value)
1029
 * @method string getOssFile()
1030
 * @method $this withOssFile($value)
1031
 * @method string getRequestProxyBy()
1032
 * @method $this withRequestProxyBy($value)
1033
 * @method string getName()
1034
 */
1035
class DeleteFaceDb extends Rpc
1036
{
1037
1038
    /**
1039
     * @param string $value
1040
     *
1041
     * @return $this
1042
     */
1043
    public function withName($value)
1044
    {
1045
        $this->data['Name'] = $value;
1046
        $this->options['form_params']['Name'] = $value;
1047
1048
        return $this;
1049
    }
1050
}
1051
1052
/**
1053
 * @method string getEntityId()
1054
 * @method string getFormatResultToJson()
1055
 * @method $this withFormatResultToJson($value)
1056
 * @method string getOssFile()
1057
 * @method $this withOssFile($value)
1058
 * @method string getRequestProxyBy()
1059
 * @method $this withRequestProxyBy($value)
1060
 * @method string getDbName()
1061
 */
1062
class DeleteFaceEntity extends Rpc
1063
{
1064
1065
    /**
1066
     * @param string $value
1067
     *
1068
     * @return $this
1069
     */
1070
    public function withEntityId($value)
1071
    {
1072
        $this->data['EntityId'] = $value;
1073
        $this->options['form_params']['EntityId'] = $value;
1074
1075
        return $this;
1076
    }
1077
1078
    /**
1079
     * @param string $value
1080
     *
1081
     * @return $this
1082
     */
1083
    public function withDbName($value)
1084
    {
1085
        $this->data['DbName'] = $value;
1086
        $this->options['form_params']['DbName'] = $value;
1087
1088
        return $this;
1089
    }
1090
}
1091
1092
/**
1093
 * @method string getFormatResultToJson()
1094
 * @method $this withFormatResultToJson($value)
1095
 * @method string getUserId()
1096
 * @method string getOssFile()
1097
 * @method $this withOssFile($value)
1098
 * @method string getTemplateId()
1099
 * @method string getRequestProxyBy()
1100
 * @method $this withRequestProxyBy($value)
1101
 */
1102
class DeleteFaceImageTemplate extends Rpc
1103
{
1104
1105
    /**
1106
     * @param string $value
1107
     *
1108
     * @return $this
1109
     */
1110
    public function withUserId($value)
1111
    {
1112
        $this->data['UserId'] = $value;
1113
        $this->options['form_params']['UserId'] = $value;
1114
1115
        return $this;
1116
    }
1117
1118
    /**
1119
     * @param string $value
1120
     *
1121
     * @return $this
1122
     */
1123
    public function withTemplateId($value)
1124
    {
1125
        $this->data['TemplateId'] = $value;
1126
        $this->options['form_params']['TemplateId'] = $value;
1127
1128
        return $this;
1129
    }
1130
}
1131
1132
/**
1133
 * @method string getFormatResultToJson()
1134
 * @method $this withFormatResultToJson($value)
1135
 * @method string getOssFile()
1136
 * @method $this withOssFile($value)
1137
 * @method string getRequestProxyBy()
1138
 * @method $this withRequestProxyBy($value)
1139
 * @method string getImageURL()
1140
 */
1141
class DetectBodyCount extends Rpc
1142
{
1143
1144
    /**
1145
     * @param string $value
1146
     *
1147
     * @return $this
1148
     */
1149
    public function withImageURL($value)
1150
    {
1151
        $this->data['ImageURL'] = $value;
1152
        $this->options['form_params']['ImageURL'] = $value;
1153
1154
        return $this;
1155
    }
1156
}
1157
1158
/**
1159
 * @method string getFormatResultToJson()
1160
 * @method $this withFormatResultToJson($value)
1161
 * @method string getOssFile()
1162
 * @method $this withOssFile($value)
1163
 * @method string getRequestProxyBy()
1164
 * @method $this withRequestProxyBy($value)
1165
 * @method string getImageURL()
1166
 */
1167
class DetectCelebrity extends Rpc
1168
{
1169
1170
    /**
1171
     * @param string $value
1172
     *
1173
     * @return $this
1174
     */
1175
    public function withImageURL($value)
1176
    {
1177
        $this->data['ImageURL'] = $value;
1178
        $this->options['form_params']['ImageURL'] = $value;
1179
1180
        return $this;
1181
    }
1182
}
1183
1184
/**
1185
 * @method string getFormatResultToJson()
1186
 * @method $this withFormatResultToJson($value)
1187
 * @method string getOssFile()
1188
 * @method $this withOssFile($value)
1189
 * @method string getRequestProxyBy()
1190
 * @method $this withRequestProxyBy($value)
1191
 * @method string getImageURL()
1192
 */
1193
class DetectChefCap extends Rpc
1194
{
1195
1196
    /**
1197
     * @param string $value
1198
     *
1199
     * @return $this
1200
     */
1201
    public function withImageURL($value)
1202
    {
1203
        $this->data['ImageURL'] = $value;
1204
        $this->options['form_params']['ImageURL'] = $value;
1205
1206
        return $this;
1207
    }
1208
}
1209
1210
/**
1211
 * @method string getMaxFaceNumber()
1212
 * @method string getFormatResultToJson()
1213
 * @method $this withFormatResultToJson($value)
1214
 * @method string getLandmark()
1215
 * @method string getOssFile()
1216
 * @method $this withOssFile($value)
1217
 * @method string getImageType()
1218
 * @method string getPose()
1219
 * @method string getRequestProxyBy()
1220
 * @method $this withRequestProxyBy($value)
1221
 * @method string getQuality()
1222
 * @method string getImageURL()
1223
 */
1224
class DetectFace extends Rpc
1225
{
1226
1227
    /**
1228
     * @param string $value
1229
     *
1230
     * @return $this
1231
     */
1232
    public function withMaxFaceNumber($value)
1233
    {
1234
        $this->data['MaxFaceNumber'] = $value;
1235
        $this->options['form_params']['MaxFaceNumber'] = $value;
1236
1237
        return $this;
1238
    }
1239
1240
    /**
1241
     * @param string $value
1242
     *
1243
     * @return $this
1244
     */
1245
    public function withLandmark($value)
1246
    {
1247
        $this->data['Landmark'] = $value;
1248
        $this->options['form_params']['Landmark'] = $value;
1249
1250
        return $this;
1251
    }
1252
1253
    /**
1254
     * @param string $value
1255
     *
1256
     * @return $this
1257
     */
1258
    public function withImageType($value)
1259
    {
1260
        $this->data['ImageType'] = $value;
1261
        $this->options['form_params']['ImageType'] = $value;
1262
1263
        return $this;
1264
    }
1265
1266
    /**
1267
     * @param string $value
1268
     *
1269
     * @return $this
1270
     */
1271
    public function withPose($value)
1272
    {
1273
        $this->data['Pose'] = $value;
1274
        $this->options['form_params']['Pose'] = $value;
1275
1276
        return $this;
1277
    }
1278
1279
    /**
1280
     * @param string $value
1281
     *
1282
     * @return $this
1283
     */
1284
    public function withQuality($value)
1285
    {
1286
        $this->data['Quality'] = $value;
1287
        $this->options['form_params']['Quality'] = $value;
1288
1289
        return $this;
1290
    }
1291
1292
    /**
1293
     * @param string $value
1294
     *
1295
     * @return $this
1296
     */
1297
    public function withImageURL($value)
1298
    {
1299
        $this->data['ImageURL'] = $value;
1300
        $this->options['form_params']['ImageURL'] = $value;
1301
1302
        return $this;
1303
    }
1304
}
1305
1306
/**
1307
 * @method string getFormatResultToJson()
1308
 * @method $this withFormatResultToJson($value)
1309
 * @method string getContinueOnError()
1310
 * @method string getOssFile()
1311
 * @method $this withOssFile($value)
1312
 * @method string getHeight()
1313
 * @method string getImageData()
1314
 * @method string getRequestProxyBy()
1315
 * @method $this withRequestProxyBy($value)
1316
 * @method string getDataId()
1317
 * @method string getImageURL()
1318
 * @method string getWidth()
1319
 */
1320
class DetectIPCPedestrian extends Rpc
1321
{
1322
1323
    /**
1324
     * @param string $value
1325
     *
1326
     * @return $this
1327
     */
1328
    public function withContinueOnError($value)
1329
    {
1330
        $this->data['ContinueOnError'] = $value;
1331
        $this->options['form_params']['ContinueOnError'] = $value;
1332
1333
        return $this;
1334
    }
1335
1336
    /**
1337
     * @param string $value
1338
     *
1339
     * @return $this
1340
     */
1341
    public function withHeight($value)
1342
    {
1343
        $this->data['Height'] = $value;
1344
        $this->options['form_params']['Height'] = $value;
1345
1346
        return $this;
1347
    }
1348
1349
    /**
1350
     * @param string $value
1351
     *
1352
     * @return $this
1353
     */
1354
    public function withImageData($value)
1355
    {
1356
        $this->data['ImageData'] = $value;
1357
        $this->options['form_params']['ImageData'] = $value;
1358
1359
        return $this;
1360
    }
1361
1362
    /**
1363
     * @param string $value
1364
     *
1365
     * @return $this
1366
     */
1367
    public function withDataId($value)
1368
    {
1369
        $this->data['DataId'] = $value;
1370
        $this->options['form_params']['DataId'] = $value;
1371
1372
        return $this;
1373
    }
1374
1375
    /**
1376
     * @param string $value
1377
     *
1378
     * @return $this
1379
     */
1380
    public function withImageURL($value)
1381
    {
1382
        $this->data['ImageURL'] = $value;
1383
        $this->options['form_params']['ImageURL'] = $value;
1384
1385
        return $this;
1386
    }
1387
1388
    /**
1389
     * @param string $value
1390
     *
1391
     * @return $this
1392
     */
1393
    public function withWidth($value)
1394
    {
1395
        $this->data['Width'] = $value;
1396
        $this->options['form_params']['Width'] = $value;
1397
1398
        return $this;
1399
    }
1400
}
1401
1402
/**
1403
 * @method string getFormatResultToJson()
1404
 * @method $this withFormatResultToJson($value)
1405
 * @method string getOssFile()
1406
 * @method $this withOssFile($value)
1407
 * @method array getTasks()
1408
 * @method string getRequestProxyBy()
1409
 * @method $this withRequestProxyBy($value)
1410
 */
1411
class DetectLivingFace extends Rpc
1412
{
1413
1414
    /**
1415
     * @param array $tasks
1416
     *
1417
     * @return $this
1418
     */
1419
	public function withTasks(array $tasks)
1420
	{
1421
	    $this->data['Tasks'] = $tasks;
1422
		foreach ($tasks as $depth1 => $depth1Value) {
1423
			if(isset($depth1Value['ImageURL'])){
1424
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
1425
			}
1426
			if(isset($depth1Value['ImageData'])){
1427
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageData'] = $depth1Value['ImageData'];
1428
			}
1429
		}
1430
1431
		return $this;
1432
    }
1433
}
1434
1435
/**
1436
 * @method string getFormatResultToJson()
1437
 * @method $this withFormatResultToJson($value)
1438
 * @method string getOssFile()
1439
 * @method $this withOssFile($value)
1440
 * @method string getRequestProxyBy()
1441
 * @method $this withRequestProxyBy($value)
1442
 * @method string getImageURL()
1443
 */
1444
class DetectPedestrian extends Rpc
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 getDetectRegion()
1463
 * @method string getRegionType()
1464
 * @method string getFormatResultToJson()
1465
 * @method $this withFormatResultToJson($value)
1466
 * @method string getOssFile()
1467
 * @method $this withOssFile($value)
1468
 * @method string getRequestProxyBy()
1469
 * @method $this withRequestProxyBy($value)
1470
 * @method string getImageURL()
1471
 */
1472
class DetectPedestrianIntrusion extends Rpc
1473
{
1474
1475
    /**
1476
     * @param string $value
1477
     *
1478
     * @return $this
1479
     */
1480
    public function withDetectRegion($value)
1481
    {
1482
        $this->data['DetectRegion'] = $value;
1483
        $this->options['form_params']['DetectRegion'] = $value;
1484
1485
        return $this;
1486
    }
1487
1488
    /**
1489
     * @param string $value
1490
     *
1491
     * @return $this
1492
     */
1493
    public function withRegionType($value)
1494
    {
1495
        $this->data['RegionType'] = $value;
1496
        $this->options['form_params']['RegionType'] = $value;
1497
1498
        return $this;
1499
    }
1500
1501
    /**
1502
     * @param string $value
1503
     *
1504
     * @return $this
1505
     */
1506
    public function withImageURL($value)
1507
    {
1508
        $this->data['ImageURL'] = $value;
1509
        $this->options['form_params']['ImageURL'] = $value;
1510
1511
        return $this;
1512
    }
1513
}
1514
1515
/**
1516
 * @method string getFormatResultToJson()
1517
 * @method $this withFormatResultToJson($value)
1518
 * @method string getOssFile()
1519
 * @method $this withOssFile($value)
1520
 * @method string getRequestProxyBy()
1521
 * @method $this withRequestProxyBy($value)
1522
 * @method string getVideoUrl()
1523
 */
1524
class DetectVideoLivingFace extends Rpc
1525
{
1526
1527
    /**
1528
     * @param string $value
1529
     *
1530
     * @return $this
1531
     */
1532
    public function withVideoUrl($value)
1533
    {
1534
        $this->data['VideoUrl'] = $value;
1535
        $this->options['form_params']['VideoUrl'] = $value;
1536
1537
        return $this;
1538
    }
1539
}
1540
1541
/**
1542
 * @method string getFormatResultToJson()
1543
 * @method $this withFormatResultToJson($value)
1544
 * @method string getOssFile()
1545
 * @method $this withOssFile($value)
1546
 * @method string getRequestProxyBy()
1547
 * @method $this withRequestProxyBy($value)
1548
 * @method string getImageURL()
1549
 */
1550
class EnhanceFace extends Rpc
1551
{
1552
1553
    /**
1554
     * @param string $value
1555
     *
1556
     * @return $this
1557
     */
1558
    public function withImageURL($value)
1559
    {
1560
        $this->data['ImageURL'] = $value;
1561
        $this->options['form_params']['ImageURL'] = $value;
1562
1563
        return $this;
1564
    }
1565
}
1566
1567
/**
1568
 * @method string getFormatResultToJson()
1569
 * @method $this withFormatResultToJson($value)
1570
 * @method string getOssFile()
1571
 * @method $this withOssFile($value)
1572
 * @method string getImageData()
1573
 * @method string getRequestProxyBy()
1574
 * @method $this withRequestProxyBy($value)
1575
 * @method string getImageURL()
1576
 */
1577
class ExtractFingerPrint extends Rpc
1578
{
1579
1580
    /**
1581
     * @param string $value
1582
     *
1583
     * @return $this
1584
     */
1585
    public function withImageData($value)
1586
    {
1587
        $this->data['ImageData'] = $value;
1588
        $this->options['form_params']['ImageData'] = $value;
1589
1590
        return $this;
1591
    }
1592
1593
    /**
1594
     * @param string $value
1595
     *
1596
     * @return $this
1597
     */
1598
    public function withImageURL($value)
1599
    {
1600
        $this->data['ImageURL'] = $value;
1601
        $this->options['form_params']['ImageURL'] = $value;
1602
1603
        return $this;
1604
    }
1605
}
1606
1607
/**
1608
 * @method string getFormatResultToJson()
1609
 * @method $this withFormatResultToJson($value)
1610
 * @method string getMode()
1611
 * @method string getOssFile()
1612
 * @method $this withOssFile($value)
1613
 * @method string getRequestProxyBy()
1614
 * @method $this withRequestProxyBy($value)
1615
 * @method string getImageURL()
1616
 * @method string getServiceVersion()
1617
 */
1618
class ExtractPedestrianFeatureAttr extends Rpc
1619
{
1620
1621
    /**
1622
     * @param string $value
1623
     *
1624
     * @return $this
1625
     */
1626
    public function withMode($value)
1627
    {
1628
        $this->data['Mode'] = $value;
1629
        $this->options['form_params']['Mode'] = $value;
1630
1631
        return $this;
1632
    }
1633
1634
    /**
1635
     * @param string $value
1636
     *
1637
     * @return $this
1638
     */
1639
    public function withImageURL($value)
1640
    {
1641
        $this->data['ImageURL'] = $value;
1642
        $this->options['form_params']['ImageURL'] = $value;
1643
1644
        return $this;
1645
    }
1646
1647
    /**
1648
     * @param string $value
1649
     *
1650
     * @return $this
1651
     */
1652
    public function withServiceVersion($value)
1653
    {
1654
        $this->data['ServiceVersion'] = $value;
1655
        $this->options['form_params']['ServiceVersion'] = $value;
1656
1657
        return $this;
1658
    }
1659
}
1660
1661
/**
1662
 * @method string getFormatResultToJson()
1663
 * @method $this withFormatResultToJson($value)
1664
 * @method string getMode()
1665
 * @method string getOssFile()
1666
 * @method $this withOssFile($value)
1667
 * @method array getUrlList()
1668
 * @method string getRequestProxyBy()
1669
 * @method $this withRequestProxyBy($value)
1670
 * @method string getImageURL()
1671
 */
1672
class ExtractPedestrianFeatureAttribute extends Rpc
1673
{
1674
1675
    /**
1676
     * @param string $value
1677
     *
1678
     * @return $this
1679
     */
1680
    public function withMode($value)
1681
    {
1682
        $this->data['Mode'] = $value;
1683
        $this->options['form_params']['Mode'] = $value;
1684
1685
        return $this;
1686
    }
1687
1688
    /**
1689
     * @param array $urlList
1690
     *
1691
     * @return $this
1692
     */
1693
	public function withUrlList(array $urlList)
1694
	{
1695
	    $this->data['UrlList'] = $urlList;
1696
		foreach ($urlList as $depth1 => $depth1Value) {
1697
			if(isset($depth1Value['Url'])){
1698
				$this->options['form_params']['UrlList.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1699
			}
1700
		}
1701
1702
		return $this;
1703
    }
1704
1705
    /**
1706
     * @param string $value
1707
     *
1708
     * @return $this
1709
     */
1710
    public function withImageURL($value)
1711
    {
1712
        $this->data['ImageURL'] = $value;
1713
        $this->options['form_params']['ImageURL'] = $value;
1714
1715
        return $this;
1716
    }
1717
}
1718
1719
/**
1720
 * @method string getFormatResultToJson()
1721
 * @method $this withFormatResultToJson($value)
1722
 * @method string getWhite()
1723
 * @method string getOssFile()
1724
 * @method $this withOssFile($value)
1725
 * @method string getSmooth()
1726
 * @method string getRequestProxyBy()
1727
 * @method $this withRequestProxyBy($value)
1728
 * @method string getSharp()
1729
 * @method string getImageURL()
1730
 */
1731
class FaceBeauty extends Rpc
1732
{
1733
1734
    /**
1735
     * @param string $value
1736
     *
1737
     * @return $this
1738
     */
1739
    public function withWhite($value)
1740
    {
1741
        $this->data['White'] = $value;
1742
        $this->options['form_params']['White'] = $value;
1743
1744
        return $this;
1745
    }
1746
1747
    /**
1748
     * @param string $value
1749
     *
1750
     * @return $this
1751
     */
1752
    public function withSmooth($value)
1753
    {
1754
        $this->data['Smooth'] = $value;
1755
        $this->options['form_params']['Smooth'] = $value;
1756
1757
        return $this;
1758
    }
1759
1760
    /**
1761
     * @param string $value
1762
     *
1763
     * @return $this
1764
     */
1765
    public function withSharp($value)
1766
    {
1767
        $this->data['Sharp'] = $value;
1768
        $this->options['form_params']['Sharp'] = $value;
1769
1770
        return $this;
1771
    }
1772
1773
    /**
1774
     * @param string $value
1775
     *
1776
     * @return $this
1777
     */
1778
    public function withImageURL($value)
1779
    {
1780
        $this->data['ImageURL'] = $value;
1781
        $this->options['form_params']['ImageURL'] = $value;
1782
1783
        return $this;
1784
    }
1785
}
1786
1787
/**
1788
 * @method string getStrength()
1789
 * @method string getFormatResultToJson()
1790
 * @method $this withFormatResultToJson($value)
1791
 * @method string getOssFile()
1792
 * @method $this withOssFile($value)
1793
 * @method string getResourceType()
1794
 * @method string getRequestProxyBy()
1795
 * @method $this withRequestProxyBy($value)
1796
 * @method string getImageURL()
1797
 */
1798
class FaceFilter extends Rpc
1799
{
1800
1801
    /**
1802
     * @param string $value
1803
     *
1804
     * @return $this
1805
     */
1806
    public function withStrength($value)
1807
    {
1808
        $this->data['Strength'] = $value;
1809
        $this->options['form_params']['Strength'] = $value;
1810
1811
        return $this;
1812
    }
1813
1814
    /**
1815
     * @param string $value
1816
     *
1817
     * @return $this
1818
     */
1819
    public function withResourceType($value)
1820
    {
1821
        $this->data['ResourceType'] = $value;
1822
        $this->options['form_params']['ResourceType'] = $value;
1823
1824
        return $this;
1825
    }
1826
1827
    /**
1828
     * @param string $value
1829
     *
1830
     * @return $this
1831
     */
1832
    public function withImageURL($value)
1833
    {
1834
        $this->data['ImageURL'] = $value;
1835
        $this->options['form_params']['ImageURL'] = $value;
1836
1837
        return $this;
1838
    }
1839
}
1840
1841
/**
1842
 * @method string getStrength()
1843
 * @method string getFormatResultToJson()
1844
 * @method $this withFormatResultToJson($value)
1845
 * @method string getOssFile()
1846
 * @method $this withOssFile($value)
1847
 * @method string getMakeupType()
1848
 * @method string getResourceType()
1849
 * @method string getRequestProxyBy()
1850
 * @method $this withRequestProxyBy($value)
1851
 * @method string getImageURL()
1852
 */
1853
class FaceMakeup extends Rpc
1854
{
1855
1856
    /**
1857
     * @param string $value
1858
     *
1859
     * @return $this
1860
     */
1861
    public function withStrength($value)
1862
    {
1863
        $this->data['Strength'] = $value;
1864
        $this->options['form_params']['Strength'] = $value;
1865
1866
        return $this;
1867
    }
1868
1869
    /**
1870
     * @param string $value
1871
     *
1872
     * @return $this
1873
     */
1874
    public function withMakeupType($value)
1875
    {
1876
        $this->data['MakeupType'] = $value;
1877
        $this->options['form_params']['MakeupType'] = $value;
1878
1879
        return $this;
1880
    }
1881
1882
    /**
1883
     * @param string $value
1884
     *
1885
     * @return $this
1886
     */
1887
    public function withResourceType($value)
1888
    {
1889
        $this->data['ResourceType'] = $value;
1890
        $this->options['form_params']['ResourceType'] = $value;
1891
1892
        return $this;
1893
    }
1894
1895
    /**
1896
     * @param string $value
1897
     *
1898
     * @return $this
1899
     */
1900
    public function withImageURL($value)
1901
    {
1902
        $this->data['ImageURL'] = $value;
1903
        $this->options['form_params']['ImageURL'] = $value;
1904
1905
        return $this;
1906
    }
1907
}
1908
1909
/**
1910
 * @method string getShapeType()
1911
 * @method string getStrength()
1912
 * @method string getFormatResultToJson()
1913
 * @method $this withFormatResultToJson($value)
1914
 * @method string getOssFile()
1915
 * @method $this withOssFile($value)
1916
 * @method string getRequestProxyBy()
1917
 * @method $this withRequestProxyBy($value)
1918
 * @method string getImageURL()
1919
 */
1920
class FaceTidyup extends Rpc
1921
{
1922
1923
    /**
1924
     * @param string $value
1925
     *
1926
     * @return $this
1927
     */
1928
    public function withShapeType($value)
1929
    {
1930
        $this->data['ShapeType'] = $value;
1931
        $this->options['form_params']['ShapeType'] = $value;
1932
1933
        return $this;
1934
    }
1935
1936
    /**
1937
     * @param string $value
1938
     *
1939
     * @return $this
1940
     */
1941
    public function withStrength($value)
1942
    {
1943
        $this->data['Strength'] = $value;
1944
        $this->options['form_params']['Strength'] = $value;
1945
1946
        return $this;
1947
    }
1948
1949
    /**
1950
     * @param string $value
1951
     *
1952
     * @return $this
1953
     */
1954
    public function withImageURL($value)
1955
    {
1956
        $this->data['ImageURL'] = $value;
1957
        $this->options['form_params']['ImageURL'] = $value;
1958
1959
        return $this;
1960
    }
1961
}
1962
1963
/**
1964
 * @method string getAlgoType()
1965
 * @method $this withAlgoType($value)
1966
 * @method string getFormatResultToJson()
1967
 * @method $this withFormatResultToJson($value)
1968
 * @method string getOssFile()
1969
 * @method $this withOssFile($value)
1970
 * @method string getRequestProxyBy()
1971
 * @method $this withRequestProxyBy($value)
1972
 * @method string getImageURL()
1973
 * @method $this withImageURL($value)
1974
 */
1975
class GenerateHumanAnimeStyle extends Rpc
1976
{
1977
}
1978
1979
/**
1980
 * @method string getFormatResultToJson()
1981
 * @method $this withFormatResultToJson($value)
1982
 * @method string getOssFile()
1983
 * @method $this withOssFile($value)
1984
 * @method string getReturnType()
1985
 * @method string getRequestProxyBy()
1986
 * @method $this withRequestProxyBy($value)
1987
 * @method string getImageURL()
1988
 */
1989
class GenerateHumanSketchStyle extends Rpc
1990
{
1991
1992
    /**
1993
     * @param string $value
1994
     *
1995
     * @return $this
1996
     */
1997
    public function withReturnType($value)
1998
    {
1999
        $this->data['ReturnType'] = $value;
2000
        $this->options['form_params']['ReturnType'] = $value;
2001
2002
        return $this;
2003
    }
2004
2005
    /**
2006
     * @param string $value
2007
     *
2008
     * @return $this
2009
     */
2010
    public function withImageURL($value)
2011
    {
2012
        $this->data['ImageURL'] = $value;
2013
        $this->options['form_params']['ImageURL'] = $value;
2014
2015
        return $this;
2016
    }
2017
}
2018
2019
/**
2020
 * @method string getFormatResultToJson()
2021
 * @method $this withFormatResultToJson($value)
2022
 * @method string getMetaInfo()
2023
 * @method string getOssFile()
2024
 * @method $this withOssFile($value)
2025
 * @method string getRequestProxyBy()
2026
 * @method $this withRequestProxyBy($value)
2027
 * @method string getCertificateNumber()
2028
 * @method string getCertificateName()
2029
 */
2030
class GenRealPersonVerificationToken extends Rpc
2031
{
2032
2033
    /**
2034
     * @param string $value
2035
     *
2036
     * @return $this
2037
     */
2038
    public function withMetaInfo($value)
2039
    {
2040
        $this->data['MetaInfo'] = $value;
2041
        $this->options['form_params']['MetaInfo'] = $value;
2042
2043
        return $this;
2044
    }
2045
2046
    /**
2047
     * @param string $value
2048
     *
2049
     * @return $this
2050
     */
2051
    public function withCertificateNumber($value)
2052
    {
2053
        $this->data['CertificateNumber'] = $value;
2054
        $this->options['form_params']['CertificateNumber'] = $value;
2055
2056
        return $this;
2057
    }
2058
2059
    /**
2060
     * @param string $value
2061
     *
2062
     * @return $this
2063
     */
2064
    public function withCertificateName($value)
2065
    {
2066
        $this->data['CertificateName'] = $value;
2067
        $this->options['form_params']['CertificateName'] = $value;
2068
2069
        return $this;
2070
    }
2071
}
2072
2073
/**
2074
 * @method string getFormatResultToJson()
2075
 * @method $this withFormatResultToJson($value)
2076
 * @method string getPersonId()
2077
 * @method $this withPersonId($value)
2078
 * @method string getOssFile()
2079
 * @method $this withOssFile($value)
2080
 * @method string getRequestProxyBy()
2081
 * @method $this withRequestProxyBy($value)
2082
 * @method string getDbId()
2083
 * @method $this withDbId($value)
2084
 */
2085
class GetBodyPerson extends Rpc
2086
{
2087
2088
    /** @var string */
2089
    public $method = 'GET';
2090
}
2091
2092
/**
2093
 * @method string getEntityId()
2094
 * @method string getFormatResultToJson()
2095
 * @method $this withFormatResultToJson($value)
2096
 * @method string getOssFile()
2097
 * @method $this withOssFile($value)
2098
 * @method string getRequestProxyBy()
2099
 * @method $this withRequestProxyBy($value)
2100
 * @method string getDbName()
2101
 */
2102
class GetFaceEntity extends Rpc
2103
{
2104
2105
    /**
2106
     * @param string $value
2107
     *
2108
     * @return $this
2109
     */
2110
    public function withEntityId($value)
2111
    {
2112
        $this->data['EntityId'] = $value;
2113
        $this->options['form_params']['EntityId'] = $value;
2114
2115
        return $this;
2116
    }
2117
2118
    /**
2119
     * @param string $value
2120
     *
2121
     * @return $this
2122
     */
2123
    public function withDbName($value)
2124
    {
2125
        $this->data['DbName'] = $value;
2126
        $this->options['form_params']['DbName'] = $value;
2127
2128
        return $this;
2129
    }
2130
}
2131
2132
/**
2133
 * @method string getFormatResultToJson()
2134
 * @method $this withFormatResultToJson($value)
2135
 * @method string getMaterialHash()
2136
 * @method string getOssFile()
2137
 * @method $this withOssFile($value)
2138
 * @method string getVerificationToken()
2139
 * @method string getRequestProxyBy()
2140
 * @method $this withRequestProxyBy($value)
2141
 */
2142
class GetRealPersonVerificationResult extends Rpc
2143
{
2144
2145
    /**
2146
     * @param string $value
2147
     *
2148
     * @return $this
2149
     */
2150
    public function withMaterialHash($value)
2151
    {
2152
        $this->data['MaterialHash'] = $value;
2153
        $this->options['form_params']['MaterialHash'] = $value;
2154
2155
        return $this;
2156
    }
2157
2158
    /**
2159
     * @param string $value
2160
     *
2161
     * @return $this
2162
     */
2163
    public function withVerificationToken($value)
2164
    {
2165
        $this->data['VerificationToken'] = $value;
2166
        $this->options['form_params']['VerificationToken'] = $value;
2167
2168
        return $this;
2169
    }
2170
}
2171
2172
/**
2173
 * @method string getFormatResultToJson()
2174
 * @method $this withFormatResultToJson($value)
2175
 * @method string getOssFile()
2176
 * @method $this withOssFile($value)
2177
 * @method string getRequestProxyBy()
2178
 * @method $this withRequestProxyBy($value)
2179
 * @method string getImageURL()
2180
 */
2181
class HandPosture extends Rpc
2182
{
2183
2184
    /**
2185
     * @param string $value
2186
     *
2187
     * @return $this
2188
     */
2189
    public function withImageURL($value)
2190
    {
2191
        $this->data['ImageURL'] = $value;
2192
        $this->options['form_params']['ImageURL'] = $value;
2193
2194
        return $this;
2195
    }
2196
}
2197
2198
/**
2199
 * @method string getFormatResultToJson()
2200
 * @method $this withFormatResultToJson($value)
2201
 * @method string getOssFile()
2202
 * @method $this withOssFile($value)
2203
 * @method string getSlimDegree()
2204
 * @method string getRequestProxyBy()
2205
 * @method $this withRequestProxyBy($value)
2206
 * @method string getImageURL()
2207
 */
2208
class LiquifyFace extends Rpc
2209
{
2210
2211
    /**
2212
     * @param string $value
2213
     *
2214
     * @return $this
2215
     */
2216
    public function withSlimDegree($value)
2217
    {
2218
        $this->data['SlimDegree'] = $value;
2219
        $this->options['form_params']['SlimDegree'] = $value;
2220
2221
        return $this;
2222
    }
2223
2224
    /**
2225
     * @param string $value
2226
     *
2227
     * @return $this
2228
     */
2229
    public function withImageURL($value)
2230
    {
2231
        $this->data['ImageURL'] = $value;
2232
        $this->options['form_params']['ImageURL'] = $value;
2233
2234
        return $this;
2235
    }
2236
}
2237
2238
/**
2239
 * @method string getFormatResultToJson()
2240
 * @method $this withFormatResultToJson($value)
2241
 * @method string getLimit()
2242
 * @method $this withLimit($value)
2243
 * @method string getOssFile()
2244
 * @method $this withOssFile($value)
2245
 * @method string getOffset()
2246
 * @method $this withOffset($value)
2247
 * @method string getRequestProxyBy()
2248
 * @method $this withRequestProxyBy($value)
2249
 */
2250
class ListBodyDbs extends Rpc
2251
{
2252
2253
    /** @var string */
2254
    public $method = 'GET';
2255
}
2256
2257
/**
2258
 * @method string getFormatResultToJson()
2259
 * @method $this withFormatResultToJson($value)
2260
 * @method string getLimit()
2261
 * @method $this withLimit($value)
2262
 * @method string getOssFile()
2263
 * @method $this withOssFile($value)
2264
 * @method string getOffset()
2265
 * @method $this withOffset($value)
2266
 * @method string getRequestProxyBy()
2267
 * @method $this withRequestProxyBy($value)
2268
 * @method string getDbId()
2269
 * @method $this withDbId($value)
2270
 */
2271
class ListBodyPerson extends Rpc
2272
{
2273
2274
    /** @var string */
2275
    public $method = 'GET';
2276
}
2277
2278
/**
2279
 * @method string getFormatResultToJson()
2280
 * @method $this withFormatResultToJson($value)
2281
 * @method string getLimit()
2282
 * @method string getOssFile()
2283
 * @method $this withOssFile($value)
2284
 * @method string getOffset()
2285
 * @method string getRequestProxyBy()
2286
 * @method $this withRequestProxyBy($value)
2287
 */
2288
class ListFaceDbs extends Rpc
2289
{
2290
2291
    /**
2292
     * @param string $value
2293
     *
2294
     * @return $this
2295
     */
2296
    public function withLimit($value)
2297
    {
2298
        $this->data['Limit'] = $value;
2299
        $this->options['form_params']['Limit'] = $value;
2300
2301
        return $this;
2302
    }
2303
2304
    /**
2305
     * @param string $value
2306
     *
2307
     * @return $this
2308
     */
2309
    public function withOffset($value)
2310
    {
2311
        $this->data['Offset'] = $value;
2312
        $this->options['form_params']['Offset'] = $value;
2313
2314
        return $this;
2315
    }
2316
}
2317
2318
/**
2319
 * @method string getEntityIdPrefix()
2320
 * @method string getFormatResultToJson()
2321
 * @method $this withFormatResultToJson($value)
2322
 * @method string getLimit()
2323
 * @method string getOssFile()
2324
 * @method $this withOssFile($value)
2325
 * @method string getOrder()
2326
 * @method string getOffset()
2327
 * @method string getRequestProxyBy()
2328
 * @method $this withRequestProxyBy($value)
2329
 * @method string getToken()
2330
 * @method string getLabels()
2331
 * @method string getDbName()
2332
 */
2333
class ListFaceEntities extends Rpc
2334
{
2335
2336
    /**
2337
     * @param string $value
2338
     *
2339
     * @return $this
2340
     */
2341
    public function withEntityIdPrefix($value)
2342
    {
2343
        $this->data['EntityIdPrefix'] = $value;
2344
        $this->options['form_params']['EntityIdPrefix'] = $value;
2345
2346
        return $this;
2347
    }
2348
2349
    /**
2350
     * @param string $value
2351
     *
2352
     * @return $this
2353
     */
2354
    public function withLimit($value)
2355
    {
2356
        $this->data['Limit'] = $value;
2357
        $this->options['form_params']['Limit'] = $value;
2358
2359
        return $this;
2360
    }
2361
2362
    /**
2363
     * @param string $value
2364
     *
2365
     * @return $this
2366
     */
2367
    public function withOrder($value)
2368
    {
2369
        $this->data['Order'] = $value;
2370
        $this->options['form_params']['Order'] = $value;
2371
2372
        return $this;
2373
    }
2374
2375
    /**
2376
     * @param string $value
2377
     *
2378
     * @return $this
2379
     */
2380
    public function withOffset($value)
2381
    {
2382
        $this->data['Offset'] = $value;
2383
        $this->options['form_params']['Offset'] = $value;
2384
2385
        return $this;
2386
    }
2387
2388
    /**
2389
     * @param string $value
2390
     *
2391
     * @return $this
2392
     */
2393
    public function withToken($value)
2394
    {
2395
        $this->data['Token'] = $value;
2396
        $this->options['form_params']['Token'] = $value;
2397
2398
        return $this;
2399
    }
2400
2401
    /**
2402
     * @param string $value
2403
     *
2404
     * @return $this
2405
     */
2406
    public function withLabels($value)
2407
    {
2408
        $this->data['Labels'] = $value;
2409
        $this->options['form_params']['Labels'] = $value;
2410
2411
        return $this;
2412
    }
2413
2414
    /**
2415
     * @param string $value
2416
     *
2417
     * @return $this
2418
     */
2419
    public function withDbName($value)
2420
    {
2421
        $this->data['DbName'] = $value;
2422
        $this->options['form_params']['DbName'] = $value;
2423
2424
        return $this;
2425
    }
2426
}
2427
2428
/**
2429
 * @method string getFormatResultToJson()
2430
 * @method $this withFormatResultToJson($value)
2431
 * @method string getUserId()
2432
 * @method string getOssFile()
2433
 * @method $this withOssFile($value)
2434
 * @method string getTemplateId()
2435
 * @method string getRequestProxyBy()
2436
 * @method $this withRequestProxyBy($value)
2437
 * @method string getImageURL()
2438
 */
2439
class MergeImageFace extends Rpc
2440
{
2441
2442
    /**
2443
     * @param string $value
2444
     *
2445
     * @return $this
2446
     */
2447
    public function withUserId($value)
2448
    {
2449
        $this->data['UserId'] = $value;
2450
        $this->options['form_params']['UserId'] = $value;
2451
2452
        return $this;
2453
    }
2454
2455
    /**
2456
     * @param string $value
2457
     *
2458
     * @return $this
2459
     */
2460
    public function withTemplateId($value)
2461
    {
2462
        $this->data['TemplateId'] = $value;
2463
        $this->options['form_params']['TemplateId'] = $value;
2464
2465
        return $this;
2466
    }
2467
2468
    /**
2469
     * @param string $value
2470
     *
2471
     * @return $this
2472
     */
2473
    public function withImageURL($value)
2474
    {
2475
        $this->data['ImageURL'] = $value;
2476
        $this->options['form_params']['ImageURL'] = $value;
2477
2478
        return $this;
2479
    }
2480
}
2481
2482
/**
2483
 * @method string getFormatResultToJson()
2484
 * @method $this withFormatResultToJson($value)
2485
 * @method string getType()
2486
 * @method string getOssFile()
2487
 * @method $this withOssFile($value)
2488
 * @method string getRequestProxyBy()
2489
 * @method $this withRequestProxyBy($value)
2490
 * @method string getImageURL()
2491
 */
2492
class MonitorExamination extends Rpc
2493
{
2494
2495
    /**
2496
     * @param string $value
2497
     *
2498
     * @return $this
2499
     */
2500
    public function withType($value)
2501
    {
2502
        $this->data['Type'] = $value;
2503
        $this->options['form_params']['Type'] = $value;
2504
2505
        return $this;
2506
    }
2507
2508
    /**
2509
     * @param string $value
2510
     *
2511
     * @return $this
2512
     */
2513
    public function withImageURL($value)
2514
    {
2515
        $this->data['ImageURL'] = $value;
2516
        $this->options['form_params']['ImageURL'] = $value;
2517
2518
        return $this;
2519
    }
2520
}
2521
2522
/**
2523
 * @method string getFormatResultToJson()
2524
 * @method $this withFormatResultToJson($value)
2525
 * @method string getOssFile()
2526
 * @method $this withOssFile($value)
2527
 * @method string getRequestProxyBy()
2528
 * @method $this withRequestProxyBy($value)
2529
 * @method string getImageURL()
2530
 */
2531
class PedestrianDetectAttribute extends Rpc
2532
{
2533
2534
    /**
2535
     * @param string $value
2536
     *
2537
     * @return $this
2538
     */
2539
    public function withImageURL($value)
2540
    {
2541
        $this->data['ImageURL'] = $value;
2542
        $this->options['form_params']['ImageURL'] = $value;
2543
2544
        return $this;
2545
    }
2546
}
2547
2548
/**
2549
 * @method string getFormatResultToJson()
2550
 * @method $this withFormatResultToJson($value)
2551
 * @method string getUserId()
2552
 * @method $this withUserId($value)
2553
 * @method string getOssFile()
2554
 * @method $this withOssFile($value)
2555
 * @method string getTemplateId()
2556
 * @method $this withTemplateId($value)
2557
 * @method string getRequestProxyBy()
2558
 * @method $this withRequestProxyBy($value)
2559
 */
2560
class QueryFaceImageTemplate extends Rpc
2561
{
2562
2563
    /** @var string */
2564
    public $method = 'GET';
2565
}
2566
2567
/**
2568
 * @method string getFormatResultToJson()
2569
 * @method $this withFormatResultToJson($value)
2570
 * @method string getType()
2571
 * @method string getOssFile()
2572
 * @method $this withOssFile($value)
2573
 * @method string getVideoData()
2574
 * @method array getURLList()
2575
 * @method string getRequestProxyBy()
2576
 * @method $this withRequestProxyBy($value)
2577
 * @method string getVideoUrl()
2578
 */
2579
class RecognizeAction extends Rpc
2580
{
2581
2582
    /**
2583
     * @param string $value
2584
     *
2585
     * @return $this
2586
     */
2587
    public function withType($value)
2588
    {
2589
        $this->data['Type'] = $value;
2590
        $this->options['form_params']['Type'] = $value;
2591
2592
        return $this;
2593
    }
2594
2595
    /**
2596
     * @param string $value
2597
     *
2598
     * @return $this
2599
     */
2600
    public function withVideoData($value)
2601
    {
2602
        $this->data['VideoData'] = $value;
2603
        $this->options['form_params']['VideoData'] = $value;
2604
2605
        return $this;
2606
    }
2607
2608
    /**
2609
     * @param array $uRLList
2610
     *
2611
     * @return $this
2612
     */
2613
	public function withURLList(array $uRLList)
2614
	{
2615
	    $this->data['URLList'] = $uRLList;
2616
		foreach ($uRLList as $depth1 => $depth1Value) {
2617
			if(isset($depth1Value['ImageData'])){
2618
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.imageData'] = $depth1Value['ImageData'];
2619
			}
2620
			if(isset($depth1Value['URL'])){
2621
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
2622
			}
2623
		}
2624
2625
		return $this;
2626
    }
2627
2628
    /**
2629
     * @param string $value
2630
     *
2631
     * @return $this
2632
     */
2633
    public function withVideoUrl($value)
2634
    {
2635
        $this->data['VideoUrl'] = $value;
2636
        $this->options['form_params']['VideoUrl'] = $value;
2637
2638
        return $this;
2639
    }
2640
}
2641
2642
/**
2643
 * @method string getFormatResultToJson()
2644
 * @method $this withFormatResultToJson($value)
2645
 * @method string getOssFile()
2646
 * @method $this withOssFile($value)
2647
 * @method string getRequestProxyBy()
2648
 * @method $this withRequestProxyBy($value)
2649
 * @method string getImageURL()
2650
 */
2651
class RecognizeExpression extends Rpc
2652
{
2653
2654
    /**
2655
     * @param string $value
2656
     *
2657
     * @return $this
2658
     */
2659
    public function withImageURL($value)
2660
    {
2661
        $this->data['ImageURL'] = $value;
2662
        $this->options['form_params']['ImageURL'] = $value;
2663
2664
        return $this;
2665
    }
2666
}
2667
2668
/**
2669
 * @method string getGender()
2670
 * @method string getBeauty()
2671
 * @method string getMaxFaceNumber()
2672
 * @method string getFormatResultToJson()
2673
 * @method $this withFormatResultToJson($value)
2674
 * @method string getHat()
2675
 * @method string getOssFile()
2676
 * @method $this withOssFile($value)
2677
 * @method string getMask()
2678
 * @method string getImageType()
2679
 * @method string getGlass()
2680
 * @method string getExpression()
2681
 * @method string getRequestProxyBy()
2682
 * @method $this withRequestProxyBy($value)
2683
 * @method string getQuality()
2684
 * @method string getImageURL()
2685
 * @method string getAge()
2686
 */
2687
class RecognizeFace extends Rpc
2688
{
2689
2690
    /**
2691
     * @param string $value
2692
     *
2693
     * @return $this
2694
     */
2695
    public function withGender($value)
2696
    {
2697
        $this->data['Gender'] = $value;
2698
        $this->options['form_params']['Gender'] = $value;
2699
2700
        return $this;
2701
    }
2702
2703
    /**
2704
     * @param string $value
2705
     *
2706
     * @return $this
2707
     */
2708
    public function withBeauty($value)
2709
    {
2710
        $this->data['Beauty'] = $value;
2711
        $this->options['form_params']['Beauty'] = $value;
2712
2713
        return $this;
2714
    }
2715
2716
    /**
2717
     * @param string $value
2718
     *
2719
     * @return $this
2720
     */
2721
    public function withMaxFaceNumber($value)
2722
    {
2723
        $this->data['MaxFaceNumber'] = $value;
2724
        $this->options['form_params']['MaxFaceNumber'] = $value;
2725
2726
        return $this;
2727
    }
2728
2729
    /**
2730
     * @param string $value
2731
     *
2732
     * @return $this
2733
     */
2734
    public function withHat($value)
2735
    {
2736
        $this->data['Hat'] = $value;
2737
        $this->options['form_params']['Hat'] = $value;
2738
2739
        return $this;
2740
    }
2741
2742
    /**
2743
     * @param string $value
2744
     *
2745
     * @return $this
2746
     */
2747
    public function withMask($value)
2748
    {
2749
        $this->data['Mask'] = $value;
2750
        $this->options['form_params']['Mask'] = $value;
2751
2752
        return $this;
2753
    }
2754
2755
    /**
2756
     * @param string $value
2757
     *
2758
     * @return $this
2759
     */
2760
    public function withImageType($value)
2761
    {
2762
        $this->data['ImageType'] = $value;
2763
        $this->options['form_params']['ImageType'] = $value;
2764
2765
        return $this;
2766
    }
2767
2768
    /**
2769
     * @param string $value
2770
     *
2771
     * @return $this
2772
     */
2773
    public function withGlass($value)
2774
    {
2775
        $this->data['Glass'] = $value;
2776
        $this->options['form_params']['Glass'] = $value;
2777
2778
        return $this;
2779
    }
2780
2781
    /**
2782
     * @param string $value
2783
     *
2784
     * @return $this
2785
     */
2786
    public function withExpression($value)
2787
    {
2788
        $this->data['Expression'] = $value;
2789
        $this->options['form_params']['Expression'] = $value;
2790
2791
        return $this;
2792
    }
2793
2794
    /**
2795
     * @param string $value
2796
     *
2797
     * @return $this
2798
     */
2799
    public function withQuality($value)
2800
    {
2801
        $this->data['Quality'] = $value;
2802
        $this->options['form_params']['Quality'] = $value;
2803
2804
        return $this;
2805
    }
2806
2807
    /**
2808
     * @param string $value
2809
     *
2810
     * @return $this
2811
     */
2812
    public function withImageURL($value)
2813
    {
2814
        $this->data['ImageURL'] = $value;
2815
        $this->options['form_params']['ImageURL'] = $value;
2816
2817
        return $this;
2818
    }
2819
2820
    /**
2821
     * @param string $value
2822
     *
2823
     * @return $this
2824
     */
2825
    public function withAge($value)
2826
    {
2827
        $this->data['Age'] = $value;
2828
        $this->options['form_params']['Age'] = $value;
2829
2830
        return $this;
2831
    }
2832
}
2833
2834
/**
2835
 * @method string getGestureType()
2836
 * @method string getFormatResultToJson()
2837
 * @method $this withFormatResultToJson($value)
2838
 * @method string getOssFile()
2839
 * @method $this withOssFile($value)
2840
 * @method string getRequestProxyBy()
2841
 * @method $this withRequestProxyBy($value)
2842
 * @method string getAppId()
2843
 * @method string getImageURL()
2844
 */
2845
class RecognizeHandGesture extends Rpc
2846
{
2847
2848
    /**
2849
     * @param string $value
2850
     *
2851
     * @return $this
2852
     */
2853
    public function withGestureType($value)
2854
    {
2855
        $this->data['GestureType'] = $value;
2856
        $this->options['form_params']['GestureType'] = $value;
2857
2858
        return $this;
2859
    }
2860
2861
    /**
2862
     * @param string $value
2863
     *
2864
     * @return $this
2865
     */
2866
    public function withAppId($value)
2867
    {
2868
        $this->data['AppId'] = $value;
2869
        $this->options['form_params']['AppId'] = $value;
2870
2871
        return $this;
2872
    }
2873
2874
    /**
2875
     * @param string $value
2876
     *
2877
     * @return $this
2878
     */
2879
    public function withImageURL($value)
2880
    {
2881
        $this->data['ImageURL'] = $value;
2882
        $this->options['form_params']['ImageURL'] = $value;
2883
2884
        return $this;
2885
    }
2886
}
2887
2888
/**
2889
 * @method string getFormatResultToJson()
2890
 * @method $this withFormatResultToJson($value)
2891
 * @method string getOssFile()
2892
 * @method $this withOssFile($value)
2893
 * @method string getRequestProxyBy()
2894
 * @method $this withRequestProxyBy($value)
2895
 * @method array getTask()
2896
 */
2897
class RecognizePublicFace extends Rpc
2898
{
2899
2900
    /**
2901
     * @param array $task
2902
     *
2903
     * @return $this
2904
     */
2905
	public function withTask(array $task)
2906
	{
2907
	    $this->data['Task'] = $task;
2908
		foreach ($task as $depth1 => $depth1Value) {
2909
			if(isset($depth1Value['ImageURL'])){
2910
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
2911
			}
2912
			if(isset($depth1Value['ImageData'])){
2913
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageData'] = $depth1Value['ImageData'];
2914
			}
2915
		}
2916
2917
		return $this;
2918
    }
2919
}
2920
2921
/**
2922
 * @method string getLengthenDegree()
2923
 * @method string getFormatResultToJson()
2924
 * @method $this withFormatResultToJson($value)
2925
 * @method string getOssFile()
2926
 * @method $this withOssFile($value)
2927
 * @method string getSlimDegree()
2928
 * @method string getRequestProxyBy()
2929
 * @method $this withRequestProxyBy($value)
2930
 * @method string getImageURL()
2931
 */
2932
class RetouchBody extends Rpc
2933
{
2934
2935
    /**
2936
     * @param string $value
2937
     *
2938
     * @return $this
2939
     */
2940
    public function withLengthenDegree($value)
2941
    {
2942
        $this->data['LengthenDegree'] = $value;
2943
        $this->options['form_params']['LengthenDegree'] = $value;
2944
2945
        return $this;
2946
    }
2947
2948
    /**
2949
     * @param string $value
2950
     *
2951
     * @return $this
2952
     */
2953
    public function withSlimDegree($value)
2954
    {
2955
        $this->data['SlimDegree'] = $value;
2956
        $this->options['form_params']['SlimDegree'] = $value;
2957
2958
        return $this;
2959
    }
2960
2961
    /**
2962
     * @param string $value
2963
     *
2964
     * @return $this
2965
     */
2966
    public function withImageURL($value)
2967
    {
2968
        $this->data['ImageURL'] = $value;
2969
        $this->options['form_params']['ImageURL'] = $value;
2970
2971
        return $this;
2972
    }
2973
}
2974
2975
/**
2976
 * @method string getFormatResultToJson()
2977
 * @method $this withFormatResultToJson($value)
2978
 * @method string getRetouchDegree()
2979
 * @method string getWhiteningDegree()
2980
 * @method string getOssFile()
2981
 * @method $this withOssFile($value)
2982
 * @method string getRequestProxyBy()
2983
 * @method $this withRequestProxyBy($value)
2984
 * @method string getImageURL()
2985
 */
2986
class RetouchSkin extends Rpc
2987
{
2988
2989
    /**
2990
     * @param string $value
2991
     *
2992
     * @return $this
2993
     */
2994
    public function withRetouchDegree($value)
2995
    {
2996
        $this->data['RetouchDegree'] = $value;
2997
        $this->options['form_params']['RetouchDegree'] = $value;
2998
2999
        return $this;
3000
    }
3001
3002
    /**
3003
     * @param string $value
3004
     *
3005
     * @return $this
3006
     */
3007
    public function withWhiteningDegree($value)
3008
    {
3009
        $this->data['WhiteningDegree'] = $value;
3010
        $this->options['form_params']['WhiteningDegree'] = $value;
3011
3012
        return $this;
3013
    }
3014
3015
    /**
3016
     * @param string $value
3017
     *
3018
     * @return $this
3019
     */
3020
    public function withImageURL($value)
3021
    {
3022
        $this->data['ImageURL'] = $value;
3023
        $this->options['form_params']['ImageURL'] = $value;
3024
3025
        return $this;
3026
    }
3027
}
3028
3029
/**
3030
 * @method string getMinScore()
3031
 * @method string getFormatResultToJson()
3032
 * @method $this withFormatResultToJson($value)
3033
 * @method string getLimit()
3034
 * @method string getOssFile()
3035
 * @method $this withOssFile($value)
3036
 * @method string getImages()
3037
 * @method string getRequestProxyBy()
3038
 * @method $this withRequestProxyBy($value)
3039
 * @method string getDbId()
3040
 */
3041
class SearchBodyTrace extends Rpc
3042
{
3043
3044
    /**
3045
     * @param string $value
3046
     *
3047
     * @return $this
3048
     */
3049
    public function withMinScore($value)
3050
    {
3051
        $this->data['MinScore'] = $value;
3052
        $this->options['form_params']['MinScore'] = $value;
3053
3054
        return $this;
3055
    }
3056
3057
    /**
3058
     * @param string $value
3059
     *
3060
     * @return $this
3061
     */
3062
    public function withLimit($value)
3063
    {
3064
        $this->data['Limit'] = $value;
3065
        $this->options['form_params']['Limit'] = $value;
3066
3067
        return $this;
3068
    }
3069
3070
    /**
3071
     * @param string $value
3072
     *
3073
     * @return $this
3074
     */
3075
    public function withImages($value)
3076
    {
3077
        $this->data['Images'] = $value;
3078
        $this->options['form_params']['Images'] = $value;
3079
3080
        return $this;
3081
    }
3082
3083
    /**
3084
     * @param string $value
3085
     *
3086
     * @return $this
3087
     */
3088
    public function withDbId($value)
3089
    {
3090
        $this->data['DbId'] = $value;
3091
        $this->options['form_params']['DbId'] = $value;
3092
3093
        return $this;
3094
    }
3095
}
3096
3097
/**
3098
 * @method string getMaxFaceNum()
3099
 * @method string getFormatResultToJson()
3100
 * @method $this withFormatResultToJson($value)
3101
 * @method string getQualityScoreThreshold()
3102
 * @method string getLimit()
3103
 * @method string getOssFile()
3104
 * @method $this withOssFile($value)
3105
 * @method string getRequestProxyBy()
3106
 * @method $this withRequestProxyBy($value)
3107
 * @method string getDbNames()
3108
 * @method string getDbName()
3109
 * @method string getImageUrl()
3110
 */
3111
class SearchFace extends Rpc
3112
{
3113
3114
    /**
3115
     * @param string $value
3116
     *
3117
     * @return $this
3118
     */
3119
    public function withMaxFaceNum($value)
3120
    {
3121
        $this->data['MaxFaceNum'] = $value;
3122
        $this->options['form_params']['MaxFaceNum'] = $value;
3123
3124
        return $this;
3125
    }
3126
3127
    /**
3128
     * @param string $value
3129
     *
3130
     * @return $this
3131
     */
3132
    public function withQualityScoreThreshold($value)
3133
    {
3134
        $this->data['QualityScoreThreshold'] = $value;
3135
        $this->options['form_params']['QualityScoreThreshold'] = $value;
3136
3137
        return $this;
3138
    }
3139
3140
    /**
3141
     * @param string $value
3142
     *
3143
     * @return $this
3144
     */
3145
    public function withLimit($value)
3146
    {
3147
        $this->data['Limit'] = $value;
3148
        $this->options['form_params']['Limit'] = $value;
3149
3150
        return $this;
3151
    }
3152
3153
    /**
3154
     * @param string $value
3155
     *
3156
     * @return $this
3157
     */
3158
    public function withDbNames($value)
3159
    {
3160
        $this->data['DbNames'] = $value;
3161
        $this->options['form_params']['DbNames'] = $value;
3162
3163
        return $this;
3164
    }
3165
3166
    /**
3167
     * @param string $value
3168
     *
3169
     * @return $this
3170
     */
3171
    public function withDbName($value)
3172
    {
3173
        $this->data['DbName'] = $value;
3174
        $this->options['form_params']['DbName'] = $value;
3175
3176
        return $this;
3177
    }
3178
3179
    /**
3180
     * @param string $value
3181
     *
3182
     * @return $this
3183
     */
3184
    public function withImageUrl($value)
3185
    {
3186
        $this->data['ImageUrl'] = $value;
3187
        $this->options['form_params']['ImageUrl'] = $value;
3188
3189
        return $this;
3190
    }
3191
}
3192
3193
/**
3194
 * @method string getTargetImageURL()
3195
 * @method string getFormatResultToJson()
3196
 * @method $this withFormatResultToJson($value)
3197
 * @method string getSourceImageData()
3198
 * @method string getOssFile()
3199
 * @method $this withOssFile($value)
3200
 * @method string getSourceImageURL()
3201
 * @method string getTargetImageData()
3202
 * @method string getRequestProxyBy()
3203
 * @method $this withRequestProxyBy($value)
3204
 * @method string getEditPart()
3205
 */
3206
class SwapFacialFeatures extends Rpc
3207
{
3208
3209
    /**
3210
     * @param string $value
3211
     *
3212
     * @return $this
3213
     */
3214
    public function withTargetImageURL($value)
3215
    {
3216
        $this->data['TargetImageURL'] = $value;
3217
        $this->options['form_params']['TargetImageURL'] = $value;
3218
3219
        return $this;
3220
    }
3221
3222
    /**
3223
     * @param string $value
3224
     *
3225
     * @return $this
3226
     */
3227
    public function withSourceImageData($value)
3228
    {
3229
        $this->data['SourceImageData'] = $value;
3230
        $this->options['form_params']['SourceImageData'] = $value;
3231
3232
        return $this;
3233
    }
3234
3235
    /**
3236
     * @param string $value
3237
     *
3238
     * @return $this
3239
     */
3240
    public function withSourceImageURL($value)
3241
    {
3242
        $this->data['SourceImageURL'] = $value;
3243
        $this->options['form_params']['SourceImageURL'] = $value;
3244
3245
        return $this;
3246
    }
3247
3248
    /**
3249
     * @param string $value
3250
     *
3251
     * @return $this
3252
     */
3253
    public function withTargetImageData($value)
3254
    {
3255
        $this->data['TargetImageData'] = $value;
3256
        $this->options['form_params']['TargetImageData'] = $value;
3257
3258
        return $this;
3259
    }
3260
3261
    /**
3262
     * @param string $value
3263
     *
3264
     * @return $this
3265
     */
3266
    public function withEditPart($value)
3267
    {
3268
        $this->data['EditPart'] = $value;
3269
        $this->options['form_params']['EditPart'] = $value;
3270
3271
        return $this;
3272
    }
3273
}
3274
3275
/**
3276
 * @method string getEntityId()
3277
 * @method string getFormatResultToJson()
3278
 * @method $this withFormatResultToJson($value)
3279
 * @method string getOssFile()
3280
 * @method $this withOssFile($value)
3281
 * @method string getRequestProxyBy()
3282
 * @method $this withRequestProxyBy($value)
3283
 * @method string getLabels()
3284
 * @method string getDbName()
3285
 */
3286
class UpdateFaceEntity extends Rpc
3287
{
3288
3289
    /**
3290
     * @param string $value
3291
     *
3292
     * @return $this
3293
     */
3294
    public function withEntityId($value)
3295
    {
3296
        $this->data['EntityId'] = $value;
3297
        $this->options['form_params']['EntityId'] = $value;
3298
3299
        return $this;
3300
    }
3301
3302
    /**
3303
     * @param string $value
3304
     *
3305
     * @return $this
3306
     */
3307
    public function withLabels($value)
3308
    {
3309
        $this->data['Labels'] = $value;
3310
        $this->options['form_params']['Labels'] = $value;
3311
3312
        return $this;
3313
    }
3314
3315
    /**
3316
     * @param string $value
3317
     *
3318
     * @return $this
3319
     */
3320
    public function withDbName($value)
3321
    {
3322
        $this->data['DbName'] = $value;
3323
        $this->options['form_params']['DbName'] = $value;
3324
3325
        return $this;
3326
    }
3327
}
3328
3329
/**
3330
 * @method string getFormatResultToJson()
3331
 * @method $this withFormatResultToJson($value)
3332
 * @method string getRefData()
3333
 * @method string getOssFile()
3334
 * @method $this withOssFile($value)
3335
 * @method string getImageData()
3336
 * @method string getRequestProxyBy()
3337
 * @method $this withRequestProxyBy($value)
3338
 * @method string getImageURL()
3339
 * @method string getRefUrl()
3340
 */
3341
class VerifyFaceMask extends Rpc
3342
{
3343
3344
    /**
3345
     * @param string $value
3346
     *
3347
     * @return $this
3348
     */
3349
    public function withRefData($value)
3350
    {
3351
        $this->data['RefData'] = $value;
3352
        $this->options['form_params']['RefData'] = $value;
3353
3354
        return $this;
3355
    }
3356
3357
    /**
3358
     * @param string $value
3359
     *
3360
     * @return $this
3361
     */
3362
    public function withImageData($value)
3363
    {
3364
        $this->data['ImageData'] = $value;
3365
        $this->options['form_params']['ImageData'] = $value;
3366
3367
        return $this;
3368
    }
3369
3370
    /**
3371
     * @param string $value
3372
     *
3373
     * @return $this
3374
     */
3375
    public function withImageURL($value)
3376
    {
3377
        $this->data['ImageURL'] = $value;
3378
        $this->options['form_params']['ImageURL'] = $value;
3379
3380
        return $this;
3381
    }
3382
3383
    /**
3384
     * @param string $value
3385
     *
3386
     * @return $this
3387
     */
3388
    public function withRefUrl($value)
3389
    {
3390
        $this->data['RefUrl'] = $value;
3391
        $this->options['form_params']['RefUrl'] = $value;
3392
3393
        return $this;
3394
    }
3395
}
3396