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 ( c89229...d79512 )
by
unknown
06:28
created

UpdateMPULayout   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 11
dl 0
loc 33
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withLayoutIds() 0 8 2
A withUserPanes() 0 10 2
1
<?php
2
3
namespace AlibabaCloud\Rtc\V20180111;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateChannel createChannel(array $options = [])
9
 * @method CreateConference createConference(array $options = [])
10
 * @method CreateTemplate createTemplate(array $options = [])
11
 * @method DeleteChannel deleteChannel(array $options = [])
12
 * @method DeleteConference deleteConference(array $options = [])
13
 * @method DeleteTemplate deleteTemplate(array $options = [])
14
 * @method DescribeApps describeApps(array $options = [])
15
 * @method DescribeChannelParticipants describeChannelParticipants(array $options = [])
16
 * @method DescribeConferenceAuthInfo describeConferenceAuthInfo(array $options = [])
17
 * @method DescribeRtcChannelCntData describeRtcChannelCntData(array $options = [])
18
 * @method DescribeRtcChannelList describeRtcChannelList(array $options = [])
19
 * @method DescribeRtcChannelMetric describeRtcChannelMetric(array $options = [])
20
 * @method DescribeRtcChannelUserList describeRtcChannelUserList(array $options = [])
21
 * @method DescribeRtcDurationData describeRtcDurationData(array $options = [])
22
 * @method DescribeRtcPeakChannelCntData describeRtcPeakChannelCntData(array $options = [])
23
 * @method DescribeRtcPeakUserCntData describeRtcPeakUserCntData(array $options = [])
24
 * @method DescribeRtcUserCntData describeRtcUserCntData(array $options = [])
25
 * @method GetMPUTaskStatus getMPUTaskStatus(array $options = [])
26
 * @method GetTaskStatus getTaskStatus(array $options = [])
27
 * @method ModifyApp modifyApp(array $options = [])
28
 * @method ModifyConference modifyConference(array $options = [])
29
 * @method MuteAudio muteAudio(array $options = [])
30
 * @method MuteAudioAll muteAudioAll(array $options = [])
31
 * @method ReceiveNotify receiveNotify(array $options = [])
32
 * @method RemoveParticipants removeParticipants(array $options = [])
33
 * @method RemoveTerminals removeTerminals(array $options = [])
34
 * @method StartMPUTask startMPUTask(array $options = [])
35
 * @method StartTask startTask(array $options = [])
36
 * @method StopMPUTask stopMPUTask(array $options = [])
37
 * @method StopTask stopTask(array $options = [])
38
 * @method UnmuteAudio unmuteAudio(array $options = [])
39
 * @method UnmuteAudioAll unmuteAudioAll(array $options = [])
40
 * @method UpdateChannel updateChannel(array $options = [])
41
 * @method UpdateMPULayout updateMPULayout(array $options = [])
42
 */
43
class RtcApiResolver extends ApiResolver
44
{
45
}
46
47
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
48
{
49
    /** @var string */
50
    public $product = 'rtc';
51
52
    /** @var string */
53
    public $version = '2018-01-11';
54
55
    /** @var string */
56
    public $method = 'POST';
57
}
58
59
/**
60
 * @method string getOwnerId()
61
 * @method $this withOwnerId($value)
62
 * @method string getAppId()
63
 * @method $this withAppId($value)
64
 * @method string getChannelId()
65
 * @method $this withChannelId($value)
66
 */
67
class CreateChannel extends Rpc
68
{
69
}
70
71
/**
72
 * @method string getClientToken()
73
 * @method $this withClientToken($value)
74
 * @method string getStartTime()
75
 * @method $this withStartTime($value)
76
 * @method string getType()
77
 * @method $this withType($value)
78
 * @method string getConferenceName()
79
 * @method $this withConferenceName($value)
80
 * @method string getOwnerId()
81
 * @method $this withOwnerId($value)
82
 * @method string getAppId()
83
 * @method $this withAppId($value)
84
 * @method string getRemindNotice()
85
 * @method $this withRemindNotice($value)
86
 */
87
class CreateConference extends Rpc
88
{
89
}
90
91
/**
92
 * @method string getServiceMode()
93
 * @method $this withServiceMode($value)
94
 * @method array getLiveConfig()
95
 * @method string getMediaConfig()
96
 * @method $this withMediaConfig($value)
97
 * @method string getMaxMixStreamCount()
98
 * @method $this withMaxMixStreamCount($value)
99
 * @method array getRecordConfig()
100
 * @method string getOwnerId()
101
 * @method $this withOwnerId($value)
102
 * @method array getLayOut()
103
 * @method string getAppId()
104
 * @method $this withAppId($value)
105
 * @method string getCallBack()
106
 * @method $this withCallBack($value)
107
 * @method string getMixMode()
108
 * @method $this withMixMode($value)
109
 */
110
class CreateTemplate extends Rpc
111
{
112
113
    /**
114
     * @param array $liveConfig
115
     *
116
     * @return $this
117
     */
118
	public function withLiveConfig(array $liveConfig)
119
	{
120
	    $this->data['LiveConfig'] = $liveConfig;
121
		foreach ($liveConfig as $depth1 => $depth1Value) {
122
			$this->options['query']['LiveConfig.' . ($depth1 + 1) . '.DomainName'] = $depth1Value['DomainName'];
123
			$this->options['query']['LiveConfig.' . ($depth1 + 1) . '.AppName'] = $depth1Value['AppName'];
124
		}
125
126
		return $this;
127
    }
128
129
    /**
130
     * @param array $recordConfig
131
     *
132
     * @return $this
133
     */
134
	public function withRecordConfig(array $recordConfig)
135
	{
136
	    $this->data['RecordConfig'] = $recordConfig;
137
		foreach ($recordConfig as $depth1 => $depth1Value) {
138
			$this->options['query']['RecordConfig.' . ($depth1 + 1) . '.StorageType'] = $depth1Value['StorageType'];
139
			$this->options['query']['RecordConfig.' . ($depth1 + 1) . '.FileFormat'] = $depth1Value['FileFormat'];
140
			$this->options['query']['RecordConfig.' . ($depth1 + 1) . '.OssEndPoint'] = $depth1Value['OssEndPoint'];
141
			$this->options['query']['RecordConfig.' . ($depth1 + 1) . '.OssBucket'] = $depth1Value['OssBucket'];
142
			$this->options['query']['RecordConfig.' . ($depth1 + 1) . '.VodTransCodeGroupId'] = $depth1Value['VodTransCodeGroupId'];
143
		}
144
145
		return $this;
146
    }
147
148
    /**
149
     * @param array $layOut
150
     *
151
     * @return $this
152
     */
153
	public function withLayOut(array $layOut)
154
	{
155
	    $this->data['LayOut'] = $layOut;
156
		foreach ($layOut as $depth1 => $depth1Value) {
157
			$this->options['query']['LayOut.' . ($depth1 + 1) . '.Color'] = $depth1Value['Color'];
158
			$this->options['query']['LayOut.' . ($depth1 + 1) . '.CutMode'] = $depth1Value['CutMode'];
159
			$this->options['query']['LayOut.' . ($depth1 + 1) . '.LayOutId'] = $depth1Value['LayOutId'];
160
		}
161
162
		return $this;
163
    }
164
}
165
166
/**
167
 * @method string getOwnerId()
168
 * @method $this withOwnerId($value)
169
 * @method string getAppId()
170
 * @method $this withAppId($value)
171
 * @method string getChannelId()
172
 * @method $this withChannelId($value)
173
 */
174
class DeleteChannel extends Rpc
175
{
176
}
177
178
/**
179
 * @method string getConferenceId()
180
 * @method $this withConferenceId($value)
181
 * @method string getOwnerId()
182
 * @method $this withOwnerId($value)
183
 * @method string getAppId()
184
 * @method $this withAppId($value)
185
 */
186
class DeleteConference extends Rpc
187
{
188
}
189
190
/**
191
 * @method string getOwnerId()
192
 * @method $this withOwnerId($value)
193
 * @method string getTemplateId()
194
 * @method $this withTemplateId($value)
195
 * @method string getAppId()
196
 * @method $this withAppId($value)
197
 */
198
class DeleteTemplate extends Rpc
199
{
200
}
201
202
/**
203
 * @method string getPageNum()
204
 * @method $this withPageNum($value)
205
 * @method string getPageSize()
206
 * @method $this withPageSize($value)
207
 * @method string getOrder()
208
 * @method $this withOrder($value)
209
 * @method string getOwnerId()
210
 * @method $this withOwnerId($value)
211
 * @method string getAppId()
212
 * @method $this withAppId($value)
213
 * @method string getStatus()
214
 * @method $this withStatus($value)
215
 */
216
class DescribeApps extends Rpc
217
{
218
}
219
220
/**
221
 * @method string getPageNum()
222
 * @method $this withPageNum($value)
223
 * @method string getPageSize()
224
 * @method $this withPageSize($value)
225
 * @method string getOrder()
226
 * @method $this withOrder($value)
227
 * @method string getOwnerId()
228
 * @method $this withOwnerId($value)
229
 * @method string getAppId()
230
 * @method $this withAppId($value)
231
 * @method string getChannelId()
232
 * @method $this withChannelId($value)
233
 */
234
class DescribeChannelParticipants extends Rpc
235
{
236
}
237
238
/**
239
 * @method string getOwnerId()
240
 * @method $this withOwnerId($value)
241
 * @method string getConferenceId()
242
 * @method $this withConferenceId($value)
243
 * @method string getAppId()
244
 * @method $this withAppId($value)
245
 */
246
class DescribeConferenceAuthInfo extends Rpc
247
{
248
}
249
250
/**
251
 * @method string getStartTime()
252
 * @method $this withStartTime($value)
253
 * @method string getServiceArea()
254
 * @method $this withServiceArea($value)
255
 * @method string getEndTime()
256
 * @method $this withEndTime($value)
257
 * @method string getOwnerId()
258
 * @method $this withOwnerId($value)
259
 * @method string getAppId()
260
 * @method $this withAppId($value)
261
 * @method string getInterval()
262
 * @method $this withInterval($value)
263
 */
264
class DescribeRtcChannelCntData extends Rpc
265
{
266
}
267
268
/**
269
 * @method string getSortType()
270
 * @method $this withSortType($value)
271
 * @method string getUserId()
272
 * @method $this withUserId($value)
273
 * @method string getServiceArea()
274
 * @method $this withServiceArea($value)
275
 * @method string getPageSize()
276
 * @method $this withPageSize($value)
277
 * @method string getOwnerId()
278
 * @method $this withOwnerId($value)
279
 * @method string getPageNo()
280
 * @method $this withPageNo($value)
281
 * @method string getAppId()
282
 * @method $this withAppId($value)
283
 * @method string getChannelId()
284
 * @method $this withChannelId($value)
285
 * @method string getTimePoint()
286
 * @method $this withTimePoint($value)
287
 */
288
class DescribeRtcChannelList extends Rpc
289
{
290
}
291
292
/**
293
 * @method string getOwnerId()
294
 * @method $this withOwnerId($value)
295
 * @method string getAppId()
296
 * @method $this withAppId($value)
297
 * @method string getChannelId()
298
 * @method $this withChannelId($value)
299
 * @method string getTimePoint()
300
 * @method $this withTimePoint($value)
301
 */
302
class DescribeRtcChannelMetric extends Rpc
303
{
304
}
305
306
/**
307
 * @method string getPageSize()
308
 * @method $this withPageSize($value)
309
 * @method string getOwnerId()
310
 * @method $this withOwnerId($value)
311
 * @method string getPageNo()
312
 * @method $this withPageNo($value)
313
 * @method string getAppId()
314
 * @method $this withAppId($value)
315
 * @method string getChannelId()
316
 * @method $this withChannelId($value)
317
 * @method string getTimePoint()
318
 * @method $this withTimePoint($value)
319
 */
320
class DescribeRtcChannelUserList extends Rpc
321
{
322
}
323
324
/**
325
 * @method string getStartTime()
326
 * @method $this withStartTime($value)
327
 * @method string getServiceArea()
328
 * @method $this withServiceArea($value)
329
 * @method string getEndTime()
330
 * @method $this withEndTime($value)
331
 * @method string getOwnerId()
332
 * @method $this withOwnerId($value)
333
 * @method string getAppId()
334
 * @method $this withAppId($value)
335
 * @method string getInterval()
336
 * @method $this withInterval($value)
337
 */
338
class DescribeRtcDurationData extends Rpc
339
{
340
}
341
342
/**
343
 * @method string getStartTime()
344
 * @method $this withStartTime($value)
345
 * @method string getServiceArea()
346
 * @method $this withServiceArea($value)
347
 * @method string getEndTime()
348
 * @method $this withEndTime($value)
349
 * @method string getOwnerId()
350
 * @method $this withOwnerId($value)
351
 * @method string getAppId()
352
 * @method $this withAppId($value)
353
 * @method string getInterval()
354
 * @method $this withInterval($value)
355
 */
356
class DescribeRtcPeakChannelCntData extends Rpc
357
{
358
}
359
360
/**
361
 * @method string getStartTime()
362
 * @method $this withStartTime($value)
363
 * @method string getServiceArea()
364
 * @method $this withServiceArea($value)
365
 * @method string getEndTime()
366
 * @method $this withEndTime($value)
367
 * @method string getOwnerId()
368
 * @method $this withOwnerId($value)
369
 * @method string getAppId()
370
 * @method $this withAppId($value)
371
 * @method string getInterval()
372
 * @method $this withInterval($value)
373
 */
374
class DescribeRtcPeakUserCntData extends Rpc
375
{
376
}
377
378
/**
379
 * @method string getStartTime()
380
 * @method $this withStartTime($value)
381
 * @method string getServiceArea()
382
 * @method $this withServiceArea($value)
383
 * @method string getEndTime()
384
 * @method $this withEndTime($value)
385
 * @method string getOwnerId()
386
 * @method $this withOwnerId($value)
387
 * @method string getAppId()
388
 * @method $this withAppId($value)
389
 * @method string getInterval()
390
 * @method $this withInterval($value)
391
 */
392
class DescribeRtcUserCntData extends Rpc
393
{
394
}
395
396
/**
397
 * @method string getOwnerId()
398
 * @method $this withOwnerId($value)
399
 * @method string getAppId()
400
 * @method $this withAppId($value)
401
 * @method string getTaskId()
402
 * @method $this withTaskId($value)
403
 */
404
class GetMPUTaskStatus extends Rpc
405
{
406
}
407
408
/**
409
 * @method string getOwnerId()
410
 * @method $this withOwnerId($value)
411
 * @method string getAppId()
412
 * @method $this withAppId($value)
413
 * @method string getChannelId()
414
 * @method $this withChannelId($value)
415
 * @method string getTaskId()
416
 * @method $this withTaskId($value)
417
 */
418
class GetTaskStatus extends Rpc
419
{
420
}
421
422
/**
423
 * @method string getOwnerId()
424
 * @method $this withOwnerId($value)
425
 * @method string getAppName()
426
 * @method $this withAppName($value)
427
 * @method string getAppId()
428
 * @method $this withAppId($value)
429
 */
430
class ModifyApp extends Rpc
431
{
432
}
433
434
/**
435
 * @method string getStartTime()
436
 * @method $this withStartTime($value)
437
 * @method string getType()
438
 * @method $this withType($value)
439
 * @method string getConferenceId()
440
 * @method $this withConferenceId($value)
441
 * @method string getConferenceName()
442
 * @method $this withConferenceName($value)
443
 * @method string getOwnerId()
444
 * @method $this withOwnerId($value)
445
 * @method string getAppId()
446
 * @method $this withAppId($value)
447
 * @method string getRemindNotice()
448
 * @method $this withRemindNotice($value)
449
 */
450
class ModifyConference extends Rpc
451
{
452
}
453
454
/**
455
 * @method array getParticipantIds()
456
 * @method string getConferenceId()
457
 * @method $this withConferenceId($value)
458
 * @method string getOwnerId()
459
 * @method $this withOwnerId($value)
460
 * @method string getAppId()
461
 * @method $this withAppId($value)
462
 */
463
class MuteAudio extends Rpc
464
{
465
466
    /**
467
     * @param array $participantIds
468
     *
469
     * @return $this
470
     */
471
	public function withParticipantIds(array $participantIds)
472
	{
473
	    $this->data['ParticipantIds'] = $participantIds;
474
		foreach ($participantIds as $i => $iValue) {
475
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
476
		}
477
478
		return $this;
479
    }
480
}
481
482
/**
483
 * @method string getConferenceId()
484
 * @method $this withConferenceId($value)
485
 * @method string getOwnerId()
486
 * @method $this withOwnerId($value)
487
 * @method string getParticipantId()
488
 * @method $this withParticipantId($value)
489
 * @method string getAppId()
490
 * @method $this withAppId($value)
491
 */
492
class MuteAudioAll extends Rpc
493
{
494
}
495
496
/**
497
 * @method string getTraceId()
498
 * @method $this withTraceId($value)
499
 * @method string getContent()
500
 * @method $this withContent($value)
501
 * @method string getEvent()
502
 * @method $this withEvent($value)
503
 * @method string getOwnerId()
504
 * @method $this withOwnerId($value)
505
 * @method string getContentType()
506
 * @method $this withContentType($value)
507
 * @method string getBizId()
508
 * @method $this withBizId($value)
509
 */
510
class ReceiveNotify extends Rpc
511
{
512
}
513
514
/**
515
 * @method array getParticipantIds()
516
 * @method string getOwnerId()
517
 * @method $this withOwnerId($value)
518
 * @method string getConferenceId()
519
 * @method $this withConferenceId($value)
520
 * @method string getAppId()
521
 * @method $this withAppId($value)
522
 */
523
class RemoveParticipants extends Rpc
524
{
525
526
    /**
527
     * @param array $participantIds
528
     *
529
     * @return $this
530
     */
531
	public function withParticipantIds(array $participantIds)
532
	{
533
	    $this->data['ParticipantIds'] = $participantIds;
534
		foreach ($participantIds as $i => $iValue) {
535
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
536
		}
537
538
		return $this;
539
    }
540
}
541
542
/**
543
 * @method array getTerminalIds()
544
 * @method string getOwnerId()
545
 * @method $this withOwnerId($value)
546
 * @method string getAppId()
547
 * @method $this withAppId($value)
548
 * @method string getChannelId()
549
 * @method $this withChannelId($value)
550
 */
551
class RemoveTerminals extends Rpc
552
{
553
554
    /**
555
     * @param array $terminalIds
556
     *
557
     * @return $this
558
     */
559
	public function withTerminalIds(array $terminalIds)
560
	{
561
	    $this->data['TerminalIds'] = $terminalIds;
562
		foreach ($terminalIds as $i => $iValue) {
563
			$this->options['query']['TerminalIds.' . ($i + 1)] = $iValue;
564
		}
565
566
		return $this;
567
    }
568
}
569
570
/**
571
 * @method array getUserPanes()
572
 * @method string getBackgroundColor()
573
 * @method $this withBackgroundColor($value)
574
 * @method string getCropMode()
575
 * @method $this withCropMode($value)
576
 * @method string getTaskProfile()
577
 * @method $this withTaskProfile($value)
578
 * @method array getLayoutIds()
579
 * @method string getTaskId()
580
 * @method $this withTaskId($value)
581
 * @method string getStreamURL()
582
 * @method $this withStreamURL($value)
583
 * @method string getOwnerId()
584
 * @method $this withOwnerId($value)
585
 * @method array getSubSpecUsers()
586
 * @method string getAppId()
587
 * @method $this withAppId($value)
588
 * @method string getMediaEncode()
589
 * @method $this withMediaEncode($value)
590
 * @method string getChannelId()
591
 * @method $this withChannelId($value)
592
 */
593
class StartMPUTask extends Rpc
594
{
595
596
    /**
597
     * @param array $userPanes
598
     *
599
     * @return $this
600
     */
601
	public function withUserPanes(array $userPanes)
602
	{
603
	    $this->data['UserPanes'] = $userPanes;
604
		foreach ($userPanes as $depth1 => $depth1Value) {
605
			$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
606
			$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
607
			$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
608
		}
609
610
		return $this;
611
    }
612
613
    /**
614
     * @param array $layoutIds
615
     *
616
     * @return $this
617
     */
618
	public function withLayoutIds(array $layoutIds)
619
	{
620
	    $this->data['LayoutIds'] = $layoutIds;
621
		foreach ($layoutIds as $i => $iValue) {
622
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
623
		}
624
625
		return $this;
626
    }
627
628
    /**
629
     * @param array $subSpecUsers
630
     *
631
     * @return $this
632
     */
633
	public function withSubSpecUsers(array $subSpecUsers)
634
	{
635
	    $this->data['SubSpecUsers'] = $subSpecUsers;
636
		foreach ($subSpecUsers as $i => $iValue) {
637
			$this->options['query']['SubSpecUsers.' . ($i + 1)] = $iValue;
638
		}
639
640
		return $this;
641
    }
642
}
643
644
/**
645
 * @method array getMixPanes()
646
 * @method string getIdempotentId()
647
 * @method $this withIdempotentId($value)
648
 * @method string getOwnerId()
649
 * @method $this withOwnerId($value)
650
 * @method string getTemplateId()
651
 * @method $this withTemplateId($value)
652
 * @method string getAppId()
653
 * @method $this withAppId($value)
654
 * @method string getChannelId()
655
 * @method $this withChannelId($value)
656
 */
657
class StartTask extends Rpc
658
{
659
660
    /**
661
     * @param array $mixPanes
662
     *
663
     * @return $this
664
     */
665
	public function withMixPanes(array $mixPanes)
666
	{
667
	    $this->data['MixPanes'] = $mixPanes;
668
		foreach ($mixPanes as $depth1 => $depth1Value) {
669
			$this->options['query']['MixPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
670
			$this->options['query']['MixPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
671
			$this->options['query']['MixPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
672
		}
673
674
		return $this;
675
    }
676
}
677
678
/**
679
 * @method string getOwnerId()
680
 * @method $this withOwnerId($value)
681
 * @method string getAppId()
682
 * @method $this withAppId($value)
683
 * @method string getTaskId()
684
 * @method $this withTaskId($value)
685
 */
686
class StopMPUTask extends Rpc
687
{
688
}
689
690
/**
691
 * @method string getOwnerId()
692
 * @method $this withOwnerId($value)
693
 * @method string getAppId()
694
 * @method $this withAppId($value)
695
 * @method string getChannelId()
696
 * @method $this withChannelId($value)
697
 * @method string getTaskId()
698
 * @method $this withTaskId($value)
699
 */
700
class StopTask extends Rpc
701
{
702
}
703
704
/**
705
 * @method array getParticipantIds()
706
 * @method string getConferenceId()
707
 * @method $this withConferenceId($value)
708
 * @method string getOwnerId()
709
 * @method $this withOwnerId($value)
710
 * @method string getAppId()
711
 * @method $this withAppId($value)
712
 */
713
class UnmuteAudio extends Rpc
714
{
715
716
    /**
717
     * @param array $participantIds
718
     *
719
     * @return $this
720
     */
721
	public function withParticipantIds(array $participantIds)
722
	{
723
	    $this->data['ParticipantIds'] = $participantIds;
724
		foreach ($participantIds as $i => $iValue) {
725
			$this->options['query']['ParticipantIds.' . ($i + 1)] = $iValue;
726
		}
727
728
		return $this;
729
    }
730
}
731
732
/**
733
 * @method string getConferenceId()
734
 * @method $this withConferenceId($value)
735
 * @method string getOwnerId()
736
 * @method $this withOwnerId($value)
737
 * @method string getParticipantId()
738
 * @method $this withParticipantId($value)
739
 * @method string getAppId()
740
 * @method $this withAppId($value)
741
 */
742
class UnmuteAudioAll extends Rpc
743
{
744
}
745
746
/**
747
 * @method string getOwnerId()
748
 * @method $this withOwnerId($value)
749
 * @method string getNonce()
750
 * @method $this withNonce($value)
751
 * @method string getAppId()
752
 * @method $this withAppId($value)
753
 * @method string getChannelId()
754
 * @method $this withChannelId($value)
755
 */
756
class UpdateChannel extends Rpc
757
{
758
}
759
760
/**
761
 * @method array getUserPanes()
762
 * @method string getBackgroundColor()
763
 * @method $this withBackgroundColor($value)
764
 * @method string getCropMode()
765
 * @method $this withCropMode($value)
766
 * @method array getLayoutIds()
767
 * @method string getTaskId()
768
 * @method $this withTaskId($value)
769
 * @method string getOwnerId()
770
 * @method $this withOwnerId($value)
771
 * @method string getAppId()
772
 * @method $this withAppId($value)
773
 */
774
class UpdateMPULayout extends Rpc
775
{
776
777
    /**
778
     * @param array $userPanes
779
     *
780
     * @return $this
781
     */
782
	public function withUserPanes(array $userPanes)
783
	{
784
	    $this->data['UserPanes'] = $userPanes;
785
		foreach ($userPanes as $depth1 => $depth1Value) {
786
			$this->options['query']['UserPanes.' . ($depth1 + 1) . '.PaneId'] = $depth1Value['PaneId'];
787
			$this->options['query']['UserPanes.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
788
			$this->options['query']['UserPanes.' . ($depth1 + 1) . '.SourceType'] = $depth1Value['SourceType'];
789
		}
790
791
		return $this;
792
    }
793
794
    /**
795
     * @param array $layoutIds
796
     *
797
     * @return $this
798
     */
799
	public function withLayoutIds(array $layoutIds)
800
	{
801
	    $this->data['LayoutIds'] = $layoutIds;
802
		foreach ($layoutIds as $i => $iValue) {
803
			$this->options['query']['LayoutIds.' . ($i + 1)] = $iValue;
804
		}
805
806
		return $this;
807
    }
808
}
809