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.
Passed
Push — master ( 4f55d3...fe26ce )
by
unknown
13:24 queued 07:52
created

AddRecordTemplate   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
eloc 9
c 1
b 0
f 0
dl 0
loc 31
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withFormats() 0 8 2
A withLayoutIds() 0 8 2
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 CreateMAURule createMAURule(array $options = [])
12
 * @method CreateMPULayout createMPULayout(array $options = [])
13
 * @method CreateMPURule createMPURule(array $options = [])
14
 * @method CreateServiceLinkedRoleForRtc createServiceLinkedRoleForRtc(array $options = [])
15
 * @method DeleteChannel deleteChannel(array $options = [])
16
 * @method DeleteConference deleteConference(array $options = [])
17
 * @method DeleteMAURule deleteMAURule(array $options = [])
18
 * @method DeleteMPULayout deleteMPULayout(array $options = [])
19
 * @method DeleteMPURule deleteMPURule(array $options = [])
20
 * @method DeleteRecordTemplate deleteRecordTemplate(array $options = [])
21
 * @method DescribeApps describeApps(array $options = [])
22
 * @method DescribeChannelParticipants describeChannelParticipants(array $options = [])
23
 * @method DescribeChannelUsers describeChannelUsers(array $options = [])
24
 * @method DescribeConferenceAuthInfo describeConferenceAuthInfo(array $options = [])
25
 * @method DescribeMAURule describeMAURule(array $options = [])
26
 * @method DescribeMPULayoutInfo describeMPULayoutInfo(array $options = [])
27
 * @method DescribeMPULayoutInfoList describeMPULayoutInfoList(array $options = [])
28
 * @method DescribeMPULayoutList describeMPULayoutList(array $options = [])
29
 * @method DescribeMPURule describeMPURule(array $options = [])
30
 * @method DescribeRecordTemplates describeRecordTemplates(array $options = [])
31
 * @method DescribeRTCAppKey describeRTCAppKey(array $options = [])
32
 * @method DescribeRtcChannelCntData describeRtcChannelCntData(array $options = [])
33
 * @method DescribeRtcChannelList describeRtcChannelList(array $options = [])
34
 * @method DescribeRtcChannelMetric describeRtcChannelMetric(array $options = [])
35
 * @method DescribeRtcChannelUserList describeRtcChannelUserList(array $options = [])
36
 * @method DescribeRtcDurationData describeRtcDurationData(array $options = [])
37
 * @method DescribeRtcPeakChannelCntData describeRtcPeakChannelCntData(array $options = [])
38
 * @method DescribeRtcPeakUserCntData describeRtcPeakUserCntData(array $options = [])
39
 * @method DescribeRtcQualityMetric describeRtcQualityMetric(array $options = [])
40
 * @method DescribeRtcUserCntData describeRtcUserCntData(array $options = [])
41
 * @method DescribeRtcUserList describeRtcUserList(array $options = [])
42
 * @method DescribeUserInfoInChannel describeUserInfoInChannel(array $options = [])
43
 * @method DisableMAURule disableMAURule(array $options = [])
44
 * @method DisableMPURule disableMPURule(array $options = [])
45
 * @method EnableMAURule enableMAURule(array $options = [])
46
 * @method EnableMPURule enableMPURule(array $options = [])
47
 * @method GetMPUTaskStatus getMPUTaskStatus(array $options = [])
48
 * @method ModifyApp modifyApp(array $options = [])
49
 * @method ModifyConference modifyConference(array $options = [])
50
 * @method ModifyMPULayout modifyMPULayout(array $options = [])
51
 * @method MuteAudio muteAudio(array $options = [])
52
 * @method MuteAudioAll muteAudioAll(array $options = [])
53
 * @method ReceiveNotify receiveNotify(array $options = [])
54
 * @method RemoveParticipants removeParticipants(array $options = [])
55
 * @method RemoveTerminals removeTerminals(array $options = [])
56
 * @method SetChannelProperty setChannelProperty(array $options = [])
57
 * @method StartMPUTask startMPUTask(array $options = [])
58
 * @method StartRecordTask startRecordTask(array $options = [])
59
 * @method StopChannelUserPublish stopChannelUserPublish(array $options = [])
60
 * @method StopMPUTask stopMPUTask(array $options = [])
61
 * @method StopRecordTask stopRecordTask(array $options = [])
62
 * @method UnmuteAudio unmuteAudio(array $options = [])
63
 * @method UnmuteAudioAll unmuteAudioAll(array $options = [])
64
 * @method UpdateChannel updateChannel(array $options = [])
65
 * @method UpdateMPULayout updateMPULayout(array $options = [])
66
 * @method UpdateRecordTemplate updateRecordTemplate(array $options = [])
67
 */
68
class RtcApiResolver extends ApiResolver
69
{
70
}
71
72
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
73
{
74
    /** @var string */
75
    public $product = 'rtc';
76
77
    /** @var string */
78
    public $version = '2018-01-11';
79
80
    /** @var string */
81
    public $method = 'POST';
82
83
    /** @var string */
84
    public $serviceCode = 'rtc';
85
}
86
87
/**
88
 * @method array getFormats()
89
 * @method string getOssFilePrefix()
90
 * @method $this withOssFilePrefix($value)
91
 * @method string getBackgroundColor()
92
 * @method $this withBackgroundColor($value)
93
 * @method string getTaskProfile()
94
 * @method $this withTaskProfile($value)
95
 * @method array getLayoutIds()
96
 * @method string getShowLog()
97
 * @method $this withShowLog($value)
98
 * @method string getOssBucket()
99
 * @method $this withOssBucket($value)
100
 * @method string getMnsQueue()
101
 * @method $this withMnsQueue($value)
102
 * @method string getFileSplitInterval()
103
 * @method $this withFileSplitInterval($value)
104
 * @method string getOwnerId()
105
 * @method $this withOwnerId($value)
106
 * @method string getAppId()
107
 * @method $this withAppId($value)
108
 * @method string getName()
109
 * @method $this withName($value)
110
 * @method string getMediaEncode()
111
 * @method $this withMediaEncode($value)
112
 */
113
class AddRecordTemplate extends Rpc
114
{
115
116
    /**
117
     * @param array $formats
118
     *
119
     * @return $this
120
     */
121
	public function withFormats(array $formats)
122
	{
123
	    $this->data['Formats'] = $formats;
124
		foreach ($formats as $i => $iValue) {
125
			$this->options['query']['Formats.' . ($i + 1)] = $iValue;
126
		}
127
128
		return $this;
129
    }
130
131
    /**
132
     * @param array $layoutIds
133
     *
134
     * @return $this
135
     */
136
	public function withLayoutIds(array $layoutIds)
137
	{
138
	    $this->data['LayoutIds'] = $layoutIds;
139
		foreach ($layoutIds as $i => $iValue) {
140
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
141
		}
142
143
		return $this;
144
    }
145
}
146
147
/**
148
 * @method string getShowLog()
149
 * @method $this withShowLog($value)
150
 * @method string getOwnerId()
151
 * @method $this withOwnerId($value)
152
 * @method string getAppId()
153
 * @method $this withAppId($value)
154
 * @method string getChannelId()
155
 * @method $this withChannelId($value)
156
 */
157
class CreateChannel extends Rpc
158
{
159
}
160
161
/**
162
 * @method string getClientToken()
163
 * @method $this withClientToken($value)
164
 * @method string getStartTime()
165
 * @method $this withStartTime($value)
166
 * @method string getType()
167
 * @method $this withType($value)
168
 * @method string getConferenceName()
169
 * @method $this withConferenceName($value)
170
 * @method string getShowLog()
171
 * @method $this withShowLog($value)
172
 * @method string getOwnerId()
173
 * @method $this withOwnerId($value)
174
 * @method string getAppId()
175
 * @method $this withAppId($value)
176
 * @method string getRemindNotice()
177
 * @method $this withRemindNotice($value)
178
 */
179
class CreateConference extends Rpc
180
{
181
}
182
183
/**
184
 * @method string getUseridPrefix()
185
 * @method $this withUseridPrefix($value)
186
 * @method string getChannelPrefix()
187
 * @method $this withChannelPrefix($value)
188
 * @method string getShowLog()
189
 * @method $this withShowLog($value)
190
 * @method string getOwnerId()
191
 * @method $this withOwnerId($value)
192
 * @method string getMauTemplateId()
193
 * @method $this withMauTemplateId($value)
194
 * @method string getAppId()
195
 * @method $this withAppId($value)
196
 * @method string getCallBack()
197
 * @method $this withCallBack($value)
198
 */
199
class CreateMAURule extends Rpc
200
{
201
}
202
203
/**
204
 * @method array getPanes()
205
 * @method string getShowLog()
206
 * @method $this withShowLog($value)
207
 * @method string getOwnerId()
208
 * @method $this withOwnerId($value)
209
 * @method string getAppId()
210
 * @method $this withAppId($value)
211
 * @method string getAudioMixCount()
212
 * @method $this withAudioMixCount($value)
213
 */
214
class CreateMPULayout extends Rpc
215
{
216
217
    /**
218
     * @param array $panes
219
     *
220
     * @return $this
221
     */
222
	public function withPanes(array $panes)
223
	{
224
	    $this->data['Panes'] = $panes;
225
		foreach ($panes as $depth1 => $depth1Value) {
226
			if(isset($depth1Value['PaneId'])){
227
				$this->options['query']['Panes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
228
			}
229
			if(isset($depth1Value['MajorPane'])){
230
				$this->options['query']['Panes.' . ($depth1 + 1) . '.MajorPane'] = $depth1Value['MajorPane'];
231
			}
232
			if(isset($depth1Value['X'])){
233
				$this->options['query']['Panes.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
234
			}
235
			if(isset($depth1Value['Y'])){
236
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
237
			}
238
			if(isset($depth1Value['Width'])){
239
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
240
			}
241
			if(isset($depth1Value['Height'])){
242
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
243
			}
244
			if(isset($depth1Value['ZOrder'])){
245
				$this->options['query']['Panes.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
246
			}
247
		}
248
249
		return $this;
250
    }
251
}
252
253
/**
254
 * @method string getBackgroundColor()
255
 * @method $this withBackgroundColor($value)
256
 * @method string getCropMode()
257
 * @method $this withCropMode($value)
258
 * @method string getChannelPrefix()
259
 * @method $this withChannelPrefix($value)
260
 * @method string getTaskProfile()
261
 * @method $this withTaskProfile($value)
262
 * @method array getLayoutIds()
263
 * @method string getShowLog()
264
 * @method $this withShowLog($value)
265
 * @method string getPlayDomain()
266
 * @method $this withPlayDomain($value)
267
 * @method string getOwnerId()
268
 * @method $this withOwnerId($value)
269
 * @method string getAppId()
270
 * @method $this withAppId($value)
271
 * @method string getMediaEncode()
272
 * @method $this withMediaEncode($value)
273
 * @method string getCallBack()
274
 * @method $this withCallBack($value)
275
 */
276
class CreateMPURule extends Rpc
277
{
278
279
    /**
280
     * @param array $layoutIds
281
     *
282
     * @return $this
283
     */
284
	public function withLayoutIds(array $layoutIds)
285
	{
286
	    $this->data['LayoutIds'] = $layoutIds;
287
		foreach ($layoutIds as $i => $iValue) {
288
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
289
		}
290
291
		return $this;
292
    }
293
}
294
295
/**
296
 * @method string getShowLog()
297
 * @method $this withShowLog($value)
298
 * @method string getOwnerId()
299
 * @method $this withOwnerId($value)
300
 */
301
class CreateServiceLinkedRoleForRtc extends Rpc
302
{
303
}
304
305
/**
306
 * @method string getShowLog()
307
 * @method $this withShowLog($value)
308
 * @method string getOwnerId()
309
 * @method $this withOwnerId($value)
310
 * @method string getAppId()
311
 * @method $this withAppId($value)
312
 * @method string getChannelId()
313
 * @method $this withChannelId($value)
314
 */
315
class DeleteChannel extends Rpc
316
{
317
}
318
319
/**
320
 * @method string getConferenceId()
321
 * @method $this withConferenceId($value)
322
 * @method string getShowLog()
323
 * @method $this withShowLog($value)
324
 * @method string getOwnerId()
325
 * @method $this withOwnerId($value)
326
 * @method string getAppId()
327
 * @method $this withAppId($value)
328
 */
329
class DeleteConference extends Rpc
330
{
331
}
332
333
/**
334
 * @method string getShowLog()
335
 * @method $this withShowLog($value)
336
 * @method string getOwnerId()
337
 * @method $this withOwnerId($value)
338
 * @method string getAppId()
339
 * @method $this withAppId($value)
340
 * @method string getRuleId()
341
 * @method $this withRuleId($value)
342
 */
343
class DeleteMAURule extends Rpc
344
{
345
}
346
347
/**
348
 * @method string getLayoutId()
349
 * @method $this withLayoutId($value)
350
 * @method string getShowLog()
351
 * @method $this withShowLog($value)
352
 * @method string getOwnerId()
353
 * @method $this withOwnerId($value)
354
 * @method string getAppId()
355
 * @method $this withAppId($value)
356
 */
357
class DeleteMPULayout extends Rpc
358
{
359
}
360
361
/**
362
 * @method string getShowLog()
363
 * @method $this withShowLog($value)
364
 * @method string getOwnerId()
365
 * @method $this withOwnerId($value)
366
 * @method string getAppId()
367
 * @method $this withAppId($value)
368
 * @method string getRuleId()
369
 * @method $this withRuleId($value)
370
 */
371
class DeleteMPURule extends Rpc
372
{
373
}
374
375
/**
376
 * @method string getShowLog()
377
 * @method $this withShowLog($value)
378
 * @method string getOwnerId()
379
 * @method $this withOwnerId($value)
380
 * @method string getTemplateId()
381
 * @method $this withTemplateId($value)
382
 * @method string getAppId()
383
 * @method $this withAppId($value)
384
 */
385
class DeleteRecordTemplate extends Rpc
386
{
387
}
388
389
/**
390
 * @method string getPageNum()
391
 * @method $this withPageNum($value)
392
 * @method string getPageSize()
393
 * @method $this withPageSize($value)
394
 * @method string getShowLog()
395
 * @method $this withShowLog($value)
396
 * @method string getOrder()
397
 * @method $this withOrder($value)
398
 * @method string getOwnerId()
399
 * @method $this withOwnerId($value)
400
 * @method string getAppId()
401
 * @method $this withAppId($value)
402
 * @method string getStatus()
403
 * @method $this withStatus($value)
404
 */
405
class DescribeApps extends Rpc
406
{
407
}
408
409
/**
410
 * @method string getPageNum()
411
 * @method $this withPageNum($value)
412
 * @method string getPageSize()
413
 * @method $this withPageSize($value)
414
 * @method string getShowLog()
415
 * @method $this withShowLog($value)
416
 * @method string getOrder()
417
 * @method $this withOrder($value)
418
 * @method string getOwnerId()
419
 * @method $this withOwnerId($value)
420
 * @method string getAppId()
421
 * @method $this withAppId($value)
422
 * @method string getChannelId()
423
 * @method $this withChannelId($value)
424
 */
425
class DescribeChannelParticipants extends Rpc
426
{
427
}
428
429
/**
430
 * @method string getShowLog()
431
 * @method $this withShowLog($value)
432
 * @method string getOwnerId()
433
 * @method $this withOwnerId($value)
434
 * @method string getAppId()
435
 * @method $this withAppId($value)
436
 * @method string getChannelId()
437
 * @method $this withChannelId($value)
438
 */
439
class DescribeChannelUsers extends Rpc
440
{
441
}
442
443
/**
444
 * @method string getConferenceId()
445
 * @method $this withConferenceId($value)
446
 * @method string getShowLog()
447
 * @method $this withShowLog($value)
448
 * @method string getOwnerId()
449
 * @method $this withOwnerId($value)
450
 * @method string getAppId()
451
 * @method $this withAppId($value)
452
 */
453
class DescribeConferenceAuthInfo extends Rpc
454
{
455
}
456
457
/**
458
 * @method string getShowLog()
459
 * @method $this withShowLog($value)
460
 * @method string getOwnerId()
461
 * @method $this withOwnerId($value)
462
 * @method string getAppId()
463
 * @method $this withAppId($value)
464
 */
465
class DescribeMAURule extends Rpc
466
{
467
}
468
469
/**
470
 * @method string getLayoutId()
471
 * @method $this withLayoutId($value)
472
 * @method string getShowLog()
473
 * @method $this withShowLog($value)
474
 * @method string getOwnerId()
475
 * @method $this withOwnerId($value)
476
 * @method string getAppId()
477
 * @method $this withAppId($value)
478
 */
479
class DescribeMPULayoutInfo extends Rpc
480
{
481
}
482
483
/**
484
 * @method string getPageNum()
485
 * @method $this withPageNum($value)
486
 * @method string getLayoutId()
487
 * @method $this withLayoutId($value)
488
 * @method string getPageSize()
489
 * @method $this withPageSize($value)
490
 * @method string getShowLog()
491
 * @method $this withShowLog($value)
492
 * @method string getOwnerId()
493
 * @method $this withOwnerId($value)
494
 * @method string getAppId()
495
 * @method $this withAppId($value)
496
 * @method string getName()
497
 * @method $this withName($value)
498
 */
499
class DescribeMPULayoutInfoList extends Rpc
500
{
501
}
502
503
/**
504
 * @method string getShowLog()
505
 * @method $this withShowLog($value)
506
 * @method string getOwnerId()
507
 * @method $this withOwnerId($value)
508
 * @method string getAppId()
509
 * @method $this withAppId($value)
510
 */
511
class DescribeMPULayoutList extends Rpc
512
{
513
}
514
515
/**
516
 * @method string getShowLog()
517
 * @method $this withShowLog($value)
518
 * @method string getOwnerId()
519
 * @method $this withOwnerId($value)
520
 * @method string getAppId()
521
 * @method $this withAppId($value)
522
 */
523
class DescribeMPURule extends Rpc
524
{
525
}
526
527
/**
528
 * @method array getTemplateIds()
529
 * @method string getPageNum()
530
 * @method $this withPageNum($value)
531
 * @method string getPageSize()
532
 * @method $this withPageSize($value)
533
 * @method string getShowLog()
534
 * @method $this withShowLog($value)
535
 * @method string getOwnerId()
536
 * @method $this withOwnerId($value)
537
 * @method string getAppId()
538
 * @method $this withAppId($value)
539
 */
540
class DescribeRecordTemplates extends Rpc
541
{
542
543
    /**
544
     * @param array $templateIds
545
     *
546
     * @return $this
547
     */
548
	public function withTemplateIds(array $templateIds)
549
	{
550
	    $this->data['TemplateIds'] = $templateIds;
551
		foreach ($templateIds as $i => $iValue) {
552
			$this->options['query']['TemplateIds.' . ($i + 1)] = $iValue;
553
		}
554
555
		return $this;
556
    }
557
}
558
559
/**
560
 * @method string getShowLog()
561
 * @method $this withShowLog($value)
562
 * @method string getOwnerId()
563
 * @method $this withOwnerId($value)
564
 * @method string getAppId()
565
 * @method $this withAppId($value)
566
 */
567
class DescribeRTCAppKey extends Rpc
568
{
569
}
570
571
/**
572
 * @method string getStartTime()
573
 * @method $this withStartTime($value)
574
 * @method string getServiceArea()
575
 * @method $this withServiceArea($value)
576
 * @method string getShowLog()
577
 * @method $this withShowLog($value)
578
 * @method string getEndTime()
579
 * @method $this withEndTime($value)
580
 * @method string getOwnerId()
581
 * @method $this withOwnerId($value)
582
 * @method string getAppId()
583
 * @method $this withAppId($value)
584
 * @method string getInterval()
585
 * @method $this withInterval($value)
586
 */
587
class DescribeRtcChannelCntData extends Rpc
588
{
589
}
590
591
/**
592
 * @method string getSortType()
593
 * @method $this withSortType($value)
594
 * @method string getUserId()
595
 * @method $this withUserId($value)
596
 * @method string getServiceArea()
597
 * @method $this withServiceArea($value)
598
 * @method string getPageSize()
599
 * @method $this withPageSize($value)
600
 * @method string getShowLog()
601
 * @method $this withShowLog($value)
602
 * @method string getOwnerId()
603
 * @method $this withOwnerId($value)
604
 * @method string getPageNo()
605
 * @method $this withPageNo($value)
606
 * @method string getAppId()
607
 * @method $this withAppId($value)
608
 * @method string getChannelId()
609
 * @method $this withChannelId($value)
610
 * @method string getTimePoint()
611
 * @method $this withTimePoint($value)
612
 */
613
class DescribeRtcChannelList extends Rpc
614
{
615
}
616
617
/**
618
 * @method string getShowLog()
619
 * @method $this withShowLog($value)
620
 * @method string getOwnerId()
621
 * @method $this withOwnerId($value)
622
 * @method string getAppId()
623
 * @method $this withAppId($value)
624
 * @method string getChannelId()
625
 * @method $this withChannelId($value)
626
 * @method string getTimePoint()
627
 * @method $this withTimePoint($value)
628
 */
629
class DescribeRtcChannelMetric extends Rpc
630
{
631
}
632
633
/**
634
 * @method string getPageSize()
635
 * @method $this withPageSize($value)
636
 * @method string getShowLog()
637
 * @method $this withShowLog($value)
638
 * @method string getOwnerId()
639
 * @method $this withOwnerId($value)
640
 * @method string getPageNo()
641
 * @method $this withPageNo($value)
642
 * @method string getAppId()
643
 * @method $this withAppId($value)
644
 * @method string getChannelId()
645
 * @method $this withChannelId($value)
646
 * @method string getTimePoint()
647
 * @method $this withTimePoint($value)
648
 */
649
class DescribeRtcChannelUserList extends Rpc
650
{
651
}
652
653
/**
654
 * @method string getStartTime()
655
 * @method $this withStartTime($value)
656
 * @method string getServiceArea()
657
 * @method $this withServiceArea($value)
658
 * @method string getShowLog()
659
 * @method $this withShowLog($value)
660
 * @method string getEndTime()
661
 * @method $this withEndTime($value)
662
 * @method string getOwnerId()
663
 * @method $this withOwnerId($value)
664
 * @method string getAppId()
665
 * @method $this withAppId($value)
666
 * @method string getInterval()
667
 * @method $this withInterval($value)
668
 */
669
class DescribeRtcDurationData extends Rpc
670
{
671
}
672
673
/**
674
 * @method string getStartTime()
675
 * @method $this withStartTime($value)
676
 * @method string getServiceArea()
677
 * @method $this withServiceArea($value)
678
 * @method string getShowLog()
679
 * @method $this withShowLog($value)
680
 * @method string getEndTime()
681
 * @method $this withEndTime($value)
682
 * @method string getOwnerId()
683
 * @method $this withOwnerId($value)
684
 * @method string getAppId()
685
 * @method $this withAppId($value)
686
 * @method string getInterval()
687
 * @method $this withInterval($value)
688
 */
689
class DescribeRtcPeakChannelCntData extends Rpc
690
{
691
}
692
693
/**
694
 * @method string getStartTime()
695
 * @method $this withStartTime($value)
696
 * @method string getServiceArea()
697
 * @method $this withServiceArea($value)
698
 * @method string getShowLog()
699
 * @method $this withShowLog($value)
700
 * @method string getEndTime()
701
 * @method $this withEndTime($value)
702
 * @method string getOwnerId()
703
 * @method $this withOwnerId($value)
704
 * @method string getAppId()
705
 * @method $this withAppId($value)
706
 * @method string getInterval()
707
 * @method $this withInterval($value)
708
 */
709
class DescribeRtcPeakUserCntData extends Rpc
710
{
711
}
712
713
/**
714
 * @method string getStartTime()
715
 * @method $this withStartTime($value)
716
 * @method string getShowLog()
717
 * @method $this withShowLog($value)
718
 * @method string getSubUser()
719
 * @method $this withSubUser($value)
720
 * @method string getEndTime()
721
 * @method $this withEndTime($value)
722
 * @method string getOwnerId()
723
 * @method $this withOwnerId($value)
724
 * @method string getPubUser()
725
 * @method $this withPubUser($value)
726
 * @method string getAppId()
727
 * @method $this withAppId($value)
728
 * @method string getChannelId()
729
 * @method $this withChannelId($value)
730
 */
731
class DescribeRtcQualityMetric extends Rpc
732
{
733
}
734
735
/**
736
 * @method string getStartTime()
737
 * @method $this withStartTime($value)
738
 * @method string getServiceArea()
739
 * @method $this withServiceArea($value)
740
 * @method string getShowLog()
741
 * @method $this withShowLog($value)
742
 * @method string getEndTime()
743
 * @method $this withEndTime($value)
744
 * @method string getOwnerId()
745
 * @method $this withOwnerId($value)
746
 * @method string getAppId()
747
 * @method $this withAppId($value)
748
 * @method string getInterval()
749
 * @method $this withInterval($value)
750
 */
751
class DescribeRtcUserCntData extends Rpc
752
{
753
}
754
755
/**
756
 * @method string getStartTime()
757
 * @method $this withStartTime($value)
758
 * @method string getShowLog()
759
 * @method $this withShowLog($value)
760
 * @method string getSubUser()
761
 * @method $this withSubUser($value)
762
 * @method string getEndTime()
763
 * @method $this withEndTime($value)
764
 * @method string getOwnerId()
765
 * @method $this withOwnerId($value)
766
 * @method string getPubUser()
767
 * @method $this withPubUser($value)
768
 * @method string getAppId()
769
 * @method $this withAppId($value)
770
 * @method string getChannelId()
771
 * @method $this withChannelId($value)
772
 */
773
class DescribeRtcUserList extends Rpc
774
{
775
}
776
777
/**
778
 * @method string getUserId()
779
 * @method $this withUserId($value)
780
 * @method string getShowLog()
781
 * @method $this withShowLog($value)
782
 * @method string getOwnerId()
783
 * @method $this withOwnerId($value)
784
 * @method string getAppId()
785
 * @method $this withAppId($value)
786
 * @method string getChannelId()
787
 * @method $this withChannelId($value)
788
 */
789
class DescribeUserInfoInChannel extends Rpc
790
{
791
}
792
793
/**
794
 * @method string getShowLog()
795
 * @method $this withShowLog($value)
796
 * @method string getOwnerId()
797
 * @method $this withOwnerId($value)
798
 * @method string getAppId()
799
 * @method $this withAppId($value)
800
 * @method string getRuleId()
801
 * @method $this withRuleId($value)
802
 */
803
class DisableMAURule extends Rpc
804
{
805
}
806
807
/**
808
 * @method string getShowLog()
809
 * @method $this withShowLog($value)
810
 * @method string getOwnerId()
811
 * @method $this withOwnerId($value)
812
 * @method string getAppId()
813
 * @method $this withAppId($value)
814
 * @method string getRuleId()
815
 * @method $this withRuleId($value)
816
 */
817
class DisableMPURule extends Rpc
818
{
819
}
820
821
/**
822
 * @method string getShowLog()
823
 * @method $this withShowLog($value)
824
 * @method string getOwnerId()
825
 * @method $this withOwnerId($value)
826
 * @method string getAppId()
827
 * @method $this withAppId($value)
828
 * @method string getRuleId()
829
 * @method $this withRuleId($value)
830
 */
831
class EnableMAURule extends Rpc
832
{
833
}
834
835
/**
836
 * @method string getShowLog()
837
 * @method $this withShowLog($value)
838
 * @method string getOwnerId()
839
 * @method $this withOwnerId($value)
840
 * @method string getAppId()
841
 * @method $this withAppId($value)
842
 * @method string getRuleId()
843
 * @method $this withRuleId($value)
844
 */
845
class EnableMPURule extends Rpc
846
{
847
}
848
849
/**
850
 * @method string getTaskId()
851
 * @method $this withTaskId($value)
852
 * @method string getShowLog()
853
 * @method $this withShowLog($value)
854
 * @method string getOwnerId()
855
 * @method $this withOwnerId($value)
856
 * @method string getAppId()
857
 * @method $this withAppId($value)
858
 */
859
class GetMPUTaskStatus extends Rpc
860
{
861
}
862
863
/**
864
 * @method string getAppName()
865
 * @method $this withAppName($value)
866
 * @method string getShowLog()
867
 * @method $this withShowLog($value)
868
 * @method string getOwnerId()
869
 * @method $this withOwnerId($value)
870
 * @method string getAppId()
871
 * @method $this withAppId($value)
872
 */
873
class ModifyApp extends Rpc
874
{
875
}
876
877
/**
878
 * @method string getStartTime()
879
 * @method $this withStartTime($value)
880
 * @method string getType()
881
 * @method $this withType($value)
882
 * @method string getConferenceId()
883
 * @method $this withConferenceId($value)
884
 * @method string getConferenceName()
885
 * @method $this withConferenceName($value)
886
 * @method string getShowLog()
887
 * @method $this withShowLog($value)
888
 * @method string getOwnerId()
889
 * @method $this withOwnerId($value)
890
 * @method string getAppId()
891
 * @method $this withAppId($value)
892
 * @method string getRemindNotice()
893
 * @method $this withRemindNotice($value)
894
 */
895
class ModifyConference extends Rpc
896
{
897
}
898
899
/**
900
 * @method string getLayoutId()
901
 * @method $this withLayoutId($value)
902
 * @method array getPanes()
903
 * @method string getShowLog()
904
 * @method $this withShowLog($value)
905
 * @method string getOwnerId()
906
 * @method $this withOwnerId($value)
907
 * @method string getAppId()
908
 * @method $this withAppId($value)
909
 * @method string getName()
910
 * @method $this withName($value)
911
 * @method string getAudioMixCount()
912
 * @method $this withAudioMixCount($value)
913
 */
914
class ModifyMPULayout extends Rpc
915
{
916
917
    /**
918
     * @param array $panes
919
     *
920
     * @return $this
921
     */
922
	public function withPanes(array $panes)
923
	{
924
	    $this->data['Panes'] = $panes;
925
		foreach ($panes as $depth1 => $depth1Value) {
926
			if(isset($depth1Value['PaneId'])){
927
				$this->options['query']['Panes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
928
			}
929
			if(isset($depth1Value['MajorPane'])){
930
				$this->options['query']['Panes.' . ($depth1 + 1) . '.MajorPane'] = $depth1Value['MajorPane'];
931
			}
932
			if(isset($depth1Value['X'])){
933
				$this->options['query']['Panes.' . ($depth1 + 1) . '.X'] = $depth1Value['X'];
934
			}
935
			if(isset($depth1Value['Y'])){
936
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Y'] = $depth1Value['Y'];
937
			}
938
			if(isset($depth1Value['Width'])){
939
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Width'] = $depth1Value['Width'];
940
			}
941
			if(isset($depth1Value['Height'])){
942
				$this->options['query']['Panes.' . ($depth1 + 1) . '.Height'] = $depth1Value['Height'];
943
			}
944
			if(isset($depth1Value['ZOrder'])){
945
				$this->options['query']['Panes.' . ($depth1 + 1) . '.ZOrder'] = $depth1Value['ZOrder'];
946
			}
947
		}
948
949
		return $this;
950
    }
951
}
952
953
/**
954
 * @method array getParticipantIds()
955
 * @method string getConferenceId()
956
 * @method $this withConferenceId($value)
957
 * @method string getShowLog()
958
 * @method $this withShowLog($value)
959
 * @method string getOwnerId()
960
 * @method $this withOwnerId($value)
961
 * @method string getAppId()
962
 * @method $this withAppId($value)
963
 */
964
class MuteAudio extends Rpc
965
{
966
967
    /**
968
     * @param array $participantIds
969
     *
970
     * @return $this
971
     */
972
	public function withParticipantIds(array $participantIds)
973
	{
974
	    $this->data['ParticipantIds'] = $participantIds;
975
		foreach ($participantIds as $i => $iValue) {
976
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
977
		}
978
979
		return $this;
980
    }
981
}
982
983
/**
984
 * @method string getConferenceId()
985
 * @method $this withConferenceId($value)
986
 * @method string getShowLog()
987
 * @method $this withShowLog($value)
988
 * @method string getOwnerId()
989
 * @method $this withOwnerId($value)
990
 * @method string getParticipantId()
991
 * @method $this withParticipantId($value)
992
 * @method string getAppId()
993
 * @method $this withAppId($value)
994
 */
995
class MuteAudioAll extends Rpc
996
{
997
}
998
999
/**
1000
 * @method string getTraceId()
1001
 * @method $this withTraceId($value)
1002
 * @method string getContent()
1003
 * @method $this withContent($value)
1004
 * @method string getEvent()
1005
 * @method $this withEvent($value)
1006
 * @method string getShowLog()
1007
 * @method $this withShowLog($value)
1008
 * @method string getOwnerId()
1009
 * @method $this withOwnerId($value)
1010
 * @method string getContentType()
1011
 * @method $this withContentType($value)
1012
 * @method string getBizId()
1013
 * @method $this withBizId($value)
1014
 */
1015
class ReceiveNotify extends Rpc
1016
{
1017
}
1018
1019
/**
1020
 * @method array getParticipantIds()
1021
 * @method string getConferenceId()
1022
 * @method $this withConferenceId($value)
1023
 * @method string getShowLog()
1024
 * @method $this withShowLog($value)
1025
 * @method string getOwnerId()
1026
 * @method $this withOwnerId($value)
1027
 * @method string getAppId()
1028
 * @method $this withAppId($value)
1029
 */
1030
class RemoveParticipants extends Rpc
1031
{
1032
1033
    /**
1034
     * @param array $participantIds
1035
     *
1036
     * @return $this
1037
     */
1038
	public function withParticipantIds(array $participantIds)
1039
	{
1040
	    $this->data['ParticipantIds'] = $participantIds;
1041
		foreach ($participantIds as $i => $iValue) {
1042
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
1043
		}
1044
1045
		return $this;
1046
    }
1047
}
1048
1049
/**
1050
 * @method array getTerminalIds()
1051
 * @method string getShowLog()
1052
 * @method $this withShowLog($value)
1053
 * @method string getOwnerId()
1054
 * @method $this withOwnerId($value)
1055
 * @method string getAppId()
1056
 * @method $this withAppId($value)
1057
 * @method string getChannelId()
1058
 * @method $this withChannelId($value)
1059
 */
1060
class RemoveTerminals extends Rpc
1061
{
1062
1063
    /**
1064
     * @param array $terminalIds
1065
     *
1066
     * @return $this
1067
     */
1068
	public function withTerminalIds(array $terminalIds)
1069
	{
1070
	    $this->data['TerminalIds'] = $terminalIds;
1071
		foreach ($terminalIds as $i => $iValue) {
1072
			$this->options['query']['TerminalIds.' . ($i + 1)] = $iValue;
1073
		}
1074
1075
		return $this;
1076
    }
1077
}
1078
1079
/**
1080
 * @method string getStartTime()
1081
 * @method $this withStartTime($value)
1082
 * @method string getMaxUserNum()
1083
 * @method $this withMaxUserNum($value)
1084
 * @method string getDuration()
1085
 * @method $this withDuration($value)
1086
 * @method string getShowLog()
1087
 * @method $this withShowLog($value)
1088
 * @method string getTopics()
1089
 * @method $this withTopics($value)
1090
 * @method string getOwnerId()
1091
 * @method $this withOwnerId($value)
1092
 * @method string getPriority()
1093
 * @method $this withPriority($value)
1094
 * @method string getAppId()
1095
 * @method $this withAppId($value)
1096
 * @method string getChannelId()
1097
 * @method $this withChannelId($value)
1098
 */
1099
class SetChannelProperty extends Rpc
1100
{
1101
}
1102
1103
/**
1104
 * @method string getPayloadType()
1105
 * @method $this withPayloadType($value)
1106
 * @method array getUserPanes()
1107
 * @method string getRtpExtInfo()
1108
 * @method $this withRtpExtInfo($value)
1109
 * @method string getBackgroundColor()
1110
 * @method $this withBackgroundColor($value)
1111
 * @method string getCropMode()
1112
 * @method $this withCropMode($value)
1113
 * @method string getReportVad()
1114
 * @method $this withReportVad($value)
1115
 * @method string getTaskProfile()
1116
 * @method $this withTaskProfile($value)
1117
 * @method array getLayoutIds()
1118
 * @method string getTaskId()
1119
 * @method $this withTaskId($value)
1120
 * @method string getShowLog()
1121
 * @method $this withShowLog($value)
1122
 * @method string getStreamURL()
1123
 * @method $this withStreamURL($value)
1124
 * @method string getVadInterval()
1125
 * @method $this withVadInterval($value)
1126
 * @method string getOwnerId()
1127
 * @method $this withOwnerId($value)
1128
 * @method array getSubSpecUsers()
1129
 * @method string getAppId()
1130
 * @method $this withAppId($value)
1131
 * @method string getTimeStampRef()
1132
 * @method $this withTimeStampRef($value)
1133
 * @method string getMediaEncode()
1134
 * @method $this withMediaEncode($value)
1135
 * @method string getChannelId()
1136
 * @method $this withChannelId($value)
1137
 */
1138
class StartMPUTask extends Rpc
1139
{
1140
1141
    /**
1142
     * @param array $userPanes
1143
     *
1144
     * @return $this
1145
     */
1146
	public function withUserPanes(array $userPanes)
1147
	{
1148
	    $this->data['UserPanes'] = $userPanes;
1149
		foreach ($userPanes as $depth1 => $depth1Value) {
1150
			if(isset($depth1Value['PaneId'])){
1151
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1152
			}
1153
			if(isset($depth1Value['UserId'])){
1154
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1155
			}
1156
			if(isset($depth1Value['SourceType'])){
1157
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1158
			}
1159
		}
1160
1161
		return $this;
1162
    }
1163
1164
    /**
1165
     * @param array $layoutIds
1166
     *
1167
     * @return $this
1168
     */
1169
	public function withLayoutIds(array $layoutIds)
1170
	{
1171
	    $this->data['LayoutIds'] = $layoutIds;
1172
		foreach ($layoutIds as $i => $iValue) {
1173
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
1174
		}
1175
1176
		return $this;
1177
    }
1178
1179
    /**
1180
     * @param array $subSpecUsers
1181
     *
1182
     * @return $this
1183
     */
1184
	public function withSubSpecUsers(array $subSpecUsers)
1185
	{
1186
	    $this->data['SubSpecUsers'] = $subSpecUsers;
1187
		foreach ($subSpecUsers as $i => $iValue) {
1188
			$this->options['query']['SubSpecUsers.' . ($i + 1)] = $iValue;
1189
		}
1190
1191
		return $this;
1192
    }
1193
}
1194
1195
/**
1196
 * @method array getUserPanes()
1197
 * @method string getTaskId()
1198
 * @method $this withTaskId($value)
1199
 * @method string getShowLog()
1200
 * @method $this withShowLog($value)
1201
 * @method string getOwnerId()
1202
 * @method $this withOwnerId($value)
1203
 * @method string getTemplateId()
1204
 * @method $this withTemplateId($value)
1205
 * @method array getSubSpecUsers()
1206
 * @method string getAppId()
1207
 * @method $this withAppId($value)
1208
 * @method string getChannelId()
1209
 * @method $this withChannelId($value)
1210
 */
1211
class StartRecordTask extends Rpc
1212
{
1213
1214
    /**
1215
     * @param array $userPanes
1216
     *
1217
     * @return $this
1218
     */
1219
	public function withUserPanes(array $userPanes)
1220
	{
1221
	    $this->data['UserPanes'] = $userPanes;
1222
		foreach ($userPanes as $depth1 => $depth1Value) {
1223
			if(isset($depth1Value['PaneId'])){
1224
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1225
			}
1226
			if(isset($depth1Value['UserId'])){
1227
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1228
			}
1229
			if(isset($depth1Value['SourceType'])){
1230
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1231
			}
1232
		}
1233
1234
		return $this;
1235
    }
1236
1237
    /**
1238
     * @param array $subSpecUsers
1239
     *
1240
     * @return $this
1241
     */
1242
	public function withSubSpecUsers(array $subSpecUsers)
1243
	{
1244
	    $this->data['SubSpecUsers'] = $subSpecUsers;
1245
		foreach ($subSpecUsers as $i => $iValue) {
1246
			$this->options['query']['SubSpecUsers.' . ($i + 1)] = $iValue;
1247
		}
1248
1249
		return $this;
1250
    }
1251
}
1252
1253
/**
1254
 * @method string getUserId()
1255
 * @method $this withUserId($value)
1256
 * @method string getShowLog()
1257
 * @method $this withShowLog($value)
1258
 * @method string getOwnerId()
1259
 * @method $this withOwnerId($value)
1260
 * @method string getAppId()
1261
 * @method $this withAppId($value)
1262
 * @method string getChannelId()
1263
 * @method $this withChannelId($value)
1264
 */
1265
class StopChannelUserPublish extends Rpc
1266
{
1267
}
1268
1269
/**
1270
 * @method string getTaskId()
1271
 * @method $this withTaskId($value)
1272
 * @method string getShowLog()
1273
 * @method $this withShowLog($value)
1274
 * @method string getOwnerId()
1275
 * @method $this withOwnerId($value)
1276
 * @method string getAppId()
1277
 * @method $this withAppId($value)
1278
 */
1279
class StopMPUTask extends Rpc
1280
{
1281
}
1282
1283
/**
1284
 * @method string getTaskId()
1285
 * @method $this withTaskId($value)
1286
 * @method string getShowLog()
1287
 * @method $this withShowLog($value)
1288
 * @method string getOwnerId()
1289
 * @method $this withOwnerId($value)
1290
 * @method string getAppId()
1291
 * @method $this withAppId($value)
1292
 */
1293
class StopRecordTask extends Rpc
1294
{
1295
}
1296
1297
/**
1298
 * @method array getParticipantIds()
1299
 * @method string getConferenceId()
1300
 * @method $this withConferenceId($value)
1301
 * @method string getShowLog()
1302
 * @method $this withShowLog($value)
1303
 * @method string getOwnerId()
1304
 * @method $this withOwnerId($value)
1305
 * @method string getAppId()
1306
 * @method $this withAppId($value)
1307
 */
1308
class UnmuteAudio extends Rpc
1309
{
1310
1311
    /**
1312
     * @param array $participantIds
1313
     *
1314
     * @return $this
1315
     */
1316
	public function withParticipantIds(array $participantIds)
1317
	{
1318
	    $this->data['ParticipantIds'] = $participantIds;
1319
		foreach ($participantIds as $i => $iValue) {
1320
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
1321
		}
1322
1323
		return $this;
1324
    }
1325
}
1326
1327
/**
1328
 * @method string getConferenceId()
1329
 * @method $this withConferenceId($value)
1330
 * @method string getShowLog()
1331
 * @method $this withShowLog($value)
1332
 * @method string getOwnerId()
1333
 * @method $this withOwnerId($value)
1334
 * @method string getParticipantId()
1335
 * @method $this withParticipantId($value)
1336
 * @method string getAppId()
1337
 * @method $this withAppId($value)
1338
 */
1339
class UnmuteAudioAll extends Rpc
1340
{
1341
}
1342
1343
/**
1344
 * @method string getShowLog()
1345
 * @method $this withShowLog($value)
1346
 * @method string getOwnerId()
1347
 * @method $this withOwnerId($value)
1348
 * @method string getNonce()
1349
 * @method $this withNonce($value)
1350
 * @method string getAppId()
1351
 * @method $this withAppId($value)
1352
 * @method string getChannelId()
1353
 * @method $this withChannelId($value)
1354
 */
1355
class UpdateChannel extends Rpc
1356
{
1357
}
1358
1359
/**
1360
 * @method array getUserPanes()
1361
 * @method string getBackgroundColor()
1362
 * @method $this withBackgroundColor($value)
1363
 * @method string getCropMode()
1364
 * @method $this withCropMode($value)
1365
 * @method array getLayoutIds()
1366
 * @method string getTaskId()
1367
 * @method $this withTaskId($value)
1368
 * @method string getShowLog()
1369
 * @method $this withShowLog($value)
1370
 * @method string getOwnerId()
1371
 * @method $this withOwnerId($value)
1372
 * @method string getAppId()
1373
 * @method $this withAppId($value)
1374
 */
1375
class UpdateMPULayout extends Rpc
1376
{
1377
1378
    /**
1379
     * @param array $userPanes
1380
     *
1381
     * @return $this
1382
     */
1383
	public function withUserPanes(array $userPanes)
1384
	{
1385
	    $this->data['UserPanes'] = $userPanes;
1386
		foreach ($userPanes as $depth1 => $depth1Value) {
1387
			if(isset($depth1Value['PaneId'])){
1388
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
1389
			}
1390
			if(isset($depth1Value['UserId'])){
1391
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1392
			}
1393
			if(isset($depth1Value['SourceType'])){
1394
				$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
1395
			}
1396
		}
1397
1398
		return $this;
1399
    }
1400
1401
    /**
1402
     * @param array $layoutIds
1403
     *
1404
     * @return $this
1405
     */
1406
	public function withLayoutIds(array $layoutIds)
1407
	{
1408
	    $this->data['LayoutIds'] = $layoutIds;
1409
		foreach ($layoutIds as $i => $iValue) {
1410
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
1411
		}
1412
1413
		return $this;
1414
    }
1415
}
1416
1417
/**
1418
 * @method array getFormats()
1419
 * @method string getOssFilePrefix()
1420
 * @method $this withOssFilePrefix($value)
1421
 * @method string getBackgroundColor()
1422
 * @method $this withBackgroundColor($value)
1423
 * @method string getTaskProfile()
1424
 * @method $this withTaskProfile($value)
1425
 * @method array getLayoutIds()
1426
 * @method string getShowLog()
1427
 * @method $this withShowLog($value)
1428
 * @method string getOssBucket()
1429
 * @method $this withOssBucket($value)
1430
 * @method string getMnsQueue()
1431
 * @method $this withMnsQueue($value)
1432
 * @method string getFileSplitInterval()
1433
 * @method $this withFileSplitInterval($value)
1434
 * @method string getOwnerId()
1435
 * @method $this withOwnerId($value)
1436
 * @method string getTemplateId()
1437
 * @method $this withTemplateId($value)
1438
 * @method string getAppId()
1439
 * @method $this withAppId($value)
1440
 * @method string getName()
1441
 * @method $this withName($value)
1442
 * @method string getMediaEncode()
1443
 * @method $this withMediaEncode($value)
1444
 */
1445
class UpdateRecordTemplate extends Rpc
1446
{
1447
1448
    /**
1449
     * @param array $formats
1450
     *
1451
     * @return $this
1452
     */
1453
	public function withFormats(array $formats)
1454
	{
1455
	    $this->data['Formats'] = $formats;
1456
		foreach ($formats as $i => $iValue) {
1457
			$this->options['query']['Formats.' . ($i + 1)] = $iValue;
1458
		}
1459
1460
		return $this;
1461
    }
1462
1463
    /**
1464
     * @param array $layoutIds
1465
     *
1466
     * @return $this
1467
     */
1468
	public function withLayoutIds(array $layoutIds)
1469
	{
1470
	    $this->data['LayoutIds'] = $layoutIds;
1471
		foreach ($layoutIds as $i => $iValue) {
1472
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
1473
		}
1474
1475
		return $this;
1476
    }
1477
}
1478