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 ( 41d1be...e58e42 )
by
unknown
07:06
created

UpdateRecordTemplate::withFormats()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\Rtc\V20180111;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddRecordTemplate addRecordTemplate(array $options = [])
9
 * @method CreateChannel createChannel(array $options = [])
10
 * @method CreateConference createConference(array $options = [])
11
 * @method CreateMPULayout createMPULayout(array $options = [])
12
 * @method CreateMPURule createMPURule(array $options = [])
13
 * @method CreateServiceLinkedRoleForRtc createServiceLinkedRoleForRtc(array $options = [])
14
 * @method DeleteChannel deleteChannel(array $options = [])
15
 * @method DeleteConference deleteConference(array $options = [])
16
 * @method DeleteMPULayout deleteMPULayout(array $options = [])
17
 * @method DeleteMPURule deleteMPURule(array $options = [])
18
 * @method DeleteRecordTemplate deleteRecordTemplate(array $options = [])
19
 * @method DescribeApps describeApps(array $options = [])
20
 * @method DescribeChannelParticipants describeChannelParticipants(array $options = [])
21
 * @method DescribeChannelUsers describeChannelUsers(array $options = [])
22
 * @method DescribeConferenceAuthInfo describeConferenceAuthInfo(array $options = [])
23
 * @method DescribeMPULayoutInfo describeMPULayoutInfo(array $options = [])
24
 * @method DescribeMPULayoutInfoList describeMPULayoutInfoList(array $options = [])
25
 * @method DescribeMPULayoutList describeMPULayoutList(array $options = [])
26
 * @method DescribeMPURule describeMPURule(array $options = [])
27
 * @method DescribeRecordFiles describeRecordFiles(array $options = [])
28
 * @method DescribeRecordTasks describeRecordTasks(array $options = [])
29
 * @method DescribeRecordTemplates describeRecordTemplates(array $options = [])
30
 * @method DescribeRTCAppKey describeRTCAppKey(array $options = [])
31
 * @method DescribeRtcChannelCntData describeRtcChannelCntData(array $options = [])
32
 * @method DescribeRtcChannelDetail describeRtcChannelDetail(array $options = [])
33
 * @method DescribeRtcChannelList describeRtcChannelList(array $options = [])
34
 * @method DescribeRtcChannelMetric describeRtcChannelMetric(array $options = [])
35
 * @method DescribeRtcChannelMetrics describeRtcChannelMetrics(array $options = [])
36
 * @method DescribeRtcChannels describeRtcChannels(array $options = [])
37
 * @method DescribeRtcChannelUserList describeRtcChannelUserList(array $options = [])
38
 * @method DescribeRtcDurationData describeRtcDurationData(array $options = [])
39
 * @method DescribeRtcPeakChannelCntData describeRtcPeakChannelCntData(array $options = [])
40
 * @method DescribeRtcPeakUserCntData describeRtcPeakUserCntData(array $options = [])
41
 * @method DescribeRtcQualityMetric describeRtcQualityMetric(array $options = [])
42
 * @method DescribeRtcUserCntData describeRtcUserCntData(array $options = [])
43
 * @method DescribeRtcUserEvents describeRtcUserEvents(array $options = [])
44
 * @method DescribeRtcUserList describeRtcUserList(array $options = [])
45
 * @method DescribeUserInfoInChannel describeUserInfoInChannel(array $options = [])
46
 * @method DisableMPURule disableMPURule(array $options = [])
47
 * @method EnableMPURule enableMPURule(array $options = [])
48
 * @method GetMPUTaskStatus getMPUTaskStatus(array $options = [])
49
 * @method ModifyApp modifyApp(array $options = [])
50
 * @method ModifyConference modifyConference(array $options = [])
51
 * @method ModifyMPULayout modifyMPULayout(array $options = [])
52
 * @method MuteAudio muteAudio(array $options = [])
53
 * @method MuteAudioAll muteAudioAll(array $options = [])
54
 * @method ReceiveNotify receiveNotify(array $options = [])
55
 * @method RemoveParticipants removeParticipants(array $options = [])
56
 * @method RemoveTerminals removeTerminals(array $options = [])
57
 * @method SetChannelProperty setChannelProperty(array $options = [])
58
 * @method StartMPUTask startMPUTask(array $options = [])
59
 * @method StartRecordTask startRecordTask(array $options = [])
60
 * @method StopChannelUserPublish stopChannelUserPublish(array $options = [])
61
 * @method StopMPUTask stopMPUTask(array $options = [])
62
 * @method StopRecordTask stopRecordTask(array $options = [])
63
 * @method UnmuteAudio unmuteAudio(array $options = [])
64
 * @method UnmuteAudioAll unmuteAudioAll(array $options = [])
65
 * @method UpdateChannel updateChannel(array $options = [])
66
 * @method UpdateMPULayout updateMPULayout(array $options = [])
67
 * @method UpdateRecordTask updateRecordTask(array $options = [])
68
 * @method UpdateRecordTemplate updateRecordTemplate(array $options = [])
69
 */
70
class RtcApiResolver extends ApiResolver
71
{
72
}
73
74
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
75
{
76
    /** @var string */
77
    public $product = 'rtc';
78
79
    /** @var string */
80
    public $version = '2018-01-11';
81
82
    /** @var string */
83
    public $method = 'POST';
84
85
    /** @var string */
86
    public $serviceCode = 'rtc';
87
}
88
89
/**
90
 * @method array getFormats()
91
 * @method string getOssFilePrefix()
92
 * @method $this withOssFilePrefix($value)
93
 * @method string getBackgroundColor()
94
 * @method $this withBackgroundColor($value)
95
 * @method string getTaskProfile()
96
 * @method $this withTaskProfile($value)
97
 * @method array getLayoutIds()
98
 * @method string getShowLog()
99
 * @method $this withShowLog($value)
100
 * @method string getOssBucket()
101
 * @method $this withOssBucket($value)
102
 * @method string getDelayStopTime()
103
 * @method $this withDelayStopTime($value)
104
 * @method string getFileSplitInterval()
105
 * @method $this withFileSplitInterval($value)
106
 * @method string getMnsQueue()
107
 * @method $this withMnsQueue($value)
108
 * @method string getHttpCallbackUrl()
109
 * @method $this withHttpCallbackUrl($value)
110
 * @method array getWatermarks()
111
 * @method string getOwnerId()
112
 * @method $this withOwnerId($value)
113
 * @method string getAppId()
114
 * @method $this withAppId($value)
115
 * @method array getBackgrounds()
116
 * @method string getName()
117
 * @method $this withName($value)
118
 * @method string getMediaEncode()
119
 * @method $this withMediaEncode($value)
120
 */
121
class AddRecordTemplate extends Rpc
122
{
123
124
    /**
125
     * @param array $formats
126
     *
127
     * @return $this
128
     */
129
	public function withFormats(array $formats)
130
	{
131
	    $this->data['Formats'] = $formats;
132
		foreach ($formats as $i => $iValue) {
133
			$this->options['query']['Formats.' . ($i + 1)] = $iValue;
134
		}
135
136
		return $this;
137
    }
138
139
    /**
140
     * @param array $layoutIds
141
     *
142
     * @return $this
143
     */
144
	public function withLayoutIds(array $layoutIds)
145
	{
146
	    $this->data['LayoutIds'] = $layoutIds;
147
		foreach ($layoutIds as $i => $iValue) {
148
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
149
		}
150
151
		return $this;
152
    }
153
154
    /**
155
     * @param array $watermarks
156
     *
157
     * @return $this
158
     */
159
	public function withWatermarks(array $watermarks)
160
	{
161
	    $this->data['Watermarks'] = $watermarks;
162
		foreach ($watermarks as $depth1 => $depth1Value) {
163
			if(isset($depth1Value['Url'])){
164
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
165
			}
166
			if(isset($depth1Value['Alpha'])){
167
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Alpha'] = $depth1Value['Alpha'];
168
			}
169
			if(isset($depth1Value['Display'])){
170
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
171
			}
172
			if(isset($depth1Value['X'])){
173
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
174
			}
175
			if(isset($depth1Value['Y'])){
176
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
177
			}
178
			if(isset($depth1Value['Width'])){
179
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
180
			}
181
			if(isset($depth1Value['Height'])){
182
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
183
			}
184
			if(isset($depth1Value['ZOrder'])){
185
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
186
			}
187
		}
188
189
		return $this;
190
    }
191
192
    /**
193
     * @param array $backgrounds
194
     *
195
     * @return $this
196
     */
197
	public function withBackgrounds(array $backgrounds)
198
	{
199
	    $this->data['Backgrounds'] = $backgrounds;
200
		foreach ($backgrounds as $depth1 => $depth1Value) {
201
			if(isset($depth1Value['Url'])){
202
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
203
			}
204
			if(isset($depth1Value['Display'])){
205
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
206
			}
207
			if(isset($depth1Value['X'])){
208
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
209
			}
210
			if(isset($depth1Value['Y'])){
211
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
212
			}
213
			if(isset($depth1Value['Width'])){
214
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
215
			}
216
			if(isset($depth1Value['Height'])){
217
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
218
			}
219
			if(isset($depth1Value['ZOrder'])){
220
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
221
			}
222
		}
223
224
		return $this;
225
    }
226
}
227
228
/**
229
 * @method string getShowLog()
230
 * @method $this withShowLog($value)
231
 * @method string getOwnerId()
232
 * @method $this withOwnerId($value)
233
 * @method string getAppId()
234
 * @method $this withAppId($value)
235
 * @method string getChannelId()
236
 * @method $this withChannelId($value)
237
 */
238
class CreateChannel extends Rpc
239
{
240
}
241
242
/**
243
 * @method string getClientToken()
244
 * @method $this withClientToken($value)
245
 * @method string getStartTime()
246
 * @method $this withStartTime($value)
247
 * @method string getType()
248
 * @method $this withType($value)
249
 * @method string getConferenceName()
250
 * @method $this withConferenceName($value)
251
 * @method string getShowLog()
252
 * @method $this withShowLog($value)
253
 * @method string getOwnerId()
254
 * @method $this withOwnerId($value)
255
 * @method string getAppId()
256
 * @method $this withAppId($value)
257
 * @method string getRemindNotice()
258
 * @method $this withRemindNotice($value)
259
 */
260
class CreateConference extends Rpc
261
{
262
}
263
264
/**
265
 * @method array getPanes()
266
 * @method string getShowLog()
267
 * @method $this withShowLog($value)
268
 * @method string getOwnerId()
269
 * @method $this withOwnerId($value)
270
 * @method string getAppId()
271
 * @method $this withAppId($value)
272
 * @method string getName()
273
 * @method $this withName($value)
274
 * @method string getAudioMixCount()
275
 * @method $this withAudioMixCount($value)
276
 */
277
class CreateMPULayout extends Rpc
278
{
279
280
    /**
281
     * @param array $panes
282
     *
283
     * @return $this
284
     */
285
	public function withPanes(array $panes)
286
	{
287
	    $this->data['Panes'] = $panes;
288
		foreach ($panes as $depth1 => $depth1Value) {
289
			if(isset($depth1Value['PaneId'])){
290
				$this->options['query']['Panes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
291
			}
292
			if(isset($depth1Value['MajorPane'])){
293
				$this->options['query']['Panes.' . ($depth1 + 1) . '.MajorPane'] = $depth1Value['MajorPane'];
294
			}
295
			if(isset($depth1Value['X'])){
296
				$this->options['query']['Panes.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
297
			}
298
			if(isset($depth1Value['Y'])){
299
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
300
			}
301
			if(isset($depth1Value['Width'])){
302
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
303
			}
304
			if(isset($depth1Value['Height'])){
305
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
306
			}
307
			if(isset($depth1Value['ZOrder'])){
308
				$this->options['query']['Panes.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
309
			}
310
		}
311
312
		return $this;
313
    }
314
}
315
316
/**
317
 * @method string getBackgroundColor()
318
 * @method $this withBackgroundColor($value)
319
 * @method string getCropMode()
320
 * @method $this withCropMode($value)
321
 * @method string getChannelPrefix()
322
 * @method $this withChannelPrefix($value)
323
 * @method string getTaskProfile()
324
 * @method $this withTaskProfile($value)
325
 * @method array getLayoutIds()
326
 * @method string getShowLog()
327
 * @method $this withShowLog($value)
328
 * @method string getPlayDomain()
329
 * @method $this withPlayDomain($value)
330
 * @method string getOwnerId()
331
 * @method $this withOwnerId($value)
332
 * @method string getAppId()
333
 * @method $this withAppId($value)
334
 * @method string getMediaEncode()
335
 * @method $this withMediaEncode($value)
336
 * @method string getCallBack()
337
 * @method $this withCallBack($value)
338
 */
339
class CreateMPURule extends Rpc
340
{
341
342
    /**
343
     * @param array $layoutIds
344
     *
345
     * @return $this
346
     */
347
	public function withLayoutIds(array $layoutIds)
348
	{
349
	    $this->data['LayoutIds'] = $layoutIds;
350
		foreach ($layoutIds as $i => $iValue) {
351
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
352
		}
353
354
		return $this;
355
    }
356
}
357
358
/**
359
 * @method string getShowLog()
360
 * @method $this withShowLog($value)
361
 * @method string getOwnerId()
362
 * @method $this withOwnerId($value)
363
 */
364
class CreateServiceLinkedRoleForRtc extends Rpc
365
{
366
}
367
368
/**
369
 * @method string getShowLog()
370
 * @method $this withShowLog($value)
371
 * @method string getOwnerId()
372
 * @method $this withOwnerId($value)
373
 * @method string getAppId()
374
 * @method $this withAppId($value)
375
 * @method string getChannelId()
376
 * @method $this withChannelId($value)
377
 */
378
class DeleteChannel extends Rpc
379
{
380
}
381
382
/**
383
 * @method string getConferenceId()
384
 * @method $this withConferenceId($value)
385
 * @method string getShowLog()
386
 * @method $this withShowLog($value)
387
 * @method string getOwnerId()
388
 * @method $this withOwnerId($value)
389
 * @method string getAppId()
390
 * @method $this withAppId($value)
391
 */
392
class DeleteConference extends Rpc
393
{
394
}
395
396
/**
397
 * @method string getLayoutId()
398
 * @method $this withLayoutId($value)
399
 * @method string getShowLog()
400
 * @method $this withShowLog($value)
401
 * @method string getOwnerId()
402
 * @method $this withOwnerId($value)
403
 * @method string getAppId()
404
 * @method $this withAppId($value)
405
 */
406
class DeleteMPULayout extends Rpc
407
{
408
}
409
410
/**
411
 * @method string getShowLog()
412
 * @method $this withShowLog($value)
413
 * @method string getOwnerId()
414
 * @method $this withOwnerId($value)
415
 * @method string getAppId()
416
 * @method $this withAppId($value)
417
 * @method string getRuleId()
418
 * @method $this withRuleId($value)
419
 */
420
class DeleteMPURule extends Rpc
421
{
422
}
423
424
/**
425
 * @method string getShowLog()
426
 * @method $this withShowLog($value)
427
 * @method string getOwnerId()
428
 * @method $this withOwnerId($value)
429
 * @method string getTemplateId()
430
 * @method $this withTemplateId($value)
431
 * @method string getAppId()
432
 * @method $this withAppId($value)
433
 */
434
class DeleteRecordTemplate extends Rpc
435
{
436
}
437
438
/**
439
 * @method string getPageNum()
440
 * @method $this withPageNum($value)
441
 * @method string getPageSize()
442
 * @method $this withPageSize($value)
443
 * @method string getShowLog()
444
 * @method $this withShowLog($value)
445
 * @method string getOrder()
446
 * @method $this withOrder($value)
447
 * @method string getOwnerId()
448
 * @method $this withOwnerId($value)
449
 * @method string getAppId()
450
 * @method $this withAppId($value)
451
 * @method string getStatus()
452
 * @method $this withStatus($value)
453
 */
454
class DescribeApps extends Rpc
455
{
456
}
457
458
/**
459
 * @method string getPageNum()
460
 * @method $this withPageNum($value)
461
 * @method string getPageSize()
462
 * @method $this withPageSize($value)
463
 * @method string getShowLog()
464
 * @method $this withShowLog($value)
465
 * @method string getOrder()
466
 * @method $this withOrder($value)
467
 * @method string getOwnerId()
468
 * @method $this withOwnerId($value)
469
 * @method string getAppId()
470
 * @method $this withAppId($value)
471
 * @method string getChannelId()
472
 * @method $this withChannelId($value)
473
 */
474
class DescribeChannelParticipants extends Rpc
475
{
476
}
477
478
/**
479
 * @method string getShowLog()
480
 * @method $this withShowLog($value)
481
 * @method string getOwnerId()
482
 * @method $this withOwnerId($value)
483
 * @method string getAppId()
484
 * @method $this withAppId($value)
485
 * @method string getChannelId()
486
 * @method $this withChannelId($value)
487
 */
488
class DescribeChannelUsers extends Rpc
489
{
490
}
491
492
/**
493
 * @method string getConferenceId()
494
 * @method $this withConferenceId($value)
495
 * @method string getShowLog()
496
 * @method $this withShowLog($value)
497
 * @method string getOwnerId()
498
 * @method $this withOwnerId($value)
499
 * @method string getAppId()
500
 * @method $this withAppId($value)
501
 */
502
class DescribeConferenceAuthInfo extends Rpc
503
{
504
}
505
506
/**
507
 * @method string getLayoutId()
508
 * @method $this withLayoutId($value)
509
 * @method string getShowLog()
510
 * @method $this withShowLog($value)
511
 * @method string getOwnerId()
512
 * @method $this withOwnerId($value)
513
 * @method string getAppId()
514
 * @method $this withAppId($value)
515
 */
516
class DescribeMPULayoutInfo extends Rpc
517
{
518
}
519
520
/**
521
 * @method string getPageNum()
522
 * @method $this withPageNum($value)
523
 * @method string getLayoutId()
524
 * @method $this withLayoutId($value)
525
 * @method string getPageSize()
526
 * @method $this withPageSize($value)
527
 * @method string getShowLog()
528
 * @method $this withShowLog($value)
529
 * @method string getOwnerId()
530
 * @method $this withOwnerId($value)
531
 * @method string getAppId()
532
 * @method $this withAppId($value)
533
 * @method string getName()
534
 * @method $this withName($value)
535
 */
536
class DescribeMPULayoutInfoList extends Rpc
537
{
538
}
539
540
/**
541
 * @method string getShowLog()
542
 * @method $this withShowLog($value)
543
 * @method string getOwnerId()
544
 * @method $this withOwnerId($value)
545
 * @method string getAppId()
546
 * @method $this withAppId($value)
547
 */
548
class DescribeMPULayoutList extends Rpc
549
{
550
}
551
552
/**
553
 * @method string getShowLog()
554
 * @method $this withShowLog($value)
555
 * @method string getOwnerId()
556
 * @method $this withOwnerId($value)
557
 * @method string getAppId()
558
 * @method $this withAppId($value)
559
 */
560
class DescribeMPURule extends Rpc
561
{
562
}
563
564
/**
565
 * @method string getStartTime()
566
 * @method $this withStartTime($value)
567
 * @method string getPageNum()
568
 * @method $this withPageNum($value)
569
 * @method array getTaskIds()
570
 * @method string getPageSize()
571
 * @method $this withPageSize($value)
572
 * @method string getShowLog()
573
 * @method $this withShowLog($value)
574
 * @method string getEndTime()
575
 * @method $this withEndTime($value)
576
 * @method string getOwnerId()
577
 * @method $this withOwnerId($value)
578
 * @method string getAppId()
579
 * @method $this withAppId($value)
580
 * @method string getChannelId()
581
 * @method $this withChannelId($value)
582
 */
583
class DescribeRecordFiles extends Rpc
584
{
585
586
    /**
587
     * @param array $taskIds
588
     *
589
     * @return $this
590
     */
591
	public function withTaskIds(array $taskIds)
592
	{
593
	    $this->data['TaskIds'] = $taskIds;
594
		foreach ($taskIds as $i => $iValue) {
595
			$this->options['query']['TaskIds.' . ($i + 1)] = $iValue;
596
		}
597
598
		return $this;
599
    }
600
}
601
602
/**
603
 * @method string getStartTime()
604
 * @method $this withStartTime($value)
605
 * @method array getTaskIds()
606
 * @method string getPageNum()
607
 * @method $this withPageNum($value)
608
 * @method string getPageSize()
609
 * @method $this withPageSize($value)
610
 * @method string getShowLog()
611
 * @method $this withShowLog($value)
612
 * @method string getEndTime()
613
 * @method $this withEndTime($value)
614
 * @method string getOwnerId()
615
 * @method $this withOwnerId($value)
616
 * @method string getAppId()
617
 * @method $this withAppId($value)
618
 * @method string getChannelId()
619
 * @method $this withChannelId($value)
620
 * @method string getStatus()
621
 * @method $this withStatus($value)
622
 */
623
class DescribeRecordTasks extends Rpc
624
{
625
626
    /**
627
     * @param array $taskIds
628
     *
629
     * @return $this
630
     */
631
	public function withTaskIds(array $taskIds)
632
	{
633
	    $this->data['TaskIds'] = $taskIds;
634
		foreach ($taskIds as $i => $iValue) {
635
			$this->options['query']['TaskIds.' . ($i + 1)] = $iValue;
636
		}
637
638
		return $this;
639
    }
640
}
641
642
/**
643
 * @method array getTemplateIds()
644
 * @method string getPageNum()
645
 * @method $this withPageNum($value)
646
 * @method string getPageSize()
647
 * @method $this withPageSize($value)
648
 * @method string getShowLog()
649
 * @method $this withShowLog($value)
650
 * @method string getOwnerId()
651
 * @method $this withOwnerId($value)
652
 * @method string getAppId()
653
 * @method $this withAppId($value)
654
 */
655
class DescribeRecordTemplates extends Rpc
656
{
657
658
    /**
659
     * @param array $templateIds
660
     *
661
     * @return $this
662
     */
663
	public function withTemplateIds(array $templateIds)
664
	{
665
	    $this->data['TemplateIds'] = $templateIds;
666
		foreach ($templateIds as $i => $iValue) {
667
			$this->options['query']['TemplateIds.' . ($i + 1)] = $iValue;
668
		}
669
670
		return $this;
671
    }
672
}
673
674
/**
675
 * @method string getShowLog()
676
 * @method $this withShowLog($value)
677
 * @method string getOwnerId()
678
 * @method $this withOwnerId($value)
679
 * @method string getAppId()
680
 * @method $this withAppId($value)
681
 */
682
class DescribeRTCAppKey extends Rpc
683
{
684
}
685
686
/**
687
 * @method string getStartTime()
688
 * @method $this withStartTime($value)
689
 * @method string getServiceArea()
690
 * @method $this withServiceArea($value)
691
 * @method string getShowLog()
692
 * @method $this withShowLog($value)
693
 * @method string getEndTime()
694
 * @method $this withEndTime($value)
695
 * @method string getOwnerId()
696
 * @method $this withOwnerId($value)
697
 * @method string getAppId()
698
 * @method $this withAppId($value)
699
 * @method string getInterval()
700
 * @method $this withInterval($value)
701
 */
702
class DescribeRtcChannelCntData extends Rpc
703
{
704
}
705
706
/**
707
 * @method string getStartTime()
708
 * @method $this withStartTime($value)
709
 * @method string getPageSize()
710
 * @method $this withPageSize($value)
711
 * @method string getShowLog()
712
 * @method $this withShowLog($value)
713
 * @method string getEndTime()
714
 * @method $this withEndTime($value)
715
 * @method string getOwnerId()
716
 * @method $this withOwnerId($value)
717
 * @method string getPageNo()
718
 * @method $this withPageNo($value)
719
 * @method string getAppId()
720
 * @method $this withAppId($value)
721
 * @method string getChannelId()
722
 * @method $this withChannelId($value)
723
 */
724
class DescribeRtcChannelDetail extends Rpc
725
{
726
}
727
728
/**
729
 * @method string getSortType()
730
 * @method $this withSortType($value)
731
 * @method string getUserId()
732
 * @method $this withUserId($value)
733
 * @method string getServiceArea()
734
 * @method $this withServiceArea($value)
735
 * @method string getPageSize()
736
 * @method $this withPageSize($value)
737
 * @method string getShowLog()
738
 * @method $this withShowLog($value)
739
 * @method string getOwnerId()
740
 * @method $this withOwnerId($value)
741
 * @method string getPageNo()
742
 * @method $this withPageNo($value)
743
 * @method string getAppId()
744
 * @method $this withAppId($value)
745
 * @method string getChannelId()
746
 * @method $this withChannelId($value)
747
 * @method string getTimePoint()
748
 * @method $this withTimePoint($value)
749
 */
750
class DescribeRtcChannelList extends Rpc
751
{
752
}
753
754
/**
755
 * @method string getShowLog()
756
 * @method $this withShowLog($value)
757
 * @method string getOwnerId()
758
 * @method $this withOwnerId($value)
759
 * @method string getAppId()
760
 * @method $this withAppId($value)
761
 * @method string getChannelId()
762
 * @method $this withChannelId($value)
763
 * @method string getTimePoint()
764
 * @method $this withTimePoint($value)
765
 */
766
class DescribeRtcChannelMetric extends Rpc
767
{
768
}
769
770
/**
771
 * @method string getStartTime()
772
 * @method $this withStartTime($value)
773
 * @method string getSubUid()
774
 * @method $this withSubUid($value)
775
 * @method string getPubUid()
776
 * @method $this withPubUid($value)
777
 * @method string getShowLog()
778
 * @method $this withShowLog($value)
779
 * @method string getEndTime()
780
 * @method $this withEndTime($value)
781
 * @method string getOwnerId()
782
 * @method $this withOwnerId($value)
783
 * @method string getAppId()
784
 * @method $this withAppId($value)
785
 * @method string getChannelId()
786
 * @method $this withChannelId($value)
787
 */
788
class DescribeRtcChannelMetrics extends Rpc
789
{
790
}
791
792
/**
793
 * @method string getStartTime()
794
 * @method $this withStartTime($value)
795
 * @method string getPageSize()
796
 * @method $this withPageSize($value)
797
 * @method string getShowLog()
798
 * @method $this withShowLog($value)
799
 * @method string getEndTime()
800
 * @method $this withEndTime($value)
801
 * @method string getOwnerId()
802
 * @method $this withOwnerId($value)
803
 * @method string getPageNo()
804
 * @method $this withPageNo($value)
805
 * @method string getAppId()
806
 * @method $this withAppId($value)
807
 * @method string getChannelId()
808
 * @method $this withChannelId($value)
809
 */
810
class DescribeRtcChannels extends Rpc
811
{
812
}
813
814
/**
815
 * @method string getPageSize()
816
 * @method $this withPageSize($value)
817
 * @method string getShowLog()
818
 * @method $this withShowLog($value)
819
 * @method string getOwnerId()
820
 * @method $this withOwnerId($value)
821
 * @method string getPageNo()
822
 * @method $this withPageNo($value)
823
 * @method string getAppId()
824
 * @method $this withAppId($value)
825
 * @method string getChannelId()
826
 * @method $this withChannelId($value)
827
 * @method string getTimePoint()
828
 * @method $this withTimePoint($value)
829
 */
830
class DescribeRtcChannelUserList extends Rpc
831
{
832
}
833
834
/**
835
 * @method string getStartTime()
836
 * @method $this withStartTime($value)
837
 * @method string getServiceArea()
838
 * @method $this withServiceArea($value)
839
 * @method string getShowLog()
840
 * @method $this withShowLog($value)
841
 * @method string getEndTime()
842
 * @method $this withEndTime($value)
843
 * @method string getOwnerId()
844
 * @method $this withOwnerId($value)
845
 * @method string getAppId()
846
 * @method $this withAppId($value)
847
 * @method string getInterval()
848
 * @method $this withInterval($value)
849
 */
850
class DescribeRtcDurationData extends Rpc
851
{
852
}
853
854
/**
855
 * @method string getStartTime()
856
 * @method $this withStartTime($value)
857
 * @method string getServiceArea()
858
 * @method $this withServiceArea($value)
859
 * @method string getShowLog()
860
 * @method $this withShowLog($value)
861
 * @method string getEndTime()
862
 * @method $this withEndTime($value)
863
 * @method string getOwnerId()
864
 * @method $this withOwnerId($value)
865
 * @method string getAppId()
866
 * @method $this withAppId($value)
867
 * @method string getInterval()
868
 * @method $this withInterval($value)
869
 */
870
class DescribeRtcPeakChannelCntData extends Rpc
871
{
872
}
873
874
/**
875
 * @method string getStartTime()
876
 * @method $this withStartTime($value)
877
 * @method string getServiceArea()
878
 * @method $this withServiceArea($value)
879
 * @method string getShowLog()
880
 * @method $this withShowLog($value)
881
 * @method string getEndTime()
882
 * @method $this withEndTime($value)
883
 * @method string getOwnerId()
884
 * @method $this withOwnerId($value)
885
 * @method string getAppId()
886
 * @method $this withAppId($value)
887
 * @method string getInterval()
888
 * @method $this withInterval($value)
889
 */
890
class DescribeRtcPeakUserCntData extends Rpc
891
{
892
}
893
894
/**
895
 * @method string getStartTime()
896
 * @method $this withStartTime($value)
897
 * @method string getShowLog()
898
 * @method $this withShowLog($value)
899
 * @method string getSubUser()
900
 * @method $this withSubUser($value)
901
 * @method string getEndTime()
902
 * @method $this withEndTime($value)
903
 * @method string getOwnerId()
904
 * @method $this withOwnerId($value)
905
 * @method string getPubUser()
906
 * @method $this withPubUser($value)
907
 * @method string getAppId()
908
 * @method $this withAppId($value)
909
 * @method string getChannelId()
910
 * @method $this withChannelId($value)
911
 */
912
class DescribeRtcQualityMetric extends Rpc
913
{
914
}
915
916
/**
917
 * @method string getStartTime()
918
 * @method $this withStartTime($value)
919
 * @method string getServiceArea()
920
 * @method $this withServiceArea($value)
921
 * @method string getShowLog()
922
 * @method $this withShowLog($value)
923
 * @method string getEndTime()
924
 * @method $this withEndTime($value)
925
 * @method string getOwnerId()
926
 * @method $this withOwnerId($value)
927
 * @method string getAppId()
928
 * @method $this withAppId($value)
929
 * @method string getInterval()
930
 * @method $this withInterval($value)
931
 */
932
class DescribeRtcUserCntData extends Rpc
933
{
934
}
935
936
/**
937
 * @method string getStartTime()
938
 * @method $this withStartTime($value)
939
 * @method string getUid()
940
 * @method $this withUid($value)
941
 * @method string getShowLog()
942
 * @method $this withShowLog($value)
943
 * @method string getEndTime()
944
 * @method $this withEndTime($value)
945
 * @method string getOwnerId()
946
 * @method $this withOwnerId($value)
947
 * @method string getAppId()
948
 * @method $this withAppId($value)
949
 * @method string getChannelId()
950
 * @method $this withChannelId($value)
951
 */
952
class DescribeRtcUserEvents extends Rpc
953
{
954
}
955
956
/**
957
 * @method string getStartTime()
958
 * @method $this withStartTime($value)
959
 * @method string getShowLog()
960
 * @method $this withShowLog($value)
961
 * @method string getSubUser()
962
 * @method $this withSubUser($value)
963
 * @method string getEndTime()
964
 * @method $this withEndTime($value)
965
 * @method string getOwnerId()
966
 * @method $this withOwnerId($value)
967
 * @method string getPubUser()
968
 * @method $this withPubUser($value)
969
 * @method string getAppId()
970
 * @method $this withAppId($value)
971
 * @method string getChannelId()
972
 * @method $this withChannelId($value)
973
 */
974
class DescribeRtcUserList extends Rpc
975
{
976
}
977
978
/**
979
 * @method string getUserId()
980
 * @method $this withUserId($value)
981
 * @method string getShowLog()
982
 * @method $this withShowLog($value)
983
 * @method string getOwnerId()
984
 * @method $this withOwnerId($value)
985
 * @method string getAppId()
986
 * @method $this withAppId($value)
987
 * @method string getChannelId()
988
 * @method $this withChannelId($value)
989
 */
990
class DescribeUserInfoInChannel extends Rpc
991
{
992
}
993
994
/**
995
 * @method string getShowLog()
996
 * @method $this withShowLog($value)
997
 * @method string getOwnerId()
998
 * @method $this withOwnerId($value)
999
 * @method string getAppId()
1000
 * @method $this withAppId($value)
1001
 * @method string getRuleId()
1002
 * @method $this withRuleId($value)
1003
 */
1004
class DisableMPURule extends Rpc
1005
{
1006
}
1007
1008
/**
1009
 * @method string getShowLog()
1010
 * @method $this withShowLog($value)
1011
 * @method string getOwnerId()
1012
 * @method $this withOwnerId($value)
1013
 * @method string getAppId()
1014
 * @method $this withAppId($value)
1015
 * @method string getRuleId()
1016
 * @method $this withRuleId($value)
1017
 */
1018
class EnableMPURule extends Rpc
1019
{
1020
}
1021
1022
/**
1023
 * @method string getTaskId()
1024
 * @method $this withTaskId($value)
1025
 * @method string getShowLog()
1026
 * @method $this withShowLog($value)
1027
 * @method string getOwnerId()
1028
 * @method $this withOwnerId($value)
1029
 * @method string getAppId()
1030
 * @method $this withAppId($value)
1031
 */
1032
class GetMPUTaskStatus extends Rpc
1033
{
1034
}
1035
1036
/**
1037
 * @method string getAppName()
1038
 * @method $this withAppName($value)
1039
 * @method string getShowLog()
1040
 * @method $this withShowLog($value)
1041
 * @method string getOwnerId()
1042
 * @method $this withOwnerId($value)
1043
 * @method string getAppId()
1044
 * @method $this withAppId($value)
1045
 */
1046
class ModifyApp extends Rpc
1047
{
1048
}
1049
1050
/**
1051
 * @method string getStartTime()
1052
 * @method $this withStartTime($value)
1053
 * @method string getType()
1054
 * @method $this withType($value)
1055
 * @method string getConferenceId()
1056
 * @method $this withConferenceId($value)
1057
 * @method string getConferenceName()
1058
 * @method $this withConferenceName($value)
1059
 * @method string getShowLog()
1060
 * @method $this withShowLog($value)
1061
 * @method string getOwnerId()
1062
 * @method $this withOwnerId($value)
1063
 * @method string getAppId()
1064
 * @method $this withAppId($value)
1065
 * @method string getRemindNotice()
1066
 * @method $this withRemindNotice($value)
1067
 */
1068
class ModifyConference extends Rpc
1069
{
1070
}
1071
1072
/**
1073
 * @method string getLayoutId()
1074
 * @method $this withLayoutId($value)
1075
 * @method array getPanes()
1076
 * @method string getShowLog()
1077
 * @method $this withShowLog($value)
1078
 * @method string getOwnerId()
1079
 * @method $this withOwnerId($value)
1080
 * @method string getAppId()
1081
 * @method $this withAppId($value)
1082
 * @method string getName()
1083
 * @method $this withName($value)
1084
 * @method string getAudioMixCount()
1085
 * @method $this withAudioMixCount($value)
1086
 */
1087
class ModifyMPULayout extends Rpc
1088
{
1089
1090
    /**
1091
     * @param array $panes
1092
     *
1093
     * @return $this
1094
     */
1095
	public function withPanes(array $panes)
1096
	{
1097
	    $this->data['Panes'] = $panes;
1098
		foreach ($panes as $depth1 => $depth1Value) {
1099
			if(isset($depth1Value['PaneId'])){
1100
				$this->options['query']['Panes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1101
			}
1102
			if(isset($depth1Value['MajorPane'])){
1103
				$this->options['query']['Panes.' . ($depth1 + 1) . '.MajorPane'] = $depth1Value['MajorPane'];
1104
			}
1105
			if(isset($depth1Value['X'])){
1106
				$this->options['query']['Panes.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
1107
			}
1108
			if(isset($depth1Value['Y'])){
1109
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
1110
			}
1111
			if(isset($depth1Value['Width'])){
1112
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
1113
			}
1114
			if(isset($depth1Value['Height'])){
1115
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
1116
			}
1117
			if(isset($depth1Value['ZOrder'])){
1118
				$this->options['query']['Panes.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
1119
			}
1120
		}
1121
1122
		return $this;
1123
    }
1124
}
1125
1126
/**
1127
 * @method array getParticipantIds()
1128
 * @method string getConferenceId()
1129
 * @method $this withConferenceId($value)
1130
 * @method string getShowLog()
1131
 * @method $this withShowLog($value)
1132
 * @method string getOwnerId()
1133
 * @method $this withOwnerId($value)
1134
 * @method string getAppId()
1135
 * @method $this withAppId($value)
1136
 */
1137
class MuteAudio extends Rpc
1138
{
1139
1140
    /**
1141
     * @param array $participantIds
1142
     *
1143
     * @return $this
1144
     */
1145
	public function withParticipantIds(array $participantIds)
1146
	{
1147
	    $this->data['ParticipantIds'] = $participantIds;
1148
		foreach ($participantIds as $i => $iValue) {
1149
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
1150
		}
1151
1152
		return $this;
1153
    }
1154
}
1155
1156
/**
1157
 * @method string getConferenceId()
1158
 * @method $this withConferenceId($value)
1159
 * @method string getShowLog()
1160
 * @method $this withShowLog($value)
1161
 * @method string getOwnerId()
1162
 * @method $this withOwnerId($value)
1163
 * @method string getParticipantId()
1164
 * @method $this withParticipantId($value)
1165
 * @method string getAppId()
1166
 * @method $this withAppId($value)
1167
 */
1168
class MuteAudioAll extends Rpc
1169
{
1170
}
1171
1172
/**
1173
 * @method string getTraceId()
1174
 * @method $this withTraceId($value)
1175
 * @method string getContent()
1176
 * @method $this withContent($value)
1177
 * @method string getEvent()
1178
 * @method $this withEvent($value)
1179
 * @method string getShowLog()
1180
 * @method $this withShowLog($value)
1181
 * @method string getOwnerId()
1182
 * @method $this withOwnerId($value)
1183
 * @method string getContentType()
1184
 * @method $this withContentType($value)
1185
 * @method string getBizId()
1186
 * @method $this withBizId($value)
1187
 */
1188
class ReceiveNotify extends Rpc
1189
{
1190
}
1191
1192
/**
1193
 * @method array getParticipantIds()
1194
 * @method string getConferenceId()
1195
 * @method $this withConferenceId($value)
1196
 * @method string getShowLog()
1197
 * @method $this withShowLog($value)
1198
 * @method string getOwnerId()
1199
 * @method $this withOwnerId($value)
1200
 * @method string getAppId()
1201
 * @method $this withAppId($value)
1202
 */
1203
class RemoveParticipants extends Rpc
1204
{
1205
1206
    /**
1207
     * @param array $participantIds
1208
     *
1209
     * @return $this
1210
     */
1211
	public function withParticipantIds(array $participantIds)
1212
	{
1213
	    $this->data['ParticipantIds'] = $participantIds;
1214
		foreach ($participantIds as $i => $iValue) {
1215
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
1216
		}
1217
1218
		return $this;
1219
    }
1220
}
1221
1222
/**
1223
 * @method array getTerminalIds()
1224
 * @method string getShowLog()
1225
 * @method $this withShowLog($value)
1226
 * @method string getOwnerId()
1227
 * @method $this withOwnerId($value)
1228
 * @method string getAppId()
1229
 * @method $this withAppId($value)
1230
 * @method string getChannelId()
1231
 * @method $this withChannelId($value)
1232
 */
1233
class RemoveTerminals extends Rpc
1234
{
1235
1236
    /**
1237
     * @param array $terminalIds
1238
     *
1239
     * @return $this
1240
     */
1241
	public function withTerminalIds(array $terminalIds)
1242
	{
1243
	    $this->data['TerminalIds'] = $terminalIds;
1244
		foreach ($terminalIds as $i => $iValue) {
1245
			$this->options['query']['TerminalIds.' . ($i + 1)] = $iValue;
1246
		}
1247
1248
		return $this;
1249
    }
1250
}
1251
1252
/**
1253
 * @method string getStartTime()
1254
 * @method $this withStartTime($value)
1255
 * @method string getMaxUserNum()
1256
 * @method $this withMaxUserNum($value)
1257
 * @method string getDuration()
1258
 * @method $this withDuration($value)
1259
 * @method string getShowLog()
1260
 * @method $this withShowLog($value)
1261
 * @method string getTopics()
1262
 * @method $this withTopics($value)
1263
 * @method string getOwnerId()
1264
 * @method $this withOwnerId($value)
1265
 * @method string getPriority()
1266
 * @method $this withPriority($value)
1267
 * @method string getAppId()
1268
 * @method $this withAppId($value)
1269
 * @method string getChannelId()
1270
 * @method $this withChannelId($value)
1271
 */
1272
class SetChannelProperty extends Rpc
1273
{
1274
}
1275
1276
/**
1277
 * @method string getPayloadType()
1278
 * @method $this withPayloadType($value)
1279
 * @method array getUserPanes()
1280
 * @method string getRtpExtInfo()
1281
 * @method $this withRtpExtInfo($value)
1282
 * @method string getBackgroundColor()
1283
 * @method $this withBackgroundColor($value)
1284
 * @method string getCropMode()
1285
 * @method $this withCropMode($value)
1286
 * @method string getReportVad()
1287
 * @method $this withReportVad($value)
1288
 * @method string getTaskProfile()
1289
 * @method $this withTaskProfile($value)
1290
 * @method array getLayoutIds()
1291
 * @method string getTaskId()
1292
 * @method $this withTaskId($value)
1293
 * @method string getShowLog()
1294
 * @method $this withShowLog($value)
1295
 * @method string getStreamURL()
1296
 * @method $this withStreamURL($value)
1297
 * @method string getVadInterval()
1298
 * @method $this withVadInterval($value)
1299
 * @method array getWatermarks()
1300
 * @method string getOwnerId()
1301
 * @method $this withOwnerId($value)
1302
 * @method array getSubSpecUsers()
1303
 * @method string getAppId()
1304
 * @method $this withAppId($value)
1305
 * @method array getBackgrounds()
1306
 * @method string getTimeStampRef()
1307
 * @method $this withTimeStampRef($value)
1308
 * @method string getMediaEncode()
1309
 * @method $this withMediaEncode($value)
1310
 * @method string getChannelId()
1311
 * @method $this withChannelId($value)
1312
 */
1313
class StartMPUTask extends Rpc
1314
{
1315
1316
    /**
1317
     * @param array $userPanes
1318
     *
1319
     * @return $this
1320
     */
1321
	public function withUserPanes(array $userPanes)
1322
	{
1323
	    $this->data['UserPanes'] = $userPanes;
1324
		foreach ($userPanes as $depth1 => $depth1Value) {
1325
			if(isset($depth1Value['PaneId'])){
1326
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1327
			}
1328
			if(isset($depth1Value['UserId'])){
1329
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1330
			}
1331
			if(isset($depth1Value['SourceType'])){
1332
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1333
			}
1334
			foreach ($depth1Value['Images'] as $depth2 => $depth2Value) {
1335
				if(isset($depth2Value['Url'])){
1336
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Url'] = $depth2Value['Url'];
1337
				}
1338
				if(isset($depth2Value['Display'])){
1339
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Display'] = $depth2Value['Display'];
1340
				}
1341
				if(isset($depth2Value['X'])){
1342
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1343
				}
1344
				if(isset($depth2Value['Y'])){
1345
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1346
				}
1347
				if(isset($depth2Value['Width'])){
1348
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Width'] = $depth2Value['Width'];
1349
				}
1350
				if(isset($depth2Value['Height'])){
1351
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Height'] = $depth2Value['Height'];
1352
				}
1353
				if(isset($depth2Value['ZOrder'])){
1354
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1355
				}
1356
			}
1357
			foreach ($depth1Value['Texts'] as $depth2 => $depth2Value) {
1358
				if(isset($depth2Value['Text'])){
1359
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Text'] = $depth2Value['Text'];
1360
				}
1361
				if(isset($depth2Value['X'])){
1362
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1363
				}
1364
				if(isset($depth2Value['Y'])){
1365
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1366
				}
1367
				if(isset($depth2Value['FontType'])){
1368
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontType'] = $depth2Value['FontType'];
1369
				}
1370
				if(isset($depth2Value['FontSize'])){
1371
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontSize'] = $depth2Value['FontSize'];
1372
				}
1373
				if(isset($depth2Value['FontColor'])){
1374
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontColor'] = $depth2Value['FontColor'];
1375
				}
1376
				if(isset($depth2Value['ZOrder'])){
1377
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1378
				}
1379
			}
1380
		}
1381
1382
		return $this;
1383
    }
1384
1385
    /**
1386
     * @param array $layoutIds
1387
     *
1388
     * @return $this
1389
     */
1390
	public function withLayoutIds(array $layoutIds)
1391
	{
1392
	    $this->data['LayoutIds'] = $layoutIds;
1393
		foreach ($layoutIds as $i => $iValue) {
1394
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
1395
		}
1396
1397
		return $this;
1398
    }
1399
1400
    /**
1401
     * @param array $watermarks
1402
     *
1403
     * @return $this
1404
     */
1405
	public function withWatermarks(array $watermarks)
1406
	{
1407
	    $this->data['Watermarks'] = $watermarks;
1408
		foreach ($watermarks as $depth1 => $depth1Value) {
1409
			if(isset($depth1Value['Url'])){
1410
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1411
			}
1412
			if(isset($depth1Value['Alpha'])){
1413
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Alpha'] = $depth1Value['Alpha'];
1414
			}
1415
			if(isset($depth1Value['Display'])){
1416
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
1417
			}
1418
			if(isset($depth1Value['X'])){
1419
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
1420
			}
1421
			if(isset($depth1Value['Y'])){
1422
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
1423
			}
1424
			if(isset($depth1Value['Width'])){
1425
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
1426
			}
1427
			if(isset($depth1Value['Height'])){
1428
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
1429
			}
1430
			if(isset($depth1Value['ZOrder'])){
1431
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
1432
			}
1433
		}
1434
1435
		return $this;
1436
    }
1437
1438
    /**
1439
     * @param array $subSpecUsers
1440
     *
1441
     * @return $this
1442
     */
1443
	public function withSubSpecUsers(array $subSpecUsers)
1444
	{
1445
	    $this->data['SubSpecUsers'] = $subSpecUsers;
1446
		foreach ($subSpecUsers as $i => $iValue) {
1447
			$this->options['query']['SubSpecUsers.' . ($i + 1)] = $iValue;
1448
		}
1449
1450
		return $this;
1451
    }
1452
1453
    /**
1454
     * @param array $backgrounds
1455
     *
1456
     * @return $this
1457
     */
1458
	public function withBackgrounds(array $backgrounds)
1459
	{
1460
	    $this->data['Backgrounds'] = $backgrounds;
1461
		foreach ($backgrounds as $depth1 => $depth1Value) {
1462
			if(isset($depth1Value['Url'])){
1463
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1464
			}
1465
			if(isset($depth1Value['Display'])){
1466
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
1467
			}
1468
			if(isset($depth1Value['X'])){
1469
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
1470
			}
1471
			if(isset($depth1Value['Y'])){
1472
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
1473
			}
1474
			if(isset($depth1Value['Width'])){
1475
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
1476
			}
1477
			if(isset($depth1Value['Height'])){
1478
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
1479
			}
1480
			if(isset($depth1Value['ZOrder'])){
1481
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
1482
			}
1483
		}
1484
1485
		return $this;
1486
    }
1487
}
1488
1489
/**
1490
 * @method array getUserPanes()
1491
 * @method string getTaskId()
1492
 * @method $this withTaskId($value)
1493
 * @method string getShowLog()
1494
 * @method $this withShowLog($value)
1495
 * @method string getOwnerId()
1496
 * @method $this withOwnerId($value)
1497
 * @method string getTemplateId()
1498
 * @method $this withTemplateId($value)
1499
 * @method array getSubSpecUsers()
1500
 * @method string getAppId()
1501
 * @method $this withAppId($value)
1502
 * @method string getChannelId()
1503
 * @method $this withChannelId($value)
1504
 */
1505
class StartRecordTask extends Rpc
1506
{
1507
1508
    /**
1509
     * @param array $userPanes
1510
     *
1511
     * @return $this
1512
     */
1513
	public function withUserPanes(array $userPanes)
1514
	{
1515
	    $this->data['UserPanes'] = $userPanes;
1516
		foreach ($userPanes as $depth1 => $depth1Value) {
1517
			if(isset($depth1Value['PaneId'])){
1518
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1519
			}
1520
			if(isset($depth1Value['UserId'])){
1521
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1522
			}
1523
			if(isset($depth1Value['SourceType'])){
1524
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1525
			}
1526
			foreach ($depth1Value['Images'] as $depth2 => $depth2Value) {
1527
				if(isset($depth2Value['Url'])){
1528
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Url'] = $depth2Value['Url'];
1529
				}
1530
				if(isset($depth2Value['Display'])){
1531
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Display'] = $depth2Value['Display'];
1532
				}
1533
				if(isset($depth2Value['X'])){
1534
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1535
				}
1536
				if(isset($depth2Value['Y'])){
1537
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1538
				}
1539
				if(isset($depth2Value['Width'])){
1540
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Width'] = $depth2Value['Width'];
1541
				}
1542
				if(isset($depth2Value['Height'])){
1543
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Height'] = $depth2Value['Height'];
1544
				}
1545
				if(isset($depth2Value['ZOrder'])){
1546
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1547
				}
1548
			}
1549
			foreach ($depth1Value['Texts'] as $depth2 => $depth2Value) {
1550
				if(isset($depth2Value['Text'])){
1551
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Text'] = $depth2Value['Text'];
1552
				}
1553
				if(isset($depth2Value['X'])){
1554
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1555
				}
1556
				if(isset($depth2Value['Y'])){
1557
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1558
				}
1559
				if(isset($depth2Value['FontType'])){
1560
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontType'] = $depth2Value['FontType'];
1561
				}
1562
				if(isset($depth2Value['FontSize'])){
1563
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontSize'] = $depth2Value['FontSize'];
1564
				}
1565
				if(isset($depth2Value['FontColor'])){
1566
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontColor'] = $depth2Value['FontColor'];
1567
				}
1568
				if(isset($depth2Value['ZOrder'])){
1569
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1570
				}
1571
			}
1572
		}
1573
1574
		return $this;
1575
    }
1576
1577
    /**
1578
     * @param array $subSpecUsers
1579
     *
1580
     * @return $this
1581
     */
1582
	public function withSubSpecUsers(array $subSpecUsers)
1583
	{
1584
	    $this->data['SubSpecUsers'] = $subSpecUsers;
1585
		foreach ($subSpecUsers as $i => $iValue) {
1586
			$this->options['query']['SubSpecUsers.' . ($i + 1)] = $iValue;
1587
		}
1588
1589
		return $this;
1590
    }
1591
}
1592
1593
/**
1594
 * @method string getUserId()
1595
 * @method $this withUserId($value)
1596
 * @method string getShowLog()
1597
 * @method $this withShowLog($value)
1598
 * @method string getOwnerId()
1599
 * @method $this withOwnerId($value)
1600
 * @method string getAppId()
1601
 * @method $this withAppId($value)
1602
 * @method string getChannelId()
1603
 * @method $this withChannelId($value)
1604
 */
1605
class StopChannelUserPublish extends Rpc
1606
{
1607
}
1608
1609
/**
1610
 * @method string getTaskId()
1611
 * @method $this withTaskId($value)
1612
 * @method string getShowLog()
1613
 * @method $this withShowLog($value)
1614
 * @method string getOwnerId()
1615
 * @method $this withOwnerId($value)
1616
 * @method string getAppId()
1617
 * @method $this withAppId($value)
1618
 */
1619
class StopMPUTask extends Rpc
1620
{
1621
}
1622
1623
/**
1624
 * @method string getTaskId()
1625
 * @method $this withTaskId($value)
1626
 * @method string getShowLog()
1627
 * @method $this withShowLog($value)
1628
 * @method string getOwnerId()
1629
 * @method $this withOwnerId($value)
1630
 * @method string getAppId()
1631
 * @method $this withAppId($value)
1632
 */
1633
class StopRecordTask extends Rpc
1634
{
1635
}
1636
1637
/**
1638
 * @method array getParticipantIds()
1639
 * @method string getConferenceId()
1640
 * @method $this withConferenceId($value)
1641
 * @method string getShowLog()
1642
 * @method $this withShowLog($value)
1643
 * @method string getOwnerId()
1644
 * @method $this withOwnerId($value)
1645
 * @method string getAppId()
1646
 * @method $this withAppId($value)
1647
 */
1648
class UnmuteAudio extends Rpc
1649
{
1650
1651
    /**
1652
     * @param array $participantIds
1653
     *
1654
     * @return $this
1655
     */
1656
	public function withParticipantIds(array $participantIds)
1657
	{
1658
	    $this->data['ParticipantIds'] = $participantIds;
1659
		foreach ($participantIds as $i => $iValue) {
1660
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
1661
		}
1662
1663
		return $this;
1664
    }
1665
}
1666
1667
/**
1668
 * @method string getConferenceId()
1669
 * @method $this withConferenceId($value)
1670
 * @method string getShowLog()
1671
 * @method $this withShowLog($value)
1672
 * @method string getOwnerId()
1673
 * @method $this withOwnerId($value)
1674
 * @method string getParticipantId()
1675
 * @method $this withParticipantId($value)
1676
 * @method string getAppId()
1677
 * @method $this withAppId($value)
1678
 */
1679
class UnmuteAudioAll extends Rpc
1680
{
1681
}
1682
1683
/**
1684
 * @method string getShowLog()
1685
 * @method $this withShowLog($value)
1686
 * @method string getOwnerId()
1687
 * @method $this withOwnerId($value)
1688
 * @method string getNonce()
1689
 * @method $this withNonce($value)
1690
 * @method string getAppId()
1691
 * @method $this withAppId($value)
1692
 * @method string getChannelId()
1693
 * @method $this withChannelId($value)
1694
 */
1695
class UpdateChannel extends Rpc
1696
{
1697
}
1698
1699
/**
1700
 * @method array getUserPanes()
1701
 * @method string getBackgroundColor()
1702
 * @method $this withBackgroundColor($value)
1703
 * @method string getCropMode()
1704
 * @method $this withCropMode($value)
1705
 * @method array getLayoutIds()
1706
 * @method string getTaskId()
1707
 * @method $this withTaskId($value)
1708
 * @method string getShowLog()
1709
 * @method $this withShowLog($value)
1710
 * @method array getWatermarks()
1711
 * @method string getOwnerId()
1712
 * @method $this withOwnerId($value)
1713
 * @method string getAppId()
1714
 * @method $this withAppId($value)
1715
 * @method array getBackgrounds()
1716
 */
1717
class UpdateMPULayout extends Rpc
1718
{
1719
1720
    /**
1721
     * @param array $userPanes
1722
     *
1723
     * @return $this
1724
     */
1725
	public function withUserPanes(array $userPanes)
1726
	{
1727
	    $this->data['UserPanes'] = $userPanes;
1728
		foreach ($userPanes as $depth1 => $depth1Value) {
1729
			if(isset($depth1Value['PaneId'])){
1730
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1731
			}
1732
			if(isset($depth1Value['UserId'])){
1733
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1734
			}
1735
			if(isset($depth1Value['SourceType'])){
1736
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1737
			}
1738
			foreach ($depth1Value['Images'] as $depth2 => $depth2Value) {
1739
				if(isset($depth2Value['Url'])){
1740
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Url'] = $depth2Value['Url'];
1741
				}
1742
				if(isset($depth2Value['Display'])){
1743
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Display'] = $depth2Value['Display'];
1744
				}
1745
				if(isset($depth2Value['X'])){
1746
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1747
				}
1748
				if(isset($depth2Value['Y'])){
1749
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1750
				}
1751
				if(isset($depth2Value['Width'])){
1752
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Width'] = $depth2Value['Width'];
1753
				}
1754
				if(isset($depth2Value['Height'])){
1755
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Height'] = $depth2Value['Height'];
1756
				}
1757
				if(isset($depth2Value['ZOrder'])){
1758
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1759
				}
1760
			}
1761
			foreach ($depth1Value['Texts'] as $depth2 => $depth2Value) {
1762
				if(isset($depth2Value['Text'])){
1763
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Text'] = $depth2Value['Text'];
1764
				}
1765
				if(isset($depth2Value['X'])){
1766
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1767
				}
1768
				if(isset($depth2Value['Y'])){
1769
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1770
				}
1771
				if(isset($depth2Value['FontType'])){
1772
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontType'] = $depth2Value['FontType'];
1773
				}
1774
				if(isset($depth2Value['FontSize'])){
1775
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontSize'] = $depth2Value['FontSize'];
1776
				}
1777
				if(isset($depth2Value['FontColor'])){
1778
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontColor'] = $depth2Value['FontColor'];
1779
				}
1780
				if(isset($depth2Value['ZOrder'])){
1781
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1782
				}
1783
			}
1784
		}
1785
1786
		return $this;
1787
    }
1788
1789
    /**
1790
     * @param array $layoutIds
1791
     *
1792
     * @return $this
1793
     */
1794
	public function withLayoutIds(array $layoutIds)
1795
	{
1796
	    $this->data['LayoutIds'] = $layoutIds;
1797
		foreach ($layoutIds as $i => $iValue) {
1798
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
1799
		}
1800
1801
		return $this;
1802
    }
1803
1804
    /**
1805
     * @param array $watermarks
1806
     *
1807
     * @return $this
1808
     */
1809
	public function withWatermarks(array $watermarks)
1810
	{
1811
	    $this->data['Watermarks'] = $watermarks;
1812
		foreach ($watermarks as $depth1 => $depth1Value) {
1813
			if(isset($depth1Value['Url'])){
1814
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1815
			}
1816
			if(isset($depth1Value['Alpha'])){
1817
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Alpha'] = $depth1Value['Alpha'];
1818
			}
1819
			if(isset($depth1Value['Display'])){
1820
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
1821
			}
1822
			if(isset($depth1Value['X'])){
1823
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
1824
			}
1825
			if(isset($depth1Value['Y'])){
1826
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
1827
			}
1828
			if(isset($depth1Value['Width'])){
1829
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
1830
			}
1831
			if(isset($depth1Value['Height'])){
1832
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
1833
			}
1834
			if(isset($depth1Value['ZOrder'])){
1835
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
1836
			}
1837
		}
1838
1839
		return $this;
1840
    }
1841
1842
    /**
1843
     * @param array $backgrounds
1844
     *
1845
     * @return $this
1846
     */
1847
	public function withBackgrounds(array $backgrounds)
1848
	{
1849
	    $this->data['Backgrounds'] = $backgrounds;
1850
		foreach ($backgrounds as $depth1 => $depth1Value) {
1851
			if(isset($depth1Value['Url'])){
1852
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
1853
			}
1854
			if(isset($depth1Value['Display'])){
1855
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
1856
			}
1857
			if(isset($depth1Value['X'])){
1858
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
1859
			}
1860
			if(isset($depth1Value['Y'])){
1861
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
1862
			}
1863
			if(isset($depth1Value['Width'])){
1864
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
1865
			}
1866
			if(isset($depth1Value['Height'])){
1867
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
1868
			}
1869
			if(isset($depth1Value['ZOrder'])){
1870
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
1871
			}
1872
		}
1873
1874
		return $this;
1875
    }
1876
}
1877
1878
/**
1879
 * @method array getUserPanes()
1880
 * @method string getTaskId()
1881
 * @method $this withTaskId($value)
1882
 * @method string getShowLog()
1883
 * @method $this withShowLog($value)
1884
 * @method string getOwnerId()
1885
 * @method $this withOwnerId($value)
1886
 * @method string getTemplateId()
1887
 * @method $this withTemplateId($value)
1888
 * @method array getSubSpecUsers()
1889
 * @method string getAppId()
1890
 * @method $this withAppId($value)
1891
 * @method string getChannelId()
1892
 * @method $this withChannelId($value)
1893
 */
1894
class UpdateRecordTask extends Rpc
1895
{
1896
1897
    /**
1898
     * @param array $userPanes
1899
     *
1900
     * @return $this
1901
     */
1902
	public function withUserPanes(array $userPanes)
1903
	{
1904
	    $this->data['UserPanes'] = $userPanes;
1905
		foreach ($userPanes as $depth1 => $depth1Value) {
1906
			if(isset($depth1Value['PaneId'])){
1907
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1908
			}
1909
			if(isset($depth1Value['UserId'])){
1910
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1911
			}
1912
			if(isset($depth1Value['SourceType'])){
1913
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1914
			}
1915
			foreach ($depth1Value['Images'] as $depth2 => $depth2Value) {
1916
				if(isset($depth2Value['Url'])){
1917
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Url'] = $depth2Value['Url'];
1918
				}
1919
				if(isset($depth2Value['Display'])){
1920
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Display'] = $depth2Value['Display'];
1921
				}
1922
				if(isset($depth2Value['X'])){
1923
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1924
				}
1925
				if(isset($depth2Value['Y'])){
1926
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1927
				}
1928
				if(isset($depth2Value['Width'])){
1929
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Width'] = $depth2Value['Width'];
1930
				}
1931
				if(isset($depth2Value['Height'])){
1932
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.Height'] = $depth2Value['Height'];
1933
				}
1934
				if(isset($depth2Value['ZOrder'])){
1935
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Images.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1936
				}
1937
			}
1938
			foreach ($depth1Value['Texts'] as $depth2 => $depth2Value) {
1939
				if(isset($depth2Value['Text'])){
1940
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Text'] = $depth2Value['Text'];
1941
				}
1942
				if(isset($depth2Value['X'])){
1943
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.X'] = $depth2Value['X'];
1944
				}
1945
				if(isset($depth2Value['Y'])){
1946
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.Y'] = $depth2Value['Y'];
1947
				}
1948
				if(isset($depth2Value['FontType'])){
1949
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontType'] = $depth2Value['FontType'];
1950
				}
1951
				if(isset($depth2Value['FontSize'])){
1952
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontSize'] = $depth2Value['FontSize'];
1953
				}
1954
				if(isset($depth2Value['FontColor'])){
1955
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.FontColor'] = $depth2Value['FontColor'];
1956
				}
1957
				if(isset($depth2Value['ZOrder'])){
1958
					$this->options['query']['UserPanes.' . ($depth1 + 1) . '.Texts.' . ($depth2 + 1) . '.ZOrder'] = $depth2Value['ZOrder'];
1959
				}
1960
			}
1961
		}
1962
1963
		return $this;
1964
    }
1965
1966
    /**
1967
     * @param array $subSpecUsers
1968
     *
1969
     * @return $this
1970
     */
1971
	public function withSubSpecUsers(array $subSpecUsers)
1972
	{
1973
	    $this->data['SubSpecUsers'] = $subSpecUsers;
1974
		foreach ($subSpecUsers as $i => $iValue) {
1975
			$this->options['query']['SubSpecUsers.' . ($i + 1)] = $iValue;
1976
		}
1977
1978
		return $this;
1979
    }
1980
}
1981
1982
/**
1983
 * @method array getFormats()
1984
 * @method string getOssFilePrefix()
1985
 * @method $this withOssFilePrefix($value)
1986
 * @method string getBackgroundColor()
1987
 * @method $this withBackgroundColor($value)
1988
 * @method string getTaskProfile()
1989
 * @method $this withTaskProfile($value)
1990
 * @method array getLayoutIds()
1991
 * @method string getShowLog()
1992
 * @method $this withShowLog($value)
1993
 * @method string getOssBucket()
1994
 * @method $this withOssBucket($value)
1995
 * @method string getMnsQueue()
1996
 * @method $this withMnsQueue($value)
1997
 * @method string getFileSplitInterval()
1998
 * @method $this withFileSplitInterval($value)
1999
 * @method string getHttpCallbackUrl()
2000
 * @method $this withHttpCallbackUrl($value)
2001
 * @method array getWatermarks()
2002
 * @method string getOwnerId()
2003
 * @method $this withOwnerId($value)
2004
 * @method string getTemplateId()
2005
 * @method $this withTemplateId($value)
2006
 * @method string getAppId()
2007
 * @method $this withAppId($value)
2008
 * @method array getBackgrounds()
2009
 * @method string getName()
2010
 * @method $this withName($value)
2011
 * @method string getMediaEncode()
2012
 * @method $this withMediaEncode($value)
2013
 */
2014
class UpdateRecordTemplate extends Rpc
2015
{
2016
2017
    /**
2018
     * @param array $formats
2019
     *
2020
     * @return $this
2021
     */
2022
	public function withFormats(array $formats)
2023
	{
2024
	    $this->data['Formats'] = $formats;
2025
		foreach ($formats as $i => $iValue) {
2026
			$this->options['query']['Formats.' . ($i + 1)] = $iValue;
2027
		}
2028
2029
		return $this;
2030
    }
2031
2032
    /**
2033
     * @param array $layoutIds
2034
     *
2035
     * @return $this
2036
     */
2037
	public function withLayoutIds(array $layoutIds)
2038
	{
2039
	    $this->data['LayoutIds'] = $layoutIds;
2040
		foreach ($layoutIds as $i => $iValue) {
2041
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
2042
		}
2043
2044
		return $this;
2045
    }
2046
2047
    /**
2048
     * @param array $watermarks
2049
     *
2050
     * @return $this
2051
     */
2052
	public function withWatermarks(array $watermarks)
2053
	{
2054
	    $this->data['Watermarks'] = $watermarks;
2055
		foreach ($watermarks as $depth1 => $depth1Value) {
2056
			if(isset($depth1Value['Url'])){
2057
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
2058
			}
2059
			if(isset($depth1Value['Alpha'])){
2060
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Alpha'] = $depth1Value['Alpha'];
2061
			}
2062
			if(isset($depth1Value['Display'])){
2063
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
2064
			}
2065
			if(isset($depth1Value['X'])){
2066
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
2067
			}
2068
			if(isset($depth1Value['Y'])){
2069
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
2070
			}
2071
			if(isset($depth1Value['Width'])){
2072
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
2073
			}
2074
			if(isset($depth1Value['Height'])){
2075
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
2076
			}
2077
			if(isset($depth1Value['ZOrder'])){
2078
				$this->options['query']['Watermarks.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
2079
			}
2080
		}
2081
2082
		return $this;
2083
    }
2084
2085
    /**
2086
     * @param array $backgrounds
2087
     *
2088
     * @return $this
2089
     */
2090
	public function withBackgrounds(array $backgrounds)
2091
	{
2092
	    $this->data['Backgrounds'] = $backgrounds;
2093
		foreach ($backgrounds as $depth1 => $depth1Value) {
2094
			if(isset($depth1Value['Url'])){
2095
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
2096
			}
2097
			if(isset($depth1Value['Display'])){
2098
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Display'] = $depth1Value['Display'];
2099
			}
2100
			if(isset($depth1Value['X'])){
2101
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
2102
			}
2103
			if(isset($depth1Value['Y'])){
2104
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
2105
			}
2106
			if(isset($depth1Value['Width'])){
2107
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
2108
			}
2109
			if(isset($depth1Value['Height'])){
2110
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
2111
			}
2112
			if(isset($depth1Value['ZOrder'])){
2113
				$this->options['query']['Backgrounds.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
2114
			}
2115
		}
2116
2117
		return $this;
2118
    }
2119
}
2120