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 ( fface5...de309d )
by
unknown
10:03 queued 02:20
created

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