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 ( ea0f5f...08c7db )
by
unknown
10:46
created

GenerateHumanAnimeStyleVideo   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 10
dl 0
loc 40
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withCartoonStyle() 0 6 1
A withVideoUrl() 0 6 1
A withAsync() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Videoenhan\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AbstractEcommerceVideo abstractEcommerceVideo(array $options = [])
9
 * @method AbstractFilmVideo abstractFilmVideo(array $options = [])
10
 * @method AddFaceVideoTemplate addFaceVideoTemplate(array $options = [])
11
 * @method AdjustVideoColor adjustVideoColor(array $options = [])
12
 * @method ChangeVideoSize changeVideoSize(array $options = [])
13
 * @method ConvertHdrVideo convertHdrVideo(array $options = [])
14
 * @method DeleteFaceVideoTemplate deleteFaceVideoTemplate(array $options = [])
15
 * @method EnhanceVideoQuality enhanceVideoQuality(array $options = [])
16
 * @method EraseVideoLogo eraseVideoLogo(array $options = [])
17
 * @method EraseVideoSubtitles eraseVideoSubtitles(array $options = [])
18
 * @method GenerateHumanAnimeStyleVideo generateHumanAnimeStyleVideo(array $options = [])
19
 * @method GenerateVideo generateVideo(array $options = [])
20
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
21
 * @method InterpolateVideoFrame interpolateVideoFrame(array $options = [])
22
 * @method MergeVideoFace mergeVideoFace(array $options = [])
23
 * @method MergeVideoModelFace mergeVideoModelFace(array $options = [])
24
 * @method QueryFaceVideoTemplate queryFaceVideoTemplate(array $options = [])
25
 * @method SuperResolveVideo superResolveVideo(array $options = [])
26
 * @method ToneSdrVideo toneSdrVideo(array $options = [])
27
 */
28
class VideoenhanApiResolver extends ApiResolver
29
{
30
}
31
32
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
33
{
34
    /** @var string */
35
    public $product = 'videoenhan';
36
37
    /** @var string */
38
    public $version = '2020-03-20';
39
40
    /** @var string */
41
    public $method = 'POST';
42
43
    /** @var string */
44
    public $serviceCode = 'videoenhan';
45
}
46
47
/**
48
 * @method string getDuration()
49
 * @method string getHeight()
50
 * @method string getAsync()
51
 * @method string getVideoUrl()
52
 * @method string getWidth()
53
 */
54
class AbstractEcommerceVideo extends Rpc
55
{
56
57
    /**
58
     * @param string $value
59
     *
60
     * @return $this
61
     */
62
    public function withDuration($value)
63
    {
64
        $this->data['Duration'] = $value;
65
        $this->options['form_params']['Duration'] = $value;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withHeight($value)
76
    {
77
        $this->data['Height'] = $value;
78
        $this->options['form_params']['Height'] = $value;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @param string $value
85
     *
86
     * @return $this
87
     */
88
    public function withAsync($value)
89
    {
90
        $this->data['Async'] = $value;
91
        $this->options['form_params']['Async'] = $value;
92
93
        return $this;
94
    }
95
96
    /**
97
     * @param string $value
98
     *
99
     * @return $this
100
     */
101
    public function withVideoUrl($value)
102
    {
103
        $this->data['VideoUrl'] = $value;
104
        $this->options['form_params']['VideoUrl'] = $value;
105
106
        return $this;
107
    }
108
109
    /**
110
     * @param string $value
111
     *
112
     * @return $this
113
     */
114
    public function withWidth($value)
115
    {
116
        $this->data['Width'] = $value;
117
        $this->options['form_params']['Width'] = $value;
118
119
        return $this;
120
    }
121
}
122
123
/**
124
 * @method string getLength()
125
 * @method string getAsync()
126
 * @method string getVideoUrl()
127
 */
128
class AbstractFilmVideo extends Rpc
129
{
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withLength($value)
137
    {
138
        $this->data['Length'] = $value;
139
        $this->options['form_params']['Length'] = $value;
140
141
        return $this;
142
    }
143
144
    /**
145
     * @param string $value
146
     *
147
     * @return $this
148
     */
149
    public function withAsync($value)
150
    {
151
        $this->data['Async'] = $value;
152
        $this->options['form_params']['Async'] = $value;
153
154
        return $this;
155
    }
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withVideoUrl($value)
163
    {
164
        $this->data['VideoUrl'] = $value;
165
        $this->options['form_params']['VideoUrl'] = $value;
166
167
        return $this;
168
    }
169
}
170
171
/**
172
 * @method string getUserId()
173
 * @method string getAsync()
174
 * @method string getVideoURL()
175
 */
176
class AddFaceVideoTemplate extends Rpc
177
{
178
179
    /**
180
     * @param string $value
181
     *
182
     * @return $this
183
     */
184
    public function withUserId($value)
185
    {
186
        $this->data['UserId'] = $value;
187
        $this->options['form_params']['UserId'] = $value;
188
189
        return $this;
190
    }
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withAsync($value)
198
    {
199
        $this->data['Async'] = $value;
200
        $this->options['form_params']['Async'] = $value;
201
202
        return $this;
203
    }
204
205
    /**
206
     * @param string $value
207
     *
208
     * @return $this
209
     */
210
    public function withVideoURL($value)
211
    {
212
        $this->data['VideoURL'] = $value;
213
        $this->options['form_params']['VideoURL'] = $value;
214
215
        return $this;
216
    }
217
}
218
219
/**
220
 * @method string getMode()
221
 * @method string getAsync()
222
 * @method string getVideoUrl()
223
 * @method string getVideoBitrate()
224
 * @method string getVideoCodec()
225
 * @method string getVideoFormat()
226
 */
227
class AdjustVideoColor extends Rpc
228
{
229
230
    /**
231
     * @param string $value
232
     *
233
     * @return $this
234
     */
235
    public function withMode($value)
236
    {
237
        $this->data['Mode'] = $value;
238
        $this->options['form_params']['Mode'] = $value;
239
240
        return $this;
241
    }
242
243
    /**
244
     * @param string $value
245
     *
246
     * @return $this
247
     */
248
    public function withAsync($value)
249
    {
250
        $this->data['Async'] = $value;
251
        $this->options['form_params']['Async'] = $value;
252
253
        return $this;
254
    }
255
256
    /**
257
     * @param string $value
258
     *
259
     * @return $this
260
     */
261
    public function withVideoUrl($value)
262
    {
263
        $this->data['VideoUrl'] = $value;
264
        $this->options['form_params']['VideoUrl'] = $value;
265
266
        return $this;
267
    }
268
269
    /**
270
     * @param string $value
271
     *
272
     * @return $this
273
     */
274
    public function withVideoBitrate($value)
275
    {
276
        $this->data['VideoBitrate'] = $value;
277
        $this->options['form_params']['VideoBitrate'] = $value;
278
279
        return $this;
280
    }
281
282
    /**
283
     * @param string $value
284
     *
285
     * @return $this
286
     */
287
    public function withVideoCodec($value)
288
    {
289
        $this->data['VideoCodec'] = $value;
290
        $this->options['form_params']['VideoCodec'] = $value;
291
292
        return $this;
293
    }
294
295
    /**
296
     * @param string $value
297
     *
298
     * @return $this
299
     */
300
    public function withVideoFormat($value)
301
    {
302
        $this->data['VideoFormat'] = $value;
303
        $this->options['form_params']['VideoFormat'] = $value;
304
305
        return $this;
306
    }
307
}
308
309
/**
310
 * @method string getHeight()
311
 * @method string getB()
312
 * @method string getFillType()
313
 * @method string getG()
314
 * @method string getCropType()
315
 * @method string getAsync()
316
 * @method string getR()
317
 * @method string getVideoUrl()
318
 * @method string getWidth()
319
 * @method string getTightness()
320
 */
321
class ChangeVideoSize extends Rpc
322
{
323
324
    /**
325
     * @param string $value
326
     *
327
     * @return $this
328
     */
329
    public function withHeight($value)
330
    {
331
        $this->data['Height'] = $value;
332
        $this->options['form_params']['Height'] = $value;
333
334
        return $this;
335
    }
336
337
    /**
338
     * @param string $value
339
     *
340
     * @return $this
341
     */
342
    public function withB($value)
343
    {
344
        $this->data['B'] = $value;
345
        $this->options['form_params']['B'] = $value;
346
347
        return $this;
348
    }
349
350
    /**
351
     * @param string $value
352
     *
353
     * @return $this
354
     */
355
    public function withFillType($value)
356
    {
357
        $this->data['FillType'] = $value;
358
        $this->options['form_params']['FillType'] = $value;
359
360
        return $this;
361
    }
362
363
    /**
364
     * @param string $value
365
     *
366
     * @return $this
367
     */
368
    public function withG($value)
369
    {
370
        $this->data['G'] = $value;
371
        $this->options['form_params']['G'] = $value;
372
373
        return $this;
374
    }
375
376
    /**
377
     * @param string $value
378
     *
379
     * @return $this
380
     */
381
    public function withCropType($value)
382
    {
383
        $this->data['CropType'] = $value;
384
        $this->options['form_params']['CropType'] = $value;
385
386
        return $this;
387
    }
388
389
    /**
390
     * @param string $value
391
     *
392
     * @return $this
393
     */
394
    public function withAsync($value)
395
    {
396
        $this->data['Async'] = $value;
397
        $this->options['form_params']['Async'] = $value;
398
399
        return $this;
400
    }
401
402
    /**
403
     * @param string $value
404
     *
405
     * @return $this
406
     */
407
    public function withR($value)
408
    {
409
        $this->data['R'] = $value;
410
        $this->options['form_params']['R'] = $value;
411
412
        return $this;
413
    }
414
415
    /**
416
     * @param string $value
417
     *
418
     * @return $this
419
     */
420
    public function withVideoUrl($value)
421
    {
422
        $this->data['VideoUrl'] = $value;
423
        $this->options['form_params']['VideoUrl'] = $value;
424
425
        return $this;
426
    }
427
428
    /**
429
     * @param string $value
430
     *
431
     * @return $this
432
     */
433
    public function withWidth($value)
434
    {
435
        $this->data['Width'] = $value;
436
        $this->options['form_params']['Width'] = $value;
437
438
        return $this;
439
    }
440
441
    /**
442
     * @param string $value
443
     *
444
     * @return $this
445
     */
446
    public function withTightness($value)
447
    {
448
        $this->data['Tightness'] = $value;
449
        $this->options['form_params']['Tightness'] = $value;
450
451
        return $this;
452
    }
453
}
454
455
/**
456
 * @method string getHDRFormat()
457
 * @method string getMaxIlluminance()
458
 * @method string getBitrate()
459
 * @method string getAsync()
460
 * @method string getVideoURL()
461
 */
462
class ConvertHdrVideo extends Rpc
463
{
464
465
    /**
466
     * @param string $value
467
     *
468
     * @return $this
469
     */
470
    public function withHDRFormat($value)
471
    {
472
        $this->data['HDRFormat'] = $value;
473
        $this->options['form_params']['HDRFormat'] = $value;
474
475
        return $this;
476
    }
477
478
    /**
479
     * @param string $value
480
     *
481
     * @return $this
482
     */
483
    public function withMaxIlluminance($value)
484
    {
485
        $this->data['MaxIlluminance'] = $value;
486
        $this->options['form_params']['MaxIlluminance'] = $value;
487
488
        return $this;
489
    }
490
491
    /**
492
     * @param string $value
493
     *
494
     * @return $this
495
     */
496
    public function withBitrate($value)
497
    {
498
        $this->data['Bitrate'] = $value;
499
        $this->options['form_params']['Bitrate'] = $value;
500
501
        return $this;
502
    }
503
504
    /**
505
     * @param string $value
506
     *
507
     * @return $this
508
     */
509
    public function withAsync($value)
510
    {
511
        $this->data['Async'] = $value;
512
        $this->options['form_params']['Async'] = $value;
513
514
        return $this;
515
    }
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withVideoURL($value)
523
    {
524
        $this->data['VideoURL'] = $value;
525
        $this->options['form_params']['VideoURL'] = $value;
526
527
        return $this;
528
    }
529
}
530
531
/**
532
 * @method string getUserId()
533
 * @method string getTemplateId()
534
 */
535
class DeleteFaceVideoTemplate extends Rpc
536
{
537
538
    /**
539
     * @param string $value
540
     *
541
     * @return $this
542
     */
543
    public function withUserId($value)
544
    {
545
        $this->data['UserId'] = $value;
546
        $this->options['form_params']['UserId'] = $value;
547
548
        return $this;
549
    }
550
551
    /**
552
     * @param string $value
553
     *
554
     * @return $this
555
     */
556
    public function withTemplateId($value)
557
    {
558
        $this->data['TemplateId'] = $value;
559
        $this->options['form_params']['TemplateId'] = $value;
560
561
        return $this;
562
    }
563
}
564
565
/**
566
 * @method string getHDRFormat()
567
 * @method string getFrameRate()
568
 * @method string getMaxIlluminance()
569
 * @method string getBitrate()
570
 * @method string getOutPutWidth()
571
 * @method string getOutPutHeight()
572
 * @method string getAsync()
573
 * @method string getVideoURL()
574
 */
575
class EnhanceVideoQuality extends Rpc
576
{
577
578
    /**
579
     * @param string $value
580
     *
581
     * @return $this
582
     */
583
    public function withHDRFormat($value)
584
    {
585
        $this->data['HDRFormat'] = $value;
586
        $this->options['form_params']['HDRFormat'] = $value;
587
588
        return $this;
589
    }
590
591
    /**
592
     * @param string $value
593
     *
594
     * @return $this
595
     */
596
    public function withFrameRate($value)
597
    {
598
        $this->data['FrameRate'] = $value;
599
        $this->options['form_params']['FrameRate'] = $value;
600
601
        return $this;
602
    }
603
604
    /**
605
     * @param string $value
606
     *
607
     * @return $this
608
     */
609
    public function withMaxIlluminance($value)
610
    {
611
        $this->data['MaxIlluminance'] = $value;
612
        $this->options['form_params']['MaxIlluminance'] = $value;
613
614
        return $this;
615
    }
616
617
    /**
618
     * @param string $value
619
     *
620
     * @return $this
621
     */
622
    public function withBitrate($value)
623
    {
624
        $this->data['Bitrate'] = $value;
625
        $this->options['form_params']['Bitrate'] = $value;
626
627
        return $this;
628
    }
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withOutPutWidth($value)
636
    {
637
        $this->data['OutPutWidth'] = $value;
638
        $this->options['form_params']['OutPutWidth'] = $value;
639
640
        return $this;
641
    }
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withOutPutHeight($value)
649
    {
650
        $this->data['OutPutHeight'] = $value;
651
        $this->options['form_params']['OutPutHeight'] = $value;
652
653
        return $this;
654
    }
655
656
    /**
657
     * @param string $value
658
     *
659
     * @return $this
660
     */
661
    public function withAsync($value)
662
    {
663
        $this->data['Async'] = $value;
664
        $this->options['form_params']['Async'] = $value;
665
666
        return $this;
667
    }
668
669
    /**
670
     * @param string $value
671
     *
672
     * @return $this
673
     */
674
    public function withVideoURL($value)
675
    {
676
        $this->data['VideoURL'] = $value;
677
        $this->options['form_params']['VideoURL'] = $value;
678
679
        return $this;
680
    }
681
}
682
683
/**
684
 * @method array getBoxes()
685
 * @method string getAsync()
686
 * @method string getVideoUrl()
687
 */
688
class EraseVideoLogo extends Rpc
689
{
690
691
    /**
692
     * @param array $boxes
693
     *
694
     * @return $this
695
     */
696
	public function withBoxes(array $boxes)
697
	{
698
	    $this->data['Boxes'] = $boxes;
699
		foreach ($boxes as $depth1 => $depth1Value) {
700
			if(isset($depth1Value['W'])){
701
				$this->options['form_params']['Boxes.' . ($depth1 + 1) . '.W'] = $depth1Value['W'];
702
			}
703
			if(isset($depth1Value['H'])){
704
				$this->options['form_params']['Boxes.' . ($depth1 + 1) . '.H'] = $depth1Value['H'];
705
			}
706
			if(isset($depth1Value['X'])){
707
				$this->options['form_params']['Boxes.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
708
			}
709
			if(isset($depth1Value['Y'])){
710
				$this->options['form_params']['Boxes.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
711
			}
712
		}
713
714
		return $this;
715
    }
716
717
    /**
718
     * @param string $value
719
     *
720
     * @return $this
721
     */
722
    public function withAsync($value)
723
    {
724
        $this->data['Async'] = $value;
725
        $this->options['form_params']['Async'] = $value;
726
727
        return $this;
728
    }
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withVideoUrl($value)
736
    {
737
        $this->data['VideoUrl'] = $value;
738
        $this->options['form_params']['VideoUrl'] = $value;
739
740
        return $this;
741
    }
742
}
743
744
/**
745
 * @method string getBH()
746
 * @method string getBW()
747
 * @method string getBX()
748
 * @method string getBY()
749
 * @method string getAsync()
750
 * @method string getVideoUrl()
751
 */
752
class EraseVideoSubtitles extends Rpc
753
{
754
755
    /**
756
     * @param string $value
757
     *
758
     * @return $this
759
     */
760
    public function withBH($value)
761
    {
762
        $this->data['BH'] = $value;
763
        $this->options['form_params']['BH'] = $value;
764
765
        return $this;
766
    }
767
768
    /**
769
     * @param string $value
770
     *
771
     * @return $this
772
     */
773
    public function withBW($value)
774
    {
775
        $this->data['BW'] = $value;
776
        $this->options['form_params']['BW'] = $value;
777
778
        return $this;
779
    }
780
781
    /**
782
     * @param string $value
783
     *
784
     * @return $this
785
     */
786
    public function withBX($value)
787
    {
788
        $this->data['BX'] = $value;
789
        $this->options['form_params']['BX'] = $value;
790
791
        return $this;
792
    }
793
794
    /**
795
     * @param string $value
796
     *
797
     * @return $this
798
     */
799
    public function withBY($value)
800
    {
801
        $this->data['BY'] = $value;
802
        $this->options['form_params']['BY'] = $value;
803
804
        return $this;
805
    }
806
807
    /**
808
     * @param string $value
809
     *
810
     * @return $this
811
     */
812
    public function withAsync($value)
813
    {
814
        $this->data['Async'] = $value;
815
        $this->options['form_params']['Async'] = $value;
816
817
        return $this;
818
    }
819
820
    /**
821
     * @param string $value
822
     *
823
     * @return $this
824
     */
825
    public function withVideoUrl($value)
826
    {
827
        $this->data['VideoUrl'] = $value;
828
        $this->options['form_params']['VideoUrl'] = $value;
829
830
        return $this;
831
    }
832
}
833
834
/**
835
 * @method string getCartoonStyle()
836
 * @method string getAsync()
837
 * @method string getVideoUrl()
838
 */
839
class GenerateHumanAnimeStyleVideo extends Rpc
840
{
841
842
    /**
843
     * @param string $value
844
     *
845
     * @return $this
846
     */
847
    public function withCartoonStyle($value)
848
    {
849
        $this->data['CartoonStyle'] = $value;
850
        $this->options['form_params']['CartoonStyle'] = $value;
851
852
        return $this;
853
    }
854
855
    /**
856
     * @param string $value
857
     *
858
     * @return $this
859
     */
860
    public function withAsync($value)
861
    {
862
        $this->data['Async'] = $value;
863
        $this->options['form_params']['Async'] = $value;
864
865
        return $this;
866
    }
867
868
    /**
869
     * @param string $value
870
     *
871
     * @return $this
872
     */
873
    public function withVideoUrl($value)
874
    {
875
        $this->data['VideoUrl'] = $value;
876
        $this->options['form_params']['VideoUrl'] = $value;
877
878
        return $this;
879
    }
880
}
881
882
/**
883
 * @method string getTransitionStyle()
884
 * @method string getScene()
885
 * @method string getDuration()
886
 * @method string getPuzzleEffect()
887
 * @method string getHeight()
888
 * @method string getDurationAdaption()
889
 * @method array getFileList()
890
 * @method string getMute()
891
 * @method string getAsync()
892
 * @method string getSmartEffect()
893
 * @method string getWidth()
894
 * @method string getStyle()
895
 */
896
class GenerateVideo extends Rpc
897
{
898
899
    /**
900
     * @param string $value
901
     *
902
     * @return $this
903
     */
904
    public function withTransitionStyle($value)
905
    {
906
        $this->data['TransitionStyle'] = $value;
907
        $this->options['form_params']['TransitionStyle'] = $value;
908
909
        return $this;
910
    }
911
912
    /**
913
     * @param string $value
914
     *
915
     * @return $this
916
     */
917
    public function withScene($value)
918
    {
919
        $this->data['Scene'] = $value;
920
        $this->options['form_params']['Scene'] = $value;
921
922
        return $this;
923
    }
924
925
    /**
926
     * @param string $value
927
     *
928
     * @return $this
929
     */
930
    public function withDuration($value)
931
    {
932
        $this->data['Duration'] = $value;
933
        $this->options['form_params']['Duration'] = $value;
934
935
        return $this;
936
    }
937
938
    /**
939
     * @param string $value
940
     *
941
     * @return $this
942
     */
943
    public function withPuzzleEffect($value)
944
    {
945
        $this->data['PuzzleEffect'] = $value;
946
        $this->options['form_params']['PuzzleEffect'] = $value;
947
948
        return $this;
949
    }
950
951
    /**
952
     * @param string $value
953
     *
954
     * @return $this
955
     */
956
    public function withHeight($value)
957
    {
958
        $this->data['Height'] = $value;
959
        $this->options['form_params']['Height'] = $value;
960
961
        return $this;
962
    }
963
964
    /**
965
     * @param string $value
966
     *
967
     * @return $this
968
     */
969
    public function withDurationAdaption($value)
970
    {
971
        $this->data['DurationAdaption'] = $value;
972
        $this->options['form_params']['DurationAdaption'] = $value;
973
974
        return $this;
975
    }
976
977
    /**
978
     * @param array $fileList
979
     *
980
     * @return $this
981
     */
982
	public function withFileList(array $fileList)
983
	{
984
	    $this->data['FileList'] = $fileList;
985
		foreach ($fileList as $depth1 => $depth1Value) {
986
			if(isset($depth1Value['FileName'])){
987
				$this->options['form_params']['FileList.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
988
			}
989
			if(isset($depth1Value['FileUrl'])){
990
				$this->options['form_params']['FileList.' . ($depth1 + 1) . '.FileUrl'] = $depth1Value['FileUrl'];
991
			}
992
			if(isset($depth1Value['Type'])){
993
				$this->options['form_params']['FileList.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
994
			}
995
		}
996
997
		return $this;
998
    }
999
1000
    /**
1001
     * @param string $value
1002
     *
1003
     * @return $this
1004
     */
1005
    public function withMute($value)
1006
    {
1007
        $this->data['Mute'] = $value;
1008
        $this->options['form_params']['Mute'] = $value;
1009
1010
        return $this;
1011
    }
1012
1013
    /**
1014
     * @param string $value
1015
     *
1016
     * @return $this
1017
     */
1018
    public function withAsync($value)
1019
    {
1020
        $this->data['Async'] = $value;
1021
        $this->options['form_params']['Async'] = $value;
1022
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * @param string $value
1028
     *
1029
     * @return $this
1030
     */
1031
    public function withSmartEffect($value)
1032
    {
1033
        $this->data['SmartEffect'] = $value;
1034
        $this->options['form_params']['SmartEffect'] = $value;
1035
1036
        return $this;
1037
    }
1038
1039
    /**
1040
     * @param string $value
1041
     *
1042
     * @return $this
1043
     */
1044
    public function withWidth($value)
1045
    {
1046
        $this->data['Width'] = $value;
1047
        $this->options['form_params']['Width'] = $value;
1048
1049
        return $this;
1050
    }
1051
1052
    /**
1053
     * @param string $value
1054
     *
1055
     * @return $this
1056
     */
1057
    public function withStyle($value)
1058
    {
1059
        $this->data['Style'] = $value;
1060
        $this->options['form_params']['Style'] = $value;
1061
1062
        return $this;
1063
    }
1064
}
1065
1066
/**
1067
 * @method string getJobId()
1068
 * @method string getAsync()
1069
 */
1070
class GetAsyncJobResult extends Rpc
1071
{
1072
1073
    /**
1074
     * @param string $value
1075
     *
1076
     * @return $this
1077
     */
1078
    public function withJobId($value)
1079
    {
1080
        $this->data['JobId'] = $value;
1081
        $this->options['form_params']['JobId'] = $value;
1082
1083
        return $this;
1084
    }
1085
1086
    /**
1087
     * @param string $value
1088
     *
1089
     * @return $this
1090
     */
1091
    public function withAsync($value)
1092
    {
1093
        $this->data['Async'] = $value;
1094
        $this->options['form_params']['Async'] = $value;
1095
1096
        return $this;
1097
    }
1098
}
1099
1100
/**
1101
 * @method string getFrameRate()
1102
 * @method string getBitrate()
1103
 * @method string getAsync()
1104
 * @method string getVideoURL()
1105
 */
1106
class InterpolateVideoFrame extends Rpc
1107
{
1108
1109
    /**
1110
     * @param string $value
1111
     *
1112
     * @return $this
1113
     */
1114
    public function withFrameRate($value)
1115
    {
1116
        $this->data['FrameRate'] = $value;
1117
        $this->options['form_params']['FrameRate'] = $value;
1118
1119
        return $this;
1120
    }
1121
1122
    /**
1123
     * @param string $value
1124
     *
1125
     * @return $this
1126
     */
1127
    public function withBitrate($value)
1128
    {
1129
        $this->data['Bitrate'] = $value;
1130
        $this->options['form_params']['Bitrate'] = $value;
1131
1132
        return $this;
1133
    }
1134
1135
    /**
1136
     * @param string $value
1137
     *
1138
     * @return $this
1139
     */
1140
    public function withAsync($value)
1141
    {
1142
        $this->data['Async'] = $value;
1143
        $this->options['form_params']['Async'] = $value;
1144
1145
        return $this;
1146
    }
1147
1148
    /**
1149
     * @param string $value
1150
     *
1151
     * @return $this
1152
     */
1153
    public function withVideoURL($value)
1154
    {
1155
        $this->data['VideoURL'] = $value;
1156
        $this->options['form_params']['VideoURL'] = $value;
1157
1158
        return $this;
1159
    }
1160
}
1161
1162
/**
1163
 * @method string getReferenceURL()
1164
 * @method string getPostURL()
1165
 * @method string getAsync()
1166
 * @method string getVideoURL()
1167
 */
1168
class MergeVideoFace extends Rpc
1169
{
1170
1171
    /**
1172
     * @param string $value
1173
     *
1174
     * @return $this
1175
     */
1176
    public function withReferenceURL($value)
1177
    {
1178
        $this->data['ReferenceURL'] = $value;
1179
        $this->options['form_params']['ReferenceURL'] = $value;
1180
1181
        return $this;
1182
    }
1183
1184
    /**
1185
     * @param string $value
1186
     *
1187
     * @return $this
1188
     */
1189
    public function withPostURL($value)
1190
    {
1191
        $this->data['PostURL'] = $value;
1192
        $this->options['form_params']['PostURL'] = $value;
1193
1194
        return $this;
1195
    }
1196
1197
    /**
1198
     * @param string $value
1199
     *
1200
     * @return $this
1201
     */
1202
    public function withAsync($value)
1203
    {
1204
        $this->data['Async'] = $value;
1205
        $this->options['form_params']['Async'] = $value;
1206
1207
        return $this;
1208
    }
1209
1210
    /**
1211
     * @param string $value
1212
     *
1213
     * @return $this
1214
     */
1215
    public function withVideoURL($value)
1216
    {
1217
        $this->data['VideoURL'] = $value;
1218
        $this->options['form_params']['VideoURL'] = $value;
1219
1220
        return $this;
1221
    }
1222
}
1223
1224
/**
1225
 * @method string getFaceImageURL()
1226
 * @method string getUserId()
1227
 * @method string getTemplateId()
1228
 * @method string getAsync()
1229
 */
1230
class MergeVideoModelFace extends Rpc
1231
{
1232
1233
    /**
1234
     * @param string $value
1235
     *
1236
     * @return $this
1237
     */
1238
    public function withFaceImageURL($value)
1239
    {
1240
        $this->data['FaceImageURL'] = $value;
1241
        $this->options['form_params']['FaceImageURL'] = $value;
1242
1243
        return $this;
1244
    }
1245
1246
    /**
1247
     * @param string $value
1248
     *
1249
     * @return $this
1250
     */
1251
    public function withUserId($value)
1252
    {
1253
        $this->data['UserId'] = $value;
1254
        $this->options['form_params']['UserId'] = $value;
1255
1256
        return $this;
1257
    }
1258
1259
    /**
1260
     * @param string $value
1261
     *
1262
     * @return $this
1263
     */
1264
    public function withTemplateId($value)
1265
    {
1266
        $this->data['TemplateId'] = $value;
1267
        $this->options['form_params']['TemplateId'] = $value;
1268
1269
        return $this;
1270
    }
1271
1272
    /**
1273
     * @param string $value
1274
     *
1275
     * @return $this
1276
     */
1277
    public function withAsync($value)
1278
    {
1279
        $this->data['Async'] = $value;
1280
        $this->options['form_params']['Async'] = $value;
1281
1282
        return $this;
1283
    }
1284
}
1285
1286
/**
1287
 * @method string getUserId()
1288
 * @method $this withUserId($value)
1289
 * @method string getTemplateId()
1290
 * @method $this withTemplateId($value)
1291
 */
1292
class QueryFaceVideoTemplate extends Rpc
1293
{
1294
}
1295
1296
/**
1297
 * @method string getBitRate()
1298
 * @method string getAsync()
1299
 * @method string getVideoUrl()
1300
 */
1301
class SuperResolveVideo extends Rpc
1302
{
1303
1304
    /**
1305
     * @param string $value
1306
     *
1307
     * @return $this
1308
     */
1309
    public function withBitRate($value)
1310
    {
1311
        $this->data['BitRate'] = $value;
1312
        $this->options['form_params']['BitRate'] = $value;
1313
1314
        return $this;
1315
    }
1316
1317
    /**
1318
     * @param string $value
1319
     *
1320
     * @return $this
1321
     */
1322
    public function withAsync($value)
1323
    {
1324
        $this->data['Async'] = $value;
1325
        $this->options['form_params']['Async'] = $value;
1326
1327
        return $this;
1328
    }
1329
1330
    /**
1331
     * @param string $value
1332
     *
1333
     * @return $this
1334
     */
1335
    public function withVideoUrl($value)
1336
    {
1337
        $this->data['VideoUrl'] = $value;
1338
        $this->options['form_params']['VideoUrl'] = $value;
1339
1340
        return $this;
1341
    }
1342
}
1343
1344
/**
1345
 * @method string getBitrate()
1346
 * @method string getRecolorModel()
1347
 * @method string getAsync()
1348
 * @method string getVideoURL()
1349
 */
1350
class ToneSdrVideo extends Rpc
1351
{
1352
1353
    /**
1354
     * @param string $value
1355
     *
1356
     * @return $this
1357
     */
1358
    public function withBitrate($value)
1359
    {
1360
        $this->data['Bitrate'] = $value;
1361
        $this->options['form_params']['Bitrate'] = $value;
1362
1363
        return $this;
1364
    }
1365
1366
    /**
1367
     * @param string $value
1368
     *
1369
     * @return $this
1370
     */
1371
    public function withRecolorModel($value)
1372
    {
1373
        $this->data['RecolorModel'] = $value;
1374
        $this->options['form_params']['RecolorModel'] = $value;
1375
1376
        return $this;
1377
    }
1378
1379
    /**
1380
     * @param string $value
1381
     *
1382
     * @return $this
1383
     */
1384
    public function withAsync($value)
1385
    {
1386
        $this->data['Async'] = $value;
1387
        $this->options['form_params']['Async'] = $value;
1388
1389
        return $this;
1390
    }
1391
1392
    /**
1393
     * @param string $value
1394
     *
1395
     * @return $this
1396
     */
1397
    public function withVideoURL($value)
1398
    {
1399
        $this->data['VideoURL'] = $value;
1400
        $this->options['form_params']['VideoURL'] = $value;
1401
1402
        return $this;
1403
    }
1404
}
1405