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 ( f8cf9f...725692 )
by
unknown
06:56
created

InterpolateVideoFrame::withFrameRate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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