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 ( 1699ef...9f7e69 )
by
unknown
06:37
created

MergeImageFace::withTemplateId()   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 array getMergeInfos()
2191
 * @method string getUserId()
2192
 * @method string getOssFile()
2193
 * @method $this withOssFile($value)
2194
 * @method string getTemplateId()
2195
 * @method string getRequestProxyBy()
2196
 * @method $this withRequestProxyBy($value)
2197
 * @method string getImageURL()
2198
 * @method string getAddWatermark()
2199
 * @method string getModelVersion()
2200
 */
2201
class MergeImageFace extends Rpc
2202
{
2203
2204
    /**
2205
     * @param array $mergeInfos
2206
     *
2207
     * @return $this
2208
     */
2209
	public function withMergeInfos(array $mergeInfos)
2210
	{
2211
	    $this->data['MergeInfos'] = $mergeInfos;
2212
		foreach ($mergeInfos as $depth1 => $depth1Value) {
2213
			if(isset($depth1Value['ImageURL'])){
2214
				$this->options['form_params']['MergeInfos.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
2215
			}
2216
			if(isset($depth1Value['TemplateFaceID'])){
2217
				$this->options['form_params']['MergeInfos.' . ($depth1 + 1) . '.TemplateFaceID'] = $depth1Value['TemplateFaceID'];
2218
			}
2219
		}
2220
2221
		return $this;
2222
    }
2223
2224
    /**
2225
     * @param string $value
2226
     *
2227
     * @return $this
2228
     */
2229
    public function withUserId($value)
2230
    {
2231
        $this->data['UserId'] = $value;
2232
        $this->options['form_params']['UserId'] = $value;
2233
2234
        return $this;
2235
    }
2236
2237
    /**
2238
     * @param string $value
2239
     *
2240
     * @return $this
2241
     */
2242
    public function withTemplateId($value)
2243
    {
2244
        $this->data['TemplateId'] = $value;
2245
        $this->options['form_params']['TemplateId'] = $value;
2246
2247
        return $this;
2248
    }
2249
2250
    /**
2251
     * @param string $value
2252
     *
2253
     * @return $this
2254
     */
2255
    public function withImageURL($value)
2256
    {
2257
        $this->data['ImageURL'] = $value;
2258
        $this->options['form_params']['ImageURL'] = $value;
2259
2260
        return $this;
2261
    }
2262
2263
    /**
2264
     * @param string $value
2265
     *
2266
     * @return $this
2267
     */
2268
    public function withAddWatermark($value)
2269
    {
2270
        $this->data['AddWatermark'] = $value;
2271
        $this->options['form_params']['AddWatermark'] = $value;
2272
2273
        return $this;
2274
    }
2275
2276
    /**
2277
     * @param string $value
2278
     *
2279
     * @return $this
2280
     */
2281
    public function withModelVersion($value)
2282
    {
2283
        $this->data['ModelVersion'] = $value;
2284
        $this->options['form_params']['ModelVersion'] = $value;
2285
2286
        return $this;
2287
    }
2288
}
2289
2290
/**
2291
 * @method string getFormatResultToJson()
2292
 * @method $this withFormatResultToJson($value)
2293
 * @method string getType()
2294
 * @method string getOssFile()
2295
 * @method $this withOssFile($value)
2296
 * @method string getRequestProxyBy()
2297
 * @method $this withRequestProxyBy($value)
2298
 * @method string getImageURL()
2299
 */
2300
class MonitorExamination extends Rpc
2301
{
2302
2303
    /**
2304
     * @param string $value
2305
     *
2306
     * @return $this
2307
     */
2308
    public function withType($value)
2309
    {
2310
        $this->data['Type'] = $value;
2311
        $this->options['form_params']['Type'] = $value;
2312
2313
        return $this;
2314
    }
2315
2316
    /**
2317
     * @param string $value
2318
     *
2319
     * @return $this
2320
     */
2321
    public function withImageURL($value)
2322
    {
2323
        $this->data['ImageURL'] = $value;
2324
        $this->options['form_params']['ImageURL'] = $value;
2325
2326
        return $this;
2327
    }
2328
}
2329
2330
/**
2331
 * @method string getFormatResultToJson()
2332
 * @method $this withFormatResultToJson($value)
2333
 * @method string getOssFile()
2334
 * @method $this withOssFile($value)
2335
 * @method string getRequestProxyBy()
2336
 * @method $this withRequestProxyBy($value)
2337
 * @method string getImageURL()
2338
 */
2339
class PedestrianDetectAttribute extends Rpc
2340
{
2341
2342
    /**
2343
     * @param string $value
2344
     *
2345
     * @return $this
2346
     */
2347
    public function withImageURL($value)
2348
    {
2349
        $this->data['ImageURL'] = $value;
2350
        $this->options['form_params']['ImageURL'] = $value;
2351
2352
        return $this;
2353
    }
2354
}
2355
2356
/**
2357
 * @method string getFormatResultToJson()
2358
 * @method $this withFormatResultToJson($value)
2359
 * @method string getUserId()
2360
 * @method $this withUserId($value)
2361
 * @method string getOssFile()
2362
 * @method $this withOssFile($value)
2363
 * @method string getTemplateId()
2364
 * @method $this withTemplateId($value)
2365
 * @method string getRequestProxyBy()
2366
 * @method $this withRequestProxyBy($value)
2367
 */
2368
class QueryFaceImageTemplate extends Rpc
2369
{
2370
2371
    /** @var string */
2372
    public $method = 'GET';
2373
}
2374
2375
/**
2376
 * @method string getFormatResultToJson()
2377
 * @method $this withFormatResultToJson($value)
2378
 * @method string getType()
2379
 * @method string getOssFile()
2380
 * @method $this withOssFile($value)
2381
 * @method string getVideoData()
2382
 * @method array getURLList()
2383
 * @method string getRequestProxyBy()
2384
 * @method $this withRequestProxyBy($value)
2385
 * @method string getVideoUrl()
2386
 */
2387
class RecognizeAction extends Rpc
2388
{
2389
2390
    /**
2391
     * @param string $value
2392
     *
2393
     * @return $this
2394
     */
2395
    public function withType($value)
2396
    {
2397
        $this->data['Type'] = $value;
2398
        $this->options['form_params']['Type'] = $value;
2399
2400
        return $this;
2401
    }
2402
2403
    /**
2404
     * @param string $value
2405
     *
2406
     * @return $this
2407
     */
2408
    public function withVideoData($value)
2409
    {
2410
        $this->data['VideoData'] = $value;
2411
        $this->options['form_params']['VideoData'] = $value;
2412
2413
        return $this;
2414
    }
2415
2416
    /**
2417
     * @param array $uRLList
2418
     *
2419
     * @return $this
2420
     */
2421
	public function withURLList(array $uRLList)
2422
	{
2423
	    $this->data['URLList'] = $uRLList;
2424
		foreach ($uRLList as $depth1 => $depth1Value) {
2425
			if(isset($depth1Value['ImageData'])){
2426
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.imageData'] = $depth1Value['ImageData'];
2427
			}
2428
			if(isset($depth1Value['URL'])){
2429
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
2430
			}
2431
		}
2432
2433
		return $this;
2434
    }
2435
2436
    /**
2437
     * @param string $value
2438
     *
2439
     * @return $this
2440
     */
2441
    public function withVideoUrl($value)
2442
    {
2443
        $this->data['VideoUrl'] = $value;
2444
        $this->options['form_params']['VideoUrl'] = $value;
2445
2446
        return $this;
2447
    }
2448
}
2449
2450
/**
2451
 * @method string getFormatResultToJson()
2452
 * @method $this withFormatResultToJson($value)
2453
 * @method string getOssFile()
2454
 * @method $this withOssFile($value)
2455
 * @method string getRequestProxyBy()
2456
 * @method $this withRequestProxyBy($value)
2457
 * @method string getImageURL()
2458
 */
2459
class RecognizeExpression extends Rpc
2460
{
2461
2462
    /**
2463
     * @param string $value
2464
     *
2465
     * @return $this
2466
     */
2467
    public function withImageURL($value)
2468
    {
2469
        $this->data['ImageURL'] = $value;
2470
        $this->options['form_params']['ImageURL'] = $value;
2471
2472
        return $this;
2473
    }
2474
}
2475
2476
/**
2477
 * @method string getGender()
2478
 * @method string getBeauty()
2479
 * @method string getMaxFaceNumber()
2480
 * @method string getFormatResultToJson()
2481
 * @method $this withFormatResultToJson($value)
2482
 * @method string getHat()
2483
 * @method string getOssFile()
2484
 * @method $this withOssFile($value)
2485
 * @method string getMask()
2486
 * @method string getImageType()
2487
 * @method string getGlass()
2488
 * @method string getExpression()
2489
 * @method string getRequestProxyBy()
2490
 * @method $this withRequestProxyBy($value)
2491
 * @method string getQuality()
2492
 * @method string getImageURL()
2493
 * @method string getAge()
2494
 */
2495
class RecognizeFace extends Rpc
2496
{
2497
2498
    /**
2499
     * @param string $value
2500
     *
2501
     * @return $this
2502
     */
2503
    public function withGender($value)
2504
    {
2505
        $this->data['Gender'] = $value;
2506
        $this->options['form_params']['Gender'] = $value;
2507
2508
        return $this;
2509
    }
2510
2511
    /**
2512
     * @param string $value
2513
     *
2514
     * @return $this
2515
     */
2516
    public function withBeauty($value)
2517
    {
2518
        $this->data['Beauty'] = $value;
2519
        $this->options['form_params']['Beauty'] = $value;
2520
2521
        return $this;
2522
    }
2523
2524
    /**
2525
     * @param string $value
2526
     *
2527
     * @return $this
2528
     */
2529
    public function withMaxFaceNumber($value)
2530
    {
2531
        $this->data['MaxFaceNumber'] = $value;
2532
        $this->options['form_params']['MaxFaceNumber'] = $value;
2533
2534
        return $this;
2535
    }
2536
2537
    /**
2538
     * @param string $value
2539
     *
2540
     * @return $this
2541
     */
2542
    public function withHat($value)
2543
    {
2544
        $this->data['Hat'] = $value;
2545
        $this->options['form_params']['Hat'] = $value;
2546
2547
        return $this;
2548
    }
2549
2550
    /**
2551
     * @param string $value
2552
     *
2553
     * @return $this
2554
     */
2555
    public function withMask($value)
2556
    {
2557
        $this->data['Mask'] = $value;
2558
        $this->options['form_params']['Mask'] = $value;
2559
2560
        return $this;
2561
    }
2562
2563
    /**
2564
     * @param string $value
2565
     *
2566
     * @return $this
2567
     */
2568
    public function withImageType($value)
2569
    {
2570
        $this->data['ImageType'] = $value;
2571
        $this->options['form_params']['ImageType'] = $value;
2572
2573
        return $this;
2574
    }
2575
2576
    /**
2577
     * @param string $value
2578
     *
2579
     * @return $this
2580
     */
2581
    public function withGlass($value)
2582
    {
2583
        $this->data['Glass'] = $value;
2584
        $this->options['form_params']['Glass'] = $value;
2585
2586
        return $this;
2587
    }
2588
2589
    /**
2590
     * @param string $value
2591
     *
2592
     * @return $this
2593
     */
2594
    public function withExpression($value)
2595
    {
2596
        $this->data['Expression'] = $value;
2597
        $this->options['form_params']['Expression'] = $value;
2598
2599
        return $this;
2600
    }
2601
2602
    /**
2603
     * @param string $value
2604
     *
2605
     * @return $this
2606
     */
2607
    public function withQuality($value)
2608
    {
2609
        $this->data['Quality'] = $value;
2610
        $this->options['form_params']['Quality'] = $value;
2611
2612
        return $this;
2613
    }
2614
2615
    /**
2616
     * @param string $value
2617
     *
2618
     * @return $this
2619
     */
2620
    public function withImageURL($value)
2621
    {
2622
        $this->data['ImageURL'] = $value;
2623
        $this->options['form_params']['ImageURL'] = $value;
2624
2625
        return $this;
2626
    }
2627
2628
    /**
2629
     * @param string $value
2630
     *
2631
     * @return $this
2632
     */
2633
    public function withAge($value)
2634
    {
2635
        $this->data['Age'] = $value;
2636
        $this->options['form_params']['Age'] = $value;
2637
2638
        return $this;
2639
    }
2640
}
2641
2642
/**
2643
 * @method string getGestureType()
2644
 * @method string getFormatResultToJson()
2645
 * @method $this withFormatResultToJson($value)
2646
 * @method string getOssFile()
2647
 * @method $this withOssFile($value)
2648
 * @method string getRequestProxyBy()
2649
 * @method $this withRequestProxyBy($value)
2650
 * @method string getAppId()
2651
 * @method string getImageURL()
2652
 */
2653
class RecognizeHandGesture extends Rpc
2654
{
2655
2656
    /**
2657
     * @param string $value
2658
     *
2659
     * @return $this
2660
     */
2661
    public function withGestureType($value)
2662
    {
2663
        $this->data['GestureType'] = $value;
2664
        $this->options['form_params']['GestureType'] = $value;
2665
2666
        return $this;
2667
    }
2668
2669
    /**
2670
     * @param string $value
2671
     *
2672
     * @return $this
2673
     */
2674
    public function withAppId($value)
2675
    {
2676
        $this->data['AppId'] = $value;
2677
        $this->options['form_params']['AppId'] = $value;
2678
2679
        return $this;
2680
    }
2681
2682
    /**
2683
     * @param string $value
2684
     *
2685
     * @return $this
2686
     */
2687
    public function withImageURL($value)
2688
    {
2689
        $this->data['ImageURL'] = $value;
2690
        $this->options['form_params']['ImageURL'] = $value;
2691
2692
        return $this;
2693
    }
2694
}
2695
2696
/**
2697
 * @method string getFormatResultToJson()
2698
 * @method $this withFormatResultToJson($value)
2699
 * @method string getOssFile()
2700
 * @method $this withOssFile($value)
2701
 * @method string getRequestProxyBy()
2702
 * @method $this withRequestProxyBy($value)
2703
 * @method array getTask()
2704
 */
2705
class RecognizePublicFace extends Rpc
2706
{
2707
2708
    /**
2709
     * @param array $task
2710
     *
2711
     * @return $this
2712
     */
2713
	public function withTask(array $task)
2714
	{
2715
	    $this->data['Task'] = $task;
2716
		foreach ($task as $depth1 => $depth1Value) {
2717
			if(isset($depth1Value['ImageURL'])){
2718
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
2719
			}
2720
			if(isset($depth1Value['ImageData'])){
2721
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageData'] = $depth1Value['ImageData'];
2722
			}
2723
		}
2724
2725
		return $this;
2726
    }
2727
}
2728
2729
/**
2730
 * @method string getLengthenDegree()
2731
 * @method string getFormatResultToJson()
2732
 * @method $this withFormatResultToJson($value)
2733
 * @method string getOssFile()
2734
 * @method $this withOssFile($value)
2735
 * @method string getSlimDegree()
2736
 * @method string getRequestProxyBy()
2737
 * @method $this withRequestProxyBy($value)
2738
 * @method string getImageURL()
2739
 */
2740
class RetouchBody extends Rpc
2741
{
2742
2743
    /**
2744
     * @param string $value
2745
     *
2746
     * @return $this
2747
     */
2748
    public function withLengthenDegree($value)
2749
    {
2750
        $this->data['LengthenDegree'] = $value;
2751
        $this->options['form_params']['LengthenDegree'] = $value;
2752
2753
        return $this;
2754
    }
2755
2756
    /**
2757
     * @param string $value
2758
     *
2759
     * @return $this
2760
     */
2761
    public function withSlimDegree($value)
2762
    {
2763
        $this->data['SlimDegree'] = $value;
2764
        $this->options['form_params']['SlimDegree'] = $value;
2765
2766
        return $this;
2767
    }
2768
2769
    /**
2770
     * @param string $value
2771
     *
2772
     * @return $this
2773
     */
2774
    public function withImageURL($value)
2775
    {
2776
        $this->data['ImageURL'] = $value;
2777
        $this->options['form_params']['ImageURL'] = $value;
2778
2779
        return $this;
2780
    }
2781
}
2782
2783
/**
2784
 * @method string getFormatResultToJson()
2785
 * @method $this withFormatResultToJson($value)
2786
 * @method string getRetouchDegree()
2787
 * @method string getWhiteningDegree()
2788
 * @method string getOssFile()
2789
 * @method $this withOssFile($value)
2790
 * @method string getRequestProxyBy()
2791
 * @method $this withRequestProxyBy($value)
2792
 * @method string getImageURL()
2793
 */
2794
class RetouchSkin extends Rpc
2795
{
2796
2797
    /**
2798
     * @param string $value
2799
     *
2800
     * @return $this
2801
     */
2802
    public function withRetouchDegree($value)
2803
    {
2804
        $this->data['RetouchDegree'] = $value;
2805
        $this->options['form_params']['RetouchDegree'] = $value;
2806
2807
        return $this;
2808
    }
2809
2810
    /**
2811
     * @param string $value
2812
     *
2813
     * @return $this
2814
     */
2815
    public function withWhiteningDegree($value)
2816
    {
2817
        $this->data['WhiteningDegree'] = $value;
2818
        $this->options['form_params']['WhiteningDegree'] = $value;
2819
2820
        return $this;
2821
    }
2822
2823
    /**
2824
     * @param string $value
2825
     *
2826
     * @return $this
2827
     */
2828
    public function withImageURL($value)
2829
    {
2830
        $this->data['ImageURL'] = $value;
2831
        $this->options['form_params']['ImageURL'] = $value;
2832
2833
        return $this;
2834
    }
2835
}
2836
2837
/**
2838
 * @method string getMaxFaceNum()
2839
 * @method string getFormatResultToJson()
2840
 * @method $this withFormatResultToJson($value)
2841
 * @method string getQualityScoreThreshold()
2842
 * @method string getLimit()
2843
 * @method string getOssFile()
2844
 * @method $this withOssFile($value)
2845
 * @method string getRequestProxyBy()
2846
 * @method $this withRequestProxyBy($value)
2847
 * @method string getDbNames()
2848
 * @method string getDbName()
2849
 * @method string getImageUrl()
2850
 */
2851
class SearchFace extends Rpc
2852
{
2853
2854
    /**
2855
     * @param string $value
2856
     *
2857
     * @return $this
2858
     */
2859
    public function withMaxFaceNum($value)
2860
    {
2861
        $this->data['MaxFaceNum'] = $value;
2862
        $this->options['form_params']['MaxFaceNum'] = $value;
2863
2864
        return $this;
2865
    }
2866
2867
    /**
2868
     * @param string $value
2869
     *
2870
     * @return $this
2871
     */
2872
    public function withQualityScoreThreshold($value)
2873
    {
2874
        $this->data['QualityScoreThreshold'] = $value;
2875
        $this->options['form_params']['QualityScoreThreshold'] = $value;
2876
2877
        return $this;
2878
    }
2879
2880
    /**
2881
     * @param string $value
2882
     *
2883
     * @return $this
2884
     */
2885
    public function withLimit($value)
2886
    {
2887
        $this->data['Limit'] = $value;
2888
        $this->options['form_params']['Limit'] = $value;
2889
2890
        return $this;
2891
    }
2892
2893
    /**
2894
     * @param string $value
2895
     *
2896
     * @return $this
2897
     */
2898
    public function withDbNames($value)
2899
    {
2900
        $this->data['DbNames'] = $value;
2901
        $this->options['form_params']['DbNames'] = $value;
2902
2903
        return $this;
2904
    }
2905
2906
    /**
2907
     * @param string $value
2908
     *
2909
     * @return $this
2910
     */
2911
    public function withDbName($value)
2912
    {
2913
        $this->data['DbName'] = $value;
2914
        $this->options['form_params']['DbName'] = $value;
2915
2916
        return $this;
2917
    }
2918
2919
    /**
2920
     * @param string $value
2921
     *
2922
     * @return $this
2923
     */
2924
    public function withImageUrl($value)
2925
    {
2926
        $this->data['ImageUrl'] = $value;
2927
        $this->options['form_params']['ImageUrl'] = $value;
2928
2929
        return $this;
2930
    }
2931
}
2932
2933
/**
2934
 * @method string getTargetImageURL()
2935
 * @method string getFormatResultToJson()
2936
 * @method $this withFormatResultToJson($value)
2937
 * @method string getSourceImageData()
2938
 * @method string getOssFile()
2939
 * @method $this withOssFile($value)
2940
 * @method string getSourceImageURL()
2941
 * @method string getTargetImageData()
2942
 * @method string getRequestProxyBy()
2943
 * @method $this withRequestProxyBy($value)
2944
 * @method string getEditPart()
2945
 */
2946
class SwapFacialFeatures extends Rpc
2947
{
2948
2949
    /**
2950
     * @param string $value
2951
     *
2952
     * @return $this
2953
     */
2954
    public function withTargetImageURL($value)
2955
    {
2956
        $this->data['TargetImageURL'] = $value;
2957
        $this->options['form_params']['TargetImageURL'] = $value;
2958
2959
        return $this;
2960
    }
2961
2962
    /**
2963
     * @param string $value
2964
     *
2965
     * @return $this
2966
     */
2967
    public function withSourceImageData($value)
2968
    {
2969
        $this->data['SourceImageData'] = $value;
2970
        $this->options['form_params']['SourceImageData'] = $value;
2971
2972
        return $this;
2973
    }
2974
2975
    /**
2976
     * @param string $value
2977
     *
2978
     * @return $this
2979
     */
2980
    public function withSourceImageURL($value)
2981
    {
2982
        $this->data['SourceImageURL'] = $value;
2983
        $this->options['form_params']['SourceImageURL'] = $value;
2984
2985
        return $this;
2986
    }
2987
2988
    /**
2989
     * @param string $value
2990
     *
2991
     * @return $this
2992
     */
2993
    public function withTargetImageData($value)
2994
    {
2995
        $this->data['TargetImageData'] = $value;
2996
        $this->options['form_params']['TargetImageData'] = $value;
2997
2998
        return $this;
2999
    }
3000
3001
    /**
3002
     * @param string $value
3003
     *
3004
     * @return $this
3005
     */
3006
    public function withEditPart($value)
3007
    {
3008
        $this->data['EditPart'] = $value;
3009
        $this->options['form_params']['EditPart'] = $value;
3010
3011
        return $this;
3012
    }
3013
}
3014
3015
/**
3016
 * @method string getEntityId()
3017
 * @method string getFormatResultToJson()
3018
 * @method $this withFormatResultToJson($value)
3019
 * @method string getOssFile()
3020
 * @method $this withOssFile($value)
3021
 * @method string getRequestProxyBy()
3022
 * @method $this withRequestProxyBy($value)
3023
 * @method string getLabels()
3024
 * @method string getDbName()
3025
 */
3026
class UpdateFaceEntity extends Rpc
3027
{
3028
3029
    /**
3030
     * @param string $value
3031
     *
3032
     * @return $this
3033
     */
3034
    public function withEntityId($value)
3035
    {
3036
        $this->data['EntityId'] = $value;
3037
        $this->options['form_params']['EntityId'] = $value;
3038
3039
        return $this;
3040
    }
3041
3042
    /**
3043
     * @param string $value
3044
     *
3045
     * @return $this
3046
     */
3047
    public function withLabels($value)
3048
    {
3049
        $this->data['Labels'] = $value;
3050
        $this->options['form_params']['Labels'] = $value;
3051
3052
        return $this;
3053
    }
3054
3055
    /**
3056
     * @param string $value
3057
     *
3058
     * @return $this
3059
     */
3060
    public function withDbName($value)
3061
    {
3062
        $this->data['DbName'] = $value;
3063
        $this->options['form_params']['DbName'] = $value;
3064
3065
        return $this;
3066
    }
3067
}
3068
3069
/**
3070
 * @method string getFormatResultToJson()
3071
 * @method $this withFormatResultToJson($value)
3072
 * @method string getRefData()
3073
 * @method string getOssFile()
3074
 * @method $this withOssFile($value)
3075
 * @method string getImageData()
3076
 * @method string getRequestProxyBy()
3077
 * @method $this withRequestProxyBy($value)
3078
 * @method string getImageURL()
3079
 * @method string getRefUrl()
3080
 */
3081
class VerifyFaceMask extends Rpc
3082
{
3083
3084
    /**
3085
     * @param string $value
3086
     *
3087
     * @return $this
3088
     */
3089
    public function withRefData($value)
3090
    {
3091
        $this->data['RefData'] = $value;
3092
        $this->options['form_params']['RefData'] = $value;
3093
3094
        return $this;
3095
    }
3096
3097
    /**
3098
     * @param string $value
3099
     *
3100
     * @return $this
3101
     */
3102
    public function withImageData($value)
3103
    {
3104
        $this->data['ImageData'] = $value;
3105
        $this->options['form_params']['ImageData'] = $value;
3106
3107
        return $this;
3108
    }
3109
3110
    /**
3111
     * @param string $value
3112
     *
3113
     * @return $this
3114
     */
3115
    public function withImageURL($value)
3116
    {
3117
        $this->data['ImageURL'] = $value;
3118
        $this->options['form_params']['ImageURL'] = $value;
3119
3120
        return $this;
3121
    }
3122
3123
    /**
3124
     * @param string $value
3125
     *
3126
     * @return $this
3127
     */
3128
    public function withRefUrl($value)
3129
    {
3130
        $this->data['RefUrl'] = $value;
3131
        $this->options['form_params']['RefUrl'] = $value;
3132
3133
        return $this;
3134
    }
3135
}
3136