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 ( 5b6c0d...d09d70 )
by
unknown
12:45 queued 05:57
created

GenerateImageWithTextAndImage::withNumber()   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\Imageenhan\V20190930;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AssessComposition assessComposition(array $options = [])
9
 * @method AssessExposure assessExposure(array $options = [])
10
 * @method AssessSharpness assessSharpness(array $options = [])
11
 * @method ChangeImageSize changeImageSize(array $options = [])
12
 * @method ColorizeImage colorizeImage(array $options = [])
13
 * @method EnhanceImageColor enhanceImageColor(array $options = [])
14
 * @method ErasePerson erasePerson(array $options = [])
15
 * @method ExtendImageStyle extendImageStyle(array $options = [])
16
 * @method GenerateDynamicImage generateDynamicImage(array $options = [])
17
 * @method GenerateImageWithText generateImageWithText(array $options = [])
18
 * @method GenerateImageWithTextAndImage generateImageWithTextAndImage(array $options = [])
19
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
20
 * @method ImageBlindCharacterWatermark imageBlindCharacterWatermark(array $options = [])
21
 * @method ImageBlindPicWatermark imageBlindPicWatermark(array $options = [])
22
 * @method ImitatePhotoStyle imitatePhotoStyle(array $options = [])
23
 * @method IntelligentComposition intelligentComposition(array $options = [])
24
 * @method MakeSuperResolutionImage makeSuperResolutionImage(array $options = [])
25
 * @method RecolorHDImage recolorHDImage(array $options = [])
26
 * @method RecolorImage recolorImage(array $options = [])
27
 * @method RemoveImageSubtitles removeImageSubtitles(array $options = [])
28
 * @method RemoveImageWatermark removeImageWatermark(array $options = [])
29
 */
30
class ImageenhanApiResolver extends ApiResolver
31
{
32
}
33
34
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
35
{
36
    /** @var string */
37
    public $product = 'imageenhan';
38
39
    /** @var string */
40
    public $version = '2019-09-30';
41
42
    /** @var string */
43
    public $method = 'POST';
44
45
    /** @var string */
46
    public $serviceCode = 'imageenhan';
47
}
48
49
/**
50
 * @method string getImageURL()
51
 */
52
class AssessComposition extends Rpc
53
{
54
55
    /**
56
     * @param string $value
57
     *
58
     * @return $this
59
     */
60
    public function withImageURL($value)
61
    {
62
        $this->data['ImageURL'] = $value;
63
        $this->options['form_params']['ImageURL'] = $value;
64
65
        return $this;
66
    }
67
}
68
69
/**
70
 * @method string getImageURL()
71
 */
72
class AssessExposure extends Rpc
73
{
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withImageURL($value)
81
    {
82
        $this->data['ImageURL'] = $value;
83
        $this->options['form_params']['ImageURL'] = $value;
84
85
        return $this;
86
    }
87
}
88
89
/**
90
 * @method string getImageURL()
91
 */
92
class AssessSharpness extends Rpc
93
{
94
95
    /**
96
     * @param string $value
97
     *
98
     * @return $this
99
     */
100
    public function withImageURL($value)
101
    {
102
        $this->data['ImageURL'] = $value;
103
        $this->options['form_params']['ImageURL'] = $value;
104
105
        return $this;
106
    }
107
}
108
109
/**
110
 * @method string getHeight()
111
 * @method string getUrl()
112
 * @method string getWidth()
113
 */
114
class ChangeImageSize extends Rpc
115
{
116
117
    /**
118
     * @param string $value
119
     *
120
     * @return $this
121
     */
122
    public function withHeight($value)
123
    {
124
        $this->data['Height'] = $value;
125
        $this->options['form_params']['Height'] = $value;
126
127
        return $this;
128
    }
129
130
    /**
131
     * @param string $value
132
     *
133
     * @return $this
134
     */
135
    public function withUrl($value)
136
    {
137
        $this->data['Url'] = $value;
138
        $this->options['form_params']['Url'] = $value;
139
140
        return $this;
141
    }
142
143
    /**
144
     * @param string $value
145
     *
146
     * @return $this
147
     */
148
    public function withWidth($value)
149
    {
150
        $this->data['Width'] = $value;
151
        $this->options['form_params']['Width'] = $value;
152
153
        return $this;
154
    }
155
}
156
157
/**
158
 * @method string getImageURL()
159
 */
160
class ColorizeImage extends Rpc
161
{
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withImageURL($value)
169
    {
170
        $this->data['ImageURL'] = $value;
171
        $this->options['form_params']['ImageURL'] = $value;
172
173
        return $this;
174
    }
175
}
176
177
/**
178
 * @method string getMode()
179
 * @method string getOutputFormat()
180
 * @method string getImageURL()
181
 */
182
class EnhanceImageColor extends Rpc
183
{
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withMode($value)
191
    {
192
        $this->data['Mode'] = $value;
193
        $this->options['form_params']['Mode'] = $value;
194
195
        return $this;
196
    }
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withOutputFormat($value)
204
    {
205
        $this->data['OutputFormat'] = $value;
206
        $this->options['form_params']['OutputFormat'] = $value;
207
208
        return $this;
209
    }
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withImageURL($value)
217
    {
218
        $this->data['ImageURL'] = $value;
219
        $this->options['form_params']['ImageURL'] = $value;
220
221
        return $this;
222
    }
223
}
224
225
/**
226
 * @method string getUserMask()
227
 * @method string getImageURL()
228
 */
229
class ErasePerson extends Rpc
230
{
231
232
    /**
233
     * @param string $value
234
     *
235
     * @return $this
236
     */
237
    public function withUserMask($value)
238
    {
239
        $this->data['UserMask'] = $value;
240
        $this->options['form_params']['UserMask'] = $value;
241
242
        return $this;
243
    }
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withImageURL($value)
251
    {
252
        $this->data['ImageURL'] = $value;
253
        $this->options['form_params']['ImageURL'] = $value;
254
255
        return $this;
256
    }
257
}
258
259
/**
260
 * @method string getMajorUrl()
261
 * @method string getStyleUrl()
262
 */
263
class ExtendImageStyle extends Rpc
264
{
265
266
    /**
267
     * @param string $value
268
     *
269
     * @return $this
270
     */
271
    public function withMajorUrl($value)
272
    {
273
        $this->data['MajorUrl'] = $value;
274
        $this->options['form_params']['MajorUrl'] = $value;
275
276
        return $this;
277
    }
278
279
    /**
280
     * @param string $value
281
     *
282
     * @return $this
283
     */
284
    public function withStyleUrl($value)
285
    {
286
        $this->data['StyleUrl'] = $value;
287
        $this->options['form_params']['StyleUrl'] = $value;
288
289
        return $this;
290
    }
291
}
292
293
/**
294
 * @method string getUrl()
295
 * @method string getOperation()
296
 */
297
class GenerateDynamicImage extends Rpc
298
{
299
300
    /**
301
     * @param string $value
302
     *
303
     * @return $this
304
     */
305
    public function withUrl($value)
306
    {
307
        $this->data['Url'] = $value;
308
        $this->options['form_params']['Url'] = $value;
309
310
        return $this;
311
    }
312
313
    /**
314
     * @param string $value
315
     *
316
     * @return $this
317
     */
318
    public function withOperation($value)
319
    {
320
        $this->data['Operation'] = $value;
321
        $this->options['form_params']['Operation'] = $value;
322
323
        return $this;
324
    }
325
}
326
327
/**
328
 * @method string getResolution()
329
 * @method string getNumber()
330
 * @method string getText()
331
 * @method string getAsync()
332
 */
333
class GenerateImageWithText extends Rpc
334
{
335
336
    /**
337
     * @param string $value
338
     *
339
     * @return $this
340
     */
341
    public function withResolution($value)
342
    {
343
        $this->data['Resolution'] = $value;
344
        $this->options['form_params']['Resolution'] = $value;
345
346
        return $this;
347
    }
348
349
    /**
350
     * @param string $value
351
     *
352
     * @return $this
353
     */
354
    public function withNumber($value)
355
    {
356
        $this->data['Number'] = $value;
357
        $this->options['form_params']['Number'] = $value;
358
359
        return $this;
360
    }
361
362
    /**
363
     * @param string $value
364
     *
365
     * @return $this
366
     */
367
    public function withText($value)
368
    {
369
        $this->data['Text'] = $value;
370
        $this->options['form_params']['Text'] = $value;
371
372
        return $this;
373
    }
374
375
    /**
376
     * @param string $value
377
     *
378
     * @return $this
379
     */
380
    public function withAsync($value)
381
    {
382
        $this->data['Async'] = $value;
383
        $this->options['form_params']['Async'] = $value;
384
385
        return $this;
386
    }
387
}
388
389
/**
390
 * @method string getResolution()
391
 * @method string getNumber()
392
 * @method string getSimilarity()
393
 * @method string getAspectRatioMode()
394
 * @method string getText()
395
 * @method string getRefImageUrl()
396
 * @method string getAsync()
397
 */
398
class GenerateImageWithTextAndImage extends Rpc
399
{
400
401
    /**
402
     * @param string $value
403
     *
404
     * @return $this
405
     */
406
    public function withResolution($value)
407
    {
408
        $this->data['Resolution'] = $value;
409
        $this->options['form_params']['Resolution'] = $value;
410
411
        return $this;
412
    }
413
414
    /**
415
     * @param string $value
416
     *
417
     * @return $this
418
     */
419
    public function withNumber($value)
420
    {
421
        $this->data['Number'] = $value;
422
        $this->options['form_params']['Number'] = $value;
423
424
        return $this;
425
    }
426
427
    /**
428
     * @param string $value
429
     *
430
     * @return $this
431
     */
432
    public function withSimilarity($value)
433
    {
434
        $this->data['Similarity'] = $value;
435
        $this->options['form_params']['Similarity'] = $value;
436
437
        return $this;
438
    }
439
440
    /**
441
     * @param string $value
442
     *
443
     * @return $this
444
     */
445
    public function withAspectRatioMode($value)
446
    {
447
        $this->data['AspectRatioMode'] = $value;
448
        $this->options['form_params']['AspectRatioMode'] = $value;
449
450
        return $this;
451
    }
452
453
    /**
454
     * @param string $value
455
     *
456
     * @return $this
457
     */
458
    public function withText($value)
459
    {
460
        $this->data['Text'] = $value;
461
        $this->options['form_params']['Text'] = $value;
462
463
        return $this;
464
    }
465
466
    /**
467
     * @param string $value
468
     *
469
     * @return $this
470
     */
471
    public function withRefImageUrl($value)
472
    {
473
        $this->data['RefImageUrl'] = $value;
474
        $this->options['form_params']['RefImageUrl'] = $value;
475
476
        return $this;
477
    }
478
479
    /**
480
     * @param string $value
481
     *
482
     * @return $this
483
     */
484
    public function withAsync($value)
485
    {
486
        $this->data['Async'] = $value;
487
        $this->options['form_params']['Async'] = $value;
488
489
        return $this;
490
    }
491
}
492
493
/**
494
 * @method string getJobId()
495
 * @method string getAsync()
496
 */
497
class GetAsyncJobResult extends Rpc
498
{
499
500
    /**
501
     * @param string $value
502
     *
503
     * @return $this
504
     */
505
    public function withJobId($value)
506
    {
507
        $this->data['JobId'] = $value;
508
        $this->options['form_params']['JobId'] = $value;
509
510
        return $this;
511
    }
512
513
    /**
514
     * @param string $value
515
     *
516
     * @return $this
517
     */
518
    public function withAsync($value)
519
    {
520
        $this->data['Async'] = $value;
521
        $this->options['form_params']['Async'] = $value;
522
523
        return $this;
524
    }
525
}
526
527
/**
528
 * @method string getWatermarkImageURL()
529
 * @method string getOutputFileType()
530
 * @method string getText()
531
 * @method string getQualityFactor()
532
 * @method string getFunctionType()
533
 * @method string getOriginImageURL()
534
 */
535
class ImageBlindCharacterWatermark extends Rpc
536
{
537
538
    /**
539
     * @param string $value
540
     *
541
     * @return $this
542
     */
543
    public function withWatermarkImageURL($value)
544
    {
545
        $this->data['WatermarkImageURL'] = $value;
546
        $this->options['form_params']['WatermarkImageURL'] = $value;
547
548
        return $this;
549
    }
550
551
    /**
552
     * @param string $value
553
     *
554
     * @return $this
555
     */
556
    public function withOutputFileType($value)
557
    {
558
        $this->data['OutputFileType'] = $value;
559
        $this->options['form_params']['OutputFileType'] = $value;
560
561
        return $this;
562
    }
563
564
    /**
565
     * @param string $value
566
     *
567
     * @return $this
568
     */
569
    public function withText($value)
570
    {
571
        $this->data['Text'] = $value;
572
        $this->options['form_params']['Text'] = $value;
573
574
        return $this;
575
    }
576
577
    /**
578
     * @param string $value
579
     *
580
     * @return $this
581
     */
582
    public function withQualityFactor($value)
583
    {
584
        $this->data['QualityFactor'] = $value;
585
        $this->options['form_params']['QualityFactor'] = $value;
586
587
        return $this;
588
    }
589
590
    /**
591
     * @param string $value
592
     *
593
     * @return $this
594
     */
595
    public function withFunctionType($value)
596
    {
597
        $this->data['FunctionType'] = $value;
598
        $this->options['form_params']['FunctionType'] = $value;
599
600
        return $this;
601
    }
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withOriginImageURL($value)
609
    {
610
        $this->data['OriginImageURL'] = $value;
611
        $this->options['form_params']['OriginImageURL'] = $value;
612
613
        return $this;
614
    }
615
}
616
617
/**
618
 * @method string getWatermarkImageURL()
619
 * @method string getLogoURL()
620
 * @method string getOutputFileType()
621
 * @method string getQualityFactor()
622
 * @method string getFunctionType()
623
 * @method string getOriginImageURL()
624
 */
625
class ImageBlindPicWatermark extends Rpc
626
{
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withWatermarkImageURL($value)
634
    {
635
        $this->data['WatermarkImageURL'] = $value;
636
        $this->options['form_params']['WatermarkImageURL'] = $value;
637
638
        return $this;
639
    }
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withLogoURL($value)
647
    {
648
        $this->data['LogoURL'] = $value;
649
        $this->options['form_params']['LogoURL'] = $value;
650
651
        return $this;
652
    }
653
654
    /**
655
     * @param string $value
656
     *
657
     * @return $this
658
     */
659
    public function withOutputFileType($value)
660
    {
661
        $this->data['OutputFileType'] = $value;
662
        $this->options['form_params']['OutputFileType'] = $value;
663
664
        return $this;
665
    }
666
667
    /**
668
     * @param string $value
669
     *
670
     * @return $this
671
     */
672
    public function withQualityFactor($value)
673
    {
674
        $this->data['QualityFactor'] = $value;
675
        $this->options['form_params']['QualityFactor'] = $value;
676
677
        return $this;
678
    }
679
680
    /**
681
     * @param string $value
682
     *
683
     * @return $this
684
     */
685
    public function withFunctionType($value)
686
    {
687
        $this->data['FunctionType'] = $value;
688
        $this->options['form_params']['FunctionType'] = $value;
689
690
        return $this;
691
    }
692
693
    /**
694
     * @param string $value
695
     *
696
     * @return $this
697
     */
698
    public function withOriginImageURL($value)
699
    {
700
        $this->data['OriginImageURL'] = $value;
701
        $this->options['form_params']['OriginImageURL'] = $value;
702
703
        return $this;
704
    }
705
}
706
707
/**
708
 * @method string getStyleUrl()
709
 * @method string getImageURL()
710
 */
711
class ImitatePhotoStyle extends Rpc
712
{
713
714
    /**
715
     * @param string $value
716
     *
717
     * @return $this
718
     */
719
    public function withStyleUrl($value)
720
    {
721
        $this->data['StyleUrl'] = $value;
722
        $this->options['form_params']['StyleUrl'] = $value;
723
724
        return $this;
725
    }
726
727
    /**
728
     * @param string $value
729
     *
730
     * @return $this
731
     */
732
    public function withImageURL($value)
733
    {
734
        $this->data['ImageURL'] = $value;
735
        $this->options['form_params']['ImageURL'] = $value;
736
737
        return $this;
738
    }
739
}
740
741
/**
742
 * @method string getNumBoxes()
743
 * @method string getImageURL()
744
 */
745
class IntelligentComposition extends Rpc
746
{
747
748
    /**
749
     * @param string $value
750
     *
751
     * @return $this
752
     */
753
    public function withNumBoxes($value)
754
    {
755
        $this->data['NumBoxes'] = $value;
756
        $this->options['form_params']['NumBoxes'] = $value;
757
758
        return $this;
759
    }
760
761
    /**
762
     * @param string $value
763
     *
764
     * @return $this
765
     */
766
    public function withImageURL($value)
767
    {
768
        $this->data['ImageURL'] = $value;
769
        $this->options['form_params']['ImageURL'] = $value;
770
771
        return $this;
772
    }
773
}
774
775
/**
776
 * @method string getUpscaleFactor()
777
 * @method string getMode()
778
 * @method string getOutputFormat()
779
 * @method string getUrl()
780
 * @method string getOutputQuality()
781
 */
782
class MakeSuperResolutionImage extends Rpc
783
{
784
785
    /**
786
     * @param string $value
787
     *
788
     * @return $this
789
     */
790
    public function withUpscaleFactor($value)
791
    {
792
        $this->data['UpscaleFactor'] = $value;
793
        $this->options['form_params']['UpscaleFactor'] = $value;
794
795
        return $this;
796
    }
797
798
    /**
799
     * @param string $value
800
     *
801
     * @return $this
802
     */
803
    public function withMode($value)
804
    {
805
        $this->data['Mode'] = $value;
806
        $this->options['form_params']['Mode'] = $value;
807
808
        return $this;
809
    }
810
811
    /**
812
     * @param string $value
813
     *
814
     * @return $this
815
     */
816
    public function withOutputFormat($value)
817
    {
818
        $this->data['OutputFormat'] = $value;
819
        $this->options['form_params']['OutputFormat'] = $value;
820
821
        return $this;
822
    }
823
824
    /**
825
     * @param string $value
826
     *
827
     * @return $this
828
     */
829
    public function withUrl($value)
830
    {
831
        $this->data['Url'] = $value;
832
        $this->options['form_params']['Url'] = $value;
833
834
        return $this;
835
    }
836
837
    /**
838
     * @param string $value
839
     *
840
     * @return $this
841
     */
842
    public function withOutputQuality($value)
843
    {
844
        $this->data['OutputQuality'] = $value;
845
        $this->options['form_params']['OutputQuality'] = $value;
846
847
        return $this;
848
    }
849
}
850
851
/**
852
 * @method string getMode()
853
 * @method string getColorCount()
854
 * @method array getColorTemplate()
855
 * @method string getDegree()
856
 * @method string getUrl()
857
 * @method string getAsync()
858
 * @method string getRefUrl()
859
 */
860
class RecolorHDImage extends Rpc
861
{
862
863
    /**
864
     * @param string $value
865
     *
866
     * @return $this
867
     */
868
    public function withMode($value)
869
    {
870
        $this->data['Mode'] = $value;
871
        $this->options['form_params']['Mode'] = $value;
872
873
        return $this;
874
    }
875
876
    /**
877
     * @param string $value
878
     *
879
     * @return $this
880
     */
881
    public function withColorCount($value)
882
    {
883
        $this->data['ColorCount'] = $value;
884
        $this->options['form_params']['ColorCount'] = $value;
885
886
        return $this;
887
    }
888
889
    /**
890
     * @param array $colorTemplate
891
     *
892
     * @return $this
893
     */
894
	public function withColorTemplate(array $colorTemplate)
895
	{
896
	    $this->data['ColorTemplate'] = $colorTemplate;
897
		foreach ($colorTemplate as $depth1 => $depth1Value) {
898
			if(isset($depth1Value['Color'])){
899
				$this->options['form_params']['ColorTemplate.' . ($depth1 + 1) . '.Color'] = $depth1Value['Color'];
900
			}
901
		}
902
903
		return $this;
904
    }
905
906
    /**
907
     * @param string $value
908
     *
909
     * @return $this
910
     */
911
    public function withDegree($value)
912
    {
913
        $this->data['Degree'] = $value;
914
        $this->options['form_params']['Degree'] = $value;
915
916
        return $this;
917
    }
918
919
    /**
920
     * @param string $value
921
     *
922
     * @return $this
923
     */
924
    public function withUrl($value)
925
    {
926
        $this->data['Url'] = $value;
927
        $this->options['form_params']['Url'] = $value;
928
929
        return $this;
930
    }
931
932
    /**
933
     * @param string $value
934
     *
935
     * @return $this
936
     */
937
    public function withAsync($value)
938
    {
939
        $this->data['Async'] = $value;
940
        $this->options['form_params']['Async'] = $value;
941
942
        return $this;
943
    }
944
945
    /**
946
     * @param string $value
947
     *
948
     * @return $this
949
     */
950
    public function withRefUrl($value)
951
    {
952
        $this->data['RefUrl'] = $value;
953
        $this->options['form_params']['RefUrl'] = $value;
954
955
        return $this;
956
    }
957
}
958
959
/**
960
 * @method string getMode()
961
 * @method string getColorCount()
962
 * @method array getColorTemplate()
963
 * @method string getUrl()
964
 * @method string getRefUrl()
965
 */
966
class RecolorImage extends Rpc
967
{
968
969
    /**
970
     * @param string $value
971
     *
972
     * @return $this
973
     */
974
    public function withMode($value)
975
    {
976
        $this->data['Mode'] = $value;
977
        $this->options['form_params']['Mode'] = $value;
978
979
        return $this;
980
    }
981
982
    /**
983
     * @param string $value
984
     *
985
     * @return $this
986
     */
987
    public function withColorCount($value)
988
    {
989
        $this->data['ColorCount'] = $value;
990
        $this->options['form_params']['ColorCount'] = $value;
991
992
        return $this;
993
    }
994
995
    /**
996
     * @param array $colorTemplate
997
     *
998
     * @return $this
999
     */
1000
	public function withColorTemplate(array $colorTemplate)
1001
	{
1002
	    $this->data['ColorTemplate'] = $colorTemplate;
1003
		foreach ($colorTemplate as $depth1 => $depth1Value) {
1004
			if(isset($depth1Value['Color'])){
1005
				$this->options['form_params']['ColorTemplate.' . ($depth1 + 1) . '.Color'] = $depth1Value['Color'];
1006
			}
1007
		}
1008
1009
		return $this;
1010
    }
1011
1012
    /**
1013
     * @param string $value
1014
     *
1015
     * @return $this
1016
     */
1017
    public function withUrl($value)
1018
    {
1019
        $this->data['Url'] = $value;
1020
        $this->options['form_params']['Url'] = $value;
1021
1022
        return $this;
1023
    }
1024
1025
    /**
1026
     * @param string $value
1027
     *
1028
     * @return $this
1029
     */
1030
    public function withRefUrl($value)
1031
    {
1032
        $this->data['RefUrl'] = $value;
1033
        $this->options['form_params']['RefUrl'] = $value;
1034
1035
        return $this;
1036
    }
1037
}
1038
1039
/**
1040
 * @method string getBH()
1041
 * @method string getBW()
1042
 * @method string getBX()
1043
 * @method string getBY()
1044
 * @method string getImageURL()
1045
 */
1046
class RemoveImageSubtitles extends Rpc
1047
{
1048
1049
    /**
1050
     * @param string $value
1051
     *
1052
     * @return $this
1053
     */
1054
    public function withBH($value)
1055
    {
1056
        $this->data['BH'] = $value;
1057
        $this->options['form_params']['BH'] = $value;
1058
1059
        return $this;
1060
    }
1061
1062
    /**
1063
     * @param string $value
1064
     *
1065
     * @return $this
1066
     */
1067
    public function withBW($value)
1068
    {
1069
        $this->data['BW'] = $value;
1070
        $this->options['form_params']['BW'] = $value;
1071
1072
        return $this;
1073
    }
1074
1075
    /**
1076
     * @param string $value
1077
     *
1078
     * @return $this
1079
     */
1080
    public function withBX($value)
1081
    {
1082
        $this->data['BX'] = $value;
1083
        $this->options['form_params']['BX'] = $value;
1084
1085
        return $this;
1086
    }
1087
1088
    /**
1089
     * @param string $value
1090
     *
1091
     * @return $this
1092
     */
1093
    public function withBY($value)
1094
    {
1095
        $this->data['BY'] = $value;
1096
        $this->options['form_params']['BY'] = $value;
1097
1098
        return $this;
1099
    }
1100
1101
    /**
1102
     * @param string $value
1103
     *
1104
     * @return $this
1105
     */
1106
    public function withImageURL($value)
1107
    {
1108
        $this->data['ImageURL'] = $value;
1109
        $this->options['form_params']['ImageURL'] = $value;
1110
1111
        return $this;
1112
    }
1113
}
1114
1115
/**
1116
 * @method string getImageURL()
1117
 */
1118
class RemoveImageWatermark extends Rpc
1119
{
1120
1121
    /**
1122
     * @param string $value
1123
     *
1124
     * @return $this
1125
     */
1126
    public function withImageURL($value)
1127
    {
1128
        $this->data['ImageURL'] = $value;
1129
        $this->options['form_params']['ImageURL'] = $value;
1130
1131
        return $this;
1132
    }
1133
}
1134