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 ( 6f7979...5b6c0d )
by
unknown
07:18
created

CompareFaceWithMask::withImageURLA()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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