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 ( c7bbaa...0a234c )
by
unknown
05:45
created

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