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 ( 4a762c...ada2b6 )
by
unknown
06:43
created

SearchBodyTrace   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 53
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 13
dl 0
loc 53
rs 10
c 0
b 0
f 0

1 Method

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