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 ( e65e8f...f2870f )
by
unknown
05:28
created

ExtractPedestrianFeatureAttribute::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 AddFace addFace(array $options = [])
9
 * @method AddFaceEntity addFaceEntity(array $options = [])
10
 * @method BodyPosture bodyPosture(array $options = [])
11
 * @method CompareFace compareFace(array $options = [])
12
 * @method CreateFaceDb createFaceDb(array $options = [])
13
 * @method DeleteFace deleteFace(array $options = [])
14
 * @method DeleteFaceDb deleteFaceDb(array $options = [])
15
 * @method DeleteFaceEntity deleteFaceEntity(array $options = [])
16
 * @method DetectBodyCount detectBodyCount(array $options = [])
17
 * @method DetectCelebrity detectCelebrity(array $options = [])
18
 * @method DetectFace detectFace(array $options = [])
19
 * @method DetectLivingFace detectLivingFace(array $options = [])
20
 * @method DetectMask detectMask(array $options = [])
21
 * @method DetectPedestrian detectPedestrian(array $options = [])
22
 * @method DetectVideoLivingFace detectVideoLivingFace(array $options = [])
23
 * @method EnhanceFace enhanceFace(array $options = [])
24
 * @method ExtractPedestrianFeatureAttribute extractPedestrianFeatureAttribute(array $options = [])
25
 * @method FaceBeauty faceBeauty(array $options = [])
26
 * @method FaceFilter faceFilter(array $options = [])
27
 * @method FaceMakeup faceMakeup(array $options = [])
28
 * @method FaceTidyup faceTidyup(array $options = [])
29
 * @method GetFaceEntity getFaceEntity(array $options = [])
30
 * @method HandPosture handPosture(array $options = [])
31
 * @method ListFaceDbs listFaceDbs(array $options = [])
32
 * @method ListFaceEntities listFaceEntities(array $options = [])
33
 * @method RecognizeAction recognizeAction(array $options = [])
34
 * @method RecognizeExpression recognizeExpression(array $options = [])
35
 * @method RecognizeFace recognizeFace(array $options = [])
36
 * @method RecognizePublicFace recognizePublicFace(array $options = [])
37
 * @method SearchFace searchFace(array $options = [])
38
 * @method SwapFacialFeatures swapFacialFeatures(array $options = [])
39
 * @method UpdateFaceEntity updateFaceEntity(array $options = [])
40
 * @method VerifyFaceMask verifyFaceMask(array $options = [])
41
 */
42
class FacebodyApiResolver extends ApiResolver
43
{
44
}
45
46
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
47
{
48
    /** @var string */
49
    public $product = 'facebody';
50
51
    /** @var string */
52
    public $version = '2019-12-30';
53
54
    /** @var string */
55
    public $method = 'POST';
56
57
    /** @var string */
58
    public $serviceCode = 'facebody';
59
}
60
61
/**
62
 * @method string getEntityId()
63
 * @method string getDbName()
64
 * @method string getImageUrl()
65
 * @method string getExtraData()
66
 */
67
class AddFace extends Rpc
68
{
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withEntityId($value)
76
    {
77
        $this->data['EntityId'] = $value;
78
        $this->options['form_params']['EntityId'] = $value;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @param string $value
85
     *
86
     * @return $this
87
     */
88
    public function withDbName($value)
89
    {
90
        $this->data['DbName'] = $value;
91
        $this->options['form_params']['DbName'] = $value;
92
93
        return $this;
94
    }
95
96
    /**
97
     * @param string $value
98
     *
99
     * @return $this
100
     */
101
    public function withImageUrl($value)
102
    {
103
        $this->data['ImageUrl'] = $value;
104
        $this->options['form_params']['ImageUrl'] = $value;
105
106
        return $this;
107
    }
108
109
    /**
110
     * @param string $value
111
     *
112
     * @return $this
113
     */
114
    public function withExtraData($value)
115
    {
116
        $this->data['ExtraData'] = $value;
117
        $this->options['form_params']['ExtraData'] = $value;
118
119
        return $this;
120
    }
121
}
122
123
/**
124
 * @method string getEntityId()
125
 * @method string getLabels()
126
 * @method string getDbName()
127
 */
128
class AddFaceEntity extends Rpc
129
{
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withEntityId($value)
137
    {
138
        $this->data['EntityId'] = $value;
139
        $this->options['form_params']['EntityId'] = $value;
140
141
        return $this;
142
    }
143
144
    /**
145
     * @param string $value
146
     *
147
     * @return $this
148
     */
149
    public function withLabels($value)
150
    {
151
        $this->data['Labels'] = $value;
152
        $this->options['form_params']['Labels'] = $value;
153
154
        return $this;
155
    }
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withDbName($value)
163
    {
164
        $this->data['DbName'] = $value;
165
        $this->options['form_params']['DbName'] = $value;
166
167
        return $this;
168
    }
169
}
170
171
/**
172
 * @method string getImageURL()
173
 */
174
class BodyPosture extends Rpc
175
{
176
177
    /**
178
     * @param string $value
179
     *
180
     * @return $this
181
     */
182
    public function withImageURL($value)
183
    {
184
        $this->data['ImageURL'] = $value;
185
        $this->options['form_params']['ImageURL'] = $value;
186
187
        return $this;
188
    }
189
}
190
191
/**
192
 * @method string getImageType()
193
 * @method string getImageURLB()
194
 * @method string getImageURLA()
195
 */
196
class CompareFace extends Rpc
197
{
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withImageType($value)
205
    {
206
        $this->data['ImageType'] = $value;
207
        $this->options['form_params']['ImageType'] = $value;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withImageURLB($value)
218
    {
219
        $this->data['ImageURLB'] = $value;
220
        $this->options['form_params']['ImageURLB'] = $value;
221
222
        return $this;
223
    }
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withImageURLA($value)
231
    {
232
        $this->data['ImageURLA'] = $value;
233
        $this->options['form_params']['ImageURLA'] = $value;
234
235
        return $this;
236
    }
237
}
238
239
/**
240
 * @method string getName()
241
 */
242
class CreateFaceDb extends Rpc
243
{
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withName($value)
251
    {
252
        $this->data['Name'] = $value;
253
        $this->options['form_params']['Name'] = $value;
254
255
        return $this;
256
    }
257
}
258
259
/**
260
 * @method string getFaceId()
261
 * @method string getDbName()
262
 */
263
class DeleteFace extends Rpc
264
{
265
266
    /**
267
     * @param string $value
268
     *
269
     * @return $this
270
     */
271
    public function withFaceId($value)
272
    {
273
        $this->data['FaceId'] = $value;
274
        $this->options['form_params']['FaceId'] = $value;
275
276
        return $this;
277
    }
278
279
    /**
280
     * @param string $value
281
     *
282
     * @return $this
283
     */
284
    public function withDbName($value)
285
    {
286
        $this->data['DbName'] = $value;
287
        $this->options['form_params']['DbName'] = $value;
288
289
        return $this;
290
    }
291
}
292
293
/**
294
 * @method string getName()
295
 */
296
class DeleteFaceDb extends Rpc
297
{
298
299
    /**
300
     * @param string $value
301
     *
302
     * @return $this
303
     */
304
    public function withName($value)
305
    {
306
        $this->data['Name'] = $value;
307
        $this->options['form_params']['Name'] = $value;
308
309
        return $this;
310
    }
311
}
312
313
/**
314
 * @method string getEntityId()
315
 * @method string getDbName()
316
 */
317
class DeleteFaceEntity extends Rpc
318
{
319
320
    /**
321
     * @param string $value
322
     *
323
     * @return $this
324
     */
325
    public function withEntityId($value)
326
    {
327
        $this->data['EntityId'] = $value;
328
        $this->options['form_params']['EntityId'] = $value;
329
330
        return $this;
331
    }
332
333
    /**
334
     * @param string $value
335
     *
336
     * @return $this
337
     */
338
    public function withDbName($value)
339
    {
340
        $this->data['DbName'] = $value;
341
        $this->options['form_params']['DbName'] = $value;
342
343
        return $this;
344
    }
345
}
346
347
/**
348
 * @method string getImageURL()
349
 */
350
class DetectBodyCount extends Rpc
351
{
352
353
    /**
354
     * @param string $value
355
     *
356
     * @return $this
357
     */
358
    public function withImageURL($value)
359
    {
360
        $this->data['ImageURL'] = $value;
361
        $this->options['form_params']['ImageURL'] = $value;
362
363
        return $this;
364
    }
365
}
366
367
/**
368
 * @method string getImageURL()
369
 */
370
class DetectCelebrity extends Rpc
371
{
372
373
    /**
374
     * @param string $value
375
     *
376
     * @return $this
377
     */
378
    public function withImageURL($value)
379
    {
380
        $this->data['ImageURL'] = $value;
381
        $this->options['form_params']['ImageURL'] = $value;
382
383
        return $this;
384
    }
385
}
386
387
/**
388
 * @method string getImageType()
389
 * @method string getImageURL()
390
 */
391
class DetectFace extends Rpc
392
{
393
394
    /**
395
     * @param string $value
396
     *
397
     * @return $this
398
     */
399
    public function withImageType($value)
400
    {
401
        $this->data['ImageType'] = $value;
402
        $this->options['form_params']['ImageType'] = $value;
403
404
        return $this;
405
    }
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withImageURL($value)
413
    {
414
        $this->data['ImageURL'] = $value;
415
        $this->options['form_params']['ImageURL'] = $value;
416
417
        return $this;
418
    }
419
}
420
421
/**
422
 * @method array getTasks()
423
 */
424
class DetectLivingFace extends Rpc
425
{
426
427
    /**
428
     * @param array $tasks
429
     *
430
     * @return $this
431
     */
432
	public function withTasks(array $tasks)
433
	{
434
	    $this->data['Tasks'] = $tasks;
435
		foreach ($tasks as $depth1 => $depth1Value) {
436
			if(isset($depth1Value['ImageURL'])){
437
				$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
438
			}
439
		}
440
441
		return $this;
442
    }
443
}
444
445
/**
446
 * @method string getImageURL()
447
 */
448
class DetectMask extends Rpc
449
{
450
451
    /**
452
     * @param string $value
453
     *
454
     * @return $this
455
     */
456
    public function withImageURL($value)
457
    {
458
        $this->data['ImageURL'] = $value;
459
        $this->options['form_params']['ImageURL'] = $value;
460
461
        return $this;
462
    }
463
}
464
465
/**
466
 * @method string getImageURL()
467
 */
468
class DetectPedestrian extends Rpc
469
{
470
471
    /**
472
     * @param string $value
473
     *
474
     * @return $this
475
     */
476
    public function withImageURL($value)
477
    {
478
        $this->data['ImageURL'] = $value;
479
        $this->options['form_params']['ImageURL'] = $value;
480
481
        return $this;
482
    }
483
}
484
485
/**
486
 * @method string getVideoUrl()
487
 */
488
class DetectVideoLivingFace extends Rpc
489
{
490
491
    /**
492
     * @param string $value
493
     *
494
     * @return $this
495
     */
496
    public function withVideoUrl($value)
497
    {
498
        $this->data['VideoUrl'] = $value;
499
        $this->options['form_params']['VideoUrl'] = $value;
500
501
        return $this;
502
    }
503
}
504
505
/**
506
 * @method string getImageURL()
507
 */
508
class EnhanceFace extends Rpc
509
{
510
511
    /**
512
     * @param string $value
513
     *
514
     * @return $this
515
     */
516
    public function withImageURL($value)
517
    {
518
        $this->data['ImageURL'] = $value;
519
        $this->options['form_params']['ImageURL'] = $value;
520
521
        return $this;
522
    }
523
}
524
525
/**
526
 * @method string getImageURL()
527
 */
528
class ExtractPedestrianFeatureAttribute extends Rpc
529
{
530
531
    /**
532
     * @param string $value
533
     *
534
     * @return $this
535
     */
536
    public function withImageURL($value)
537
    {
538
        $this->data['ImageURL'] = $value;
539
        $this->options['form_params']['ImageURL'] = $value;
540
541
        return $this;
542
    }
543
}
544
545
/**
546
 * @method string getSharp()
547
 * @method string getWhite()
548
 * @method string getImageURL()
549
 * @method string getSmooth()
550
 */
551
class FaceBeauty extends Rpc
552
{
553
554
    /**
555
     * @param string $value
556
     *
557
     * @return $this
558
     */
559
    public function withSharp($value)
560
    {
561
        $this->data['Sharp'] = $value;
562
        $this->options['form_params']['Sharp'] = $value;
563
564
        return $this;
565
    }
566
567
    /**
568
     * @param string $value
569
     *
570
     * @return $this
571
     */
572
    public function withWhite($value)
573
    {
574
        $this->data['White'] = $value;
575
        $this->options['form_params']['White'] = $value;
576
577
        return $this;
578
    }
579
580
    /**
581
     * @param string $value
582
     *
583
     * @return $this
584
     */
585
    public function withImageURL($value)
586
    {
587
        $this->data['ImageURL'] = $value;
588
        $this->options['form_params']['ImageURL'] = $value;
589
590
        return $this;
591
    }
592
593
    /**
594
     * @param string $value
595
     *
596
     * @return $this
597
     */
598
    public function withSmooth($value)
599
    {
600
        $this->data['Smooth'] = $value;
601
        $this->options['form_params']['Smooth'] = $value;
602
603
        return $this;
604
    }
605
}
606
607
/**
608
 * @method string getStrength()
609
 * @method string getResourceType()
610
 * @method string getImageURL()
611
 */
612
class FaceFilter extends Rpc
613
{
614
615
    /**
616
     * @param string $value
617
     *
618
     * @return $this
619
     */
620
    public function withStrength($value)
621
    {
622
        $this->data['Strength'] = $value;
623
        $this->options['form_params']['Strength'] = $value;
624
625
        return $this;
626
    }
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withResourceType($value)
634
    {
635
        $this->data['ResourceType'] = $value;
636
        $this->options['form_params']['ResourceType'] = $value;
637
638
        return $this;
639
    }
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withImageURL($value)
647
    {
648
        $this->data['ImageURL'] = $value;
649
        $this->options['form_params']['ImageURL'] = $value;
650
651
        return $this;
652
    }
653
}
654
655
/**
656
 * @method string getStrength()
657
 * @method string getMakeupType()
658
 * @method string getResourceType()
659
 * @method string getImageURL()
660
 */
661
class FaceMakeup extends Rpc
662
{
663
664
    /**
665
     * @param string $value
666
     *
667
     * @return $this
668
     */
669
    public function withStrength($value)
670
    {
671
        $this->data['Strength'] = $value;
672
        $this->options['form_params']['Strength'] = $value;
673
674
        return $this;
675
    }
676
677
    /**
678
     * @param string $value
679
     *
680
     * @return $this
681
     */
682
    public function withMakeupType($value)
683
    {
684
        $this->data['MakeupType'] = $value;
685
        $this->options['form_params']['MakeupType'] = $value;
686
687
        return $this;
688
    }
689
690
    /**
691
     * @param string $value
692
     *
693
     * @return $this
694
     */
695
    public function withResourceType($value)
696
    {
697
        $this->data['ResourceType'] = $value;
698
        $this->options['form_params']['ResourceType'] = $value;
699
700
        return $this;
701
    }
702
703
    /**
704
     * @param string $value
705
     *
706
     * @return $this
707
     */
708
    public function withImageURL($value)
709
    {
710
        $this->data['ImageURL'] = $value;
711
        $this->options['form_params']['ImageURL'] = $value;
712
713
        return $this;
714
    }
715
}
716
717
/**
718
 * @method string getShapeType()
719
 * @method string getStrength()
720
 * @method string getImageURL()
721
 */
722
class FaceTidyup extends Rpc
723
{
724
725
    /**
726
     * @param string $value
727
     *
728
     * @return $this
729
     */
730
    public function withShapeType($value)
731
    {
732
        $this->data['ShapeType'] = $value;
733
        $this->options['form_params']['ShapeType'] = $value;
734
735
        return $this;
736
    }
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withStrength($value)
744
    {
745
        $this->data['Strength'] = $value;
746
        $this->options['form_params']['Strength'] = $value;
747
748
        return $this;
749
    }
750
751
    /**
752
     * @param string $value
753
     *
754
     * @return $this
755
     */
756
    public function withImageURL($value)
757
    {
758
        $this->data['ImageURL'] = $value;
759
        $this->options['form_params']['ImageURL'] = $value;
760
761
        return $this;
762
    }
763
}
764
765
/**
766
 * @method string getEntityId()
767
 * @method string getDbName()
768
 */
769
class GetFaceEntity extends Rpc
770
{
771
772
    /**
773
     * @param string $value
774
     *
775
     * @return $this
776
     */
777
    public function withEntityId($value)
778
    {
779
        $this->data['EntityId'] = $value;
780
        $this->options['form_params']['EntityId'] = $value;
781
782
        return $this;
783
    }
784
785
    /**
786
     * @param string $value
787
     *
788
     * @return $this
789
     */
790
    public function withDbName($value)
791
    {
792
        $this->data['DbName'] = $value;
793
        $this->options['form_params']['DbName'] = $value;
794
795
        return $this;
796
    }
797
}
798
799
/**
800
 * @method string getImageURL()
801
 */
802
class HandPosture extends Rpc
803
{
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withImageURL($value)
811
    {
812
        $this->data['ImageURL'] = $value;
813
        $this->options['form_params']['ImageURL'] = $value;
814
815
        return $this;
816
    }
817
}
818
819
class ListFaceDbs extends Rpc
820
{
821
}
822
823
/**
824
 * @method string getEntityIdPrefix()
825
 * @method string getLimit()
826
 * @method string getOrder()
827
 * @method string getOffset()
828
 * @method string getToken()
829
 * @method string getLabels()
830
 * @method string getDbName()
831
 */
832
class ListFaceEntities extends Rpc
833
{
834
835
    /**
836
     * @param string $value
837
     *
838
     * @return $this
839
     */
840
    public function withEntityIdPrefix($value)
841
    {
842
        $this->data['EntityIdPrefix'] = $value;
843
        $this->options['form_params']['EntityIdPrefix'] = $value;
844
845
        return $this;
846
    }
847
848
    /**
849
     * @param string $value
850
     *
851
     * @return $this
852
     */
853
    public function withLimit($value)
854
    {
855
        $this->data['Limit'] = $value;
856
        $this->options['form_params']['Limit'] = $value;
857
858
        return $this;
859
    }
860
861
    /**
862
     * @param string $value
863
     *
864
     * @return $this
865
     */
866
    public function withOrder($value)
867
    {
868
        $this->data['Order'] = $value;
869
        $this->options['form_params']['Order'] = $value;
870
871
        return $this;
872
    }
873
874
    /**
875
     * @param string $value
876
     *
877
     * @return $this
878
     */
879
    public function withOffset($value)
880
    {
881
        $this->data['Offset'] = $value;
882
        $this->options['form_params']['Offset'] = $value;
883
884
        return $this;
885
    }
886
887
    /**
888
     * @param string $value
889
     *
890
     * @return $this
891
     */
892
    public function withToken($value)
893
    {
894
        $this->data['Token'] = $value;
895
        $this->options['form_params']['Token'] = $value;
896
897
        return $this;
898
    }
899
900
    /**
901
     * @param string $value
902
     *
903
     * @return $this
904
     */
905
    public function withLabels($value)
906
    {
907
        $this->data['Labels'] = $value;
908
        $this->options['form_params']['Labels'] = $value;
909
910
        return $this;
911
    }
912
913
    /**
914
     * @param string $value
915
     *
916
     * @return $this
917
     */
918
    public function withDbName($value)
919
    {
920
        $this->data['DbName'] = $value;
921
        $this->options['form_params']['DbName'] = $value;
922
923
        return $this;
924
    }
925
}
926
927
/**
928
 * @method array getURLList()
929
 * @method string getType()
930
 * @method string getVideoUrl()
931
 */
932
class RecognizeAction extends Rpc
933
{
934
935
    /**
936
     * @param array $uRLList
937
     *
938
     * @return $this
939
     */
940
	public function withURLList(array $uRLList)
941
	{
942
	    $this->data['URLList'] = $uRLList;
943
		foreach ($uRLList as $depth1 => $depth1Value) {
944
			if(isset($depth1Value['URL'])){
945
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
946
			}
947
		}
948
949
		return $this;
950
    }
951
952
    /**
953
     * @param string $value
954
     *
955
     * @return $this
956
     */
957
    public function withType($value)
958
    {
959
        $this->data['Type'] = $value;
960
        $this->options['form_params']['Type'] = $value;
961
962
        return $this;
963
    }
964
965
    /**
966
     * @param string $value
967
     *
968
     * @return $this
969
     */
970
    public function withVideoUrl($value)
971
    {
972
        $this->data['VideoUrl'] = $value;
973
        $this->options['form_params']['VideoUrl'] = $value;
974
975
        return $this;
976
    }
977
}
978
979
/**
980
 * @method string getImageURL()
981
 */
982
class RecognizeExpression extends Rpc
983
{
984
985
    /**
986
     * @param string $value
987
     *
988
     * @return $this
989
     */
990
    public function withImageURL($value)
991
    {
992
        $this->data['ImageURL'] = $value;
993
        $this->options['form_params']['ImageURL'] = $value;
994
995
        return $this;
996
    }
997
}
998
999
/**
1000
 * @method string getImageType()
1001
 * @method string getImageURL()
1002
 */
1003
class RecognizeFace extends Rpc
1004
{
1005
1006
    /**
1007
     * @param string $value
1008
     *
1009
     * @return $this
1010
     */
1011
    public function withImageType($value)
1012
    {
1013
        $this->data['ImageType'] = $value;
1014
        $this->options['form_params']['ImageType'] = $value;
1015
1016
        return $this;
1017
    }
1018
1019
    /**
1020
     * @param string $value
1021
     *
1022
     * @return $this
1023
     */
1024
    public function withImageURL($value)
1025
    {
1026
        $this->data['ImageURL'] = $value;
1027
        $this->options['form_params']['ImageURL'] = $value;
1028
1029
        return $this;
1030
    }
1031
}
1032
1033
/**
1034
 * @method array getTask()
1035
 */
1036
class RecognizePublicFace extends Rpc
1037
{
1038
1039
    /**
1040
     * @param array $task
1041
     *
1042
     * @return $this
1043
     */
1044
	public function withTask(array $task)
1045
	{
1046
	    $this->data['Task'] = $task;
1047
		foreach ($task as $depth1 => $depth1Value) {
1048
			if(isset($depth1Value['ImageURL'])){
1049
				$this->options['form_params']['Task.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
1050
			}
1051
		}
1052
1053
		return $this;
1054
    }
1055
}
1056
1057
/**
1058
 * @method string getDbName()
1059
 * @method string getImageUrl()
1060
 * @method string getLimit()
1061
 */
1062
class SearchFace extends Rpc
1063
{
1064
1065
    /**
1066
     * @param string $value
1067
     *
1068
     * @return $this
1069
     */
1070
    public function withDbName($value)
1071
    {
1072
        $this->data['DbName'] = $value;
1073
        $this->options['form_params']['DbName'] = $value;
1074
1075
        return $this;
1076
    }
1077
1078
    /**
1079
     * @param string $value
1080
     *
1081
     * @return $this
1082
     */
1083
    public function withImageUrl($value)
1084
    {
1085
        $this->data['ImageUrl'] = $value;
1086
        $this->options['form_params']['ImageUrl'] = $value;
1087
1088
        return $this;
1089
    }
1090
1091
    /**
1092
     * @param string $value
1093
     *
1094
     * @return $this
1095
     */
1096
    public function withLimit($value)
1097
    {
1098
        $this->data['Limit'] = $value;
1099
        $this->options['form_params']['Limit'] = $value;
1100
1101
        return $this;
1102
    }
1103
}
1104
1105
/**
1106
 * @method string getTargetImageURL()
1107
 * @method string getSourceImageURL()
1108
 * @method string getEditPart()
1109
 */
1110
class SwapFacialFeatures extends Rpc
1111
{
1112
1113
    /**
1114
     * @param string $value
1115
     *
1116
     * @return $this
1117
     */
1118
    public function withTargetImageURL($value)
1119
    {
1120
        $this->data['TargetImageURL'] = $value;
1121
        $this->options['form_params']['TargetImageURL'] = $value;
1122
1123
        return $this;
1124
    }
1125
1126
    /**
1127
     * @param string $value
1128
     *
1129
     * @return $this
1130
     */
1131
    public function withSourceImageURL($value)
1132
    {
1133
        $this->data['SourceImageURL'] = $value;
1134
        $this->options['form_params']['SourceImageURL'] = $value;
1135
1136
        return $this;
1137
    }
1138
1139
    /**
1140
     * @param string $value
1141
     *
1142
     * @return $this
1143
     */
1144
    public function withEditPart($value)
1145
    {
1146
        $this->data['EditPart'] = $value;
1147
        $this->options['form_params']['EditPart'] = $value;
1148
1149
        return $this;
1150
    }
1151
}
1152
1153
/**
1154
 * @method string getEntityId()
1155
 * @method string getLabels()
1156
 * @method string getDbName()
1157
 */
1158
class UpdateFaceEntity extends Rpc
1159
{
1160
1161
    /**
1162
     * @param string $value
1163
     *
1164
     * @return $this
1165
     */
1166
    public function withEntityId($value)
1167
    {
1168
        $this->data['EntityId'] = $value;
1169
        $this->options['form_params']['EntityId'] = $value;
1170
1171
        return $this;
1172
    }
1173
1174
    /**
1175
     * @param string $value
1176
     *
1177
     * @return $this
1178
     */
1179
    public function withLabels($value)
1180
    {
1181
        $this->data['Labels'] = $value;
1182
        $this->options['form_params']['Labels'] = $value;
1183
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @param string $value
1189
     *
1190
     * @return $this
1191
     */
1192
    public function withDbName($value)
1193
    {
1194
        $this->data['DbName'] = $value;
1195
        $this->options['form_params']['DbName'] = $value;
1196
1197
        return $this;
1198
    }
1199
}
1200
1201
/**
1202
 * @method string getImageURL()
1203
 * @method string getRefUrl()
1204
 */
1205
class VerifyFaceMask extends Rpc
1206
{
1207
1208
    /**
1209
     * @param string $value
1210
     *
1211
     * @return $this
1212
     */
1213
    public function withImageURL($value)
1214
    {
1215
        $this->data['ImageURL'] = $value;
1216
        $this->options['form_params']['ImageURL'] = $value;
1217
1218
        return $this;
1219
    }
1220
1221
    /**
1222
     * @param string $value
1223
     *
1224
     * @return $this
1225
     */
1226
    public function withRefUrl($value)
1227
    {
1228
        $this->data['RefUrl'] = $value;
1229
        $this->options['form_params']['RefUrl'] = $value;
1230
1231
        return $this;
1232
    }
1233
}
1234