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 ( f13387...93caf2 )
by
unknown
08:44
created

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