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 ( b7aff3...940fb3 )
by
unknown
06:49
created

RecognizeFace::withImageURL()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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