velir_kaltura-ruby 0.2.2 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2080 @@
1
+
2
+
3
+ module Kaltura
4
+ module Service
5
+ class AccessControlService < KalturaServiceBase
6
+ def initialize(client)
7
+ super(client)
8
+ end
9
+
10
+ def add(access_control)
11
+ kparams = {}
12
+ client.add_param(kparams, 'accessControl', access_control);
13
+ client.queue_service_action_call('accessControl', 'add', kparams);
14
+ if (client.is_multirequest)
15
+ return nil;
16
+ end
17
+ return client.do_queue();
18
+ end
19
+
20
+ def get(id)
21
+ kparams = {}
22
+ client.add_param(kparams, 'id', id);
23
+ client.queue_service_action_call('accessControl', 'get', kparams);
24
+ if (client.is_multirequest)
25
+ return nil;
26
+ end
27
+ return client.do_queue();
28
+ end
29
+
30
+ def update(id, access_control)
31
+ kparams = {}
32
+ client.add_param(kparams, 'id', id);
33
+ client.add_param(kparams, 'accessControl', access_control);
34
+ client.queue_service_action_call('accessControl', 'update', kparams);
35
+ if (client.is_multirequest)
36
+ return nil;
37
+ end
38
+ return client.do_queue();
39
+ end
40
+
41
+ def delete(id)
42
+ kparams = {}
43
+ client.add_param(kparams, 'id', id);
44
+ client.queue_service_action_call('accessControl', 'delete', kparams);
45
+ if (client.is_multirequest)
46
+ return nil;
47
+ end
48
+ return client.do_queue();
49
+ end
50
+
51
+ def list(filter=nil, pager=nil)
52
+ kparams = {}
53
+ client.add_param(kparams, 'filter', filter);
54
+ client.add_param(kparams, 'pager', pager);
55
+ client.queue_service_action_call('accessControl', 'list', kparams);
56
+ if (client.is_multirequest)
57
+ return nil;
58
+ end
59
+ return client.do_queue();
60
+ end
61
+ end #class AccessControlService
62
+
63
+ class AdminUserService < KalturaServiceBase
64
+ def initialize(client)
65
+ super(client)
66
+ end
67
+
68
+ def update_password(email, password, new_email='', new_password='')
69
+ kparams = {}
70
+ client.add_param(kparams, 'email', email);
71
+ client.add_param(kparams, 'password', password);
72
+ client.add_param(kparams, 'newEmail', new_email);
73
+ client.add_param(kparams, 'newPassword', new_password);
74
+ client.queue_service_action_call('adminUser', 'updatePassword', kparams);
75
+ if (client.is_multirequest)
76
+ return nil;
77
+ end
78
+ return client.do_queue();
79
+ end
80
+
81
+ def reset_password(email)
82
+ kparams = {}
83
+ client.add_param(kparams, 'email', email);
84
+ client.queue_service_action_call('adminUser', 'resetPassword', kparams);
85
+ if (client.is_multirequest)
86
+ return nil;
87
+ end
88
+ return client.do_queue();
89
+ end
90
+
91
+ def login(email, password)
92
+ kparams = {}
93
+ client.add_param(kparams, 'email', email);
94
+ client.add_param(kparams, 'password', password);
95
+ client.queue_service_action_call('adminUser', 'login', kparams);
96
+ if (client.is_multirequest)
97
+ return nil;
98
+ end
99
+ return client.do_queue();
100
+ end
101
+ end #class AdminUserService
102
+
103
+ class BaseEntryService < KalturaServiceBase
104
+ def initialize(client)
105
+ super(client)
106
+ end
107
+
108
+ def add_from_uploaded_file(entry, upload_token_id, type=-1)
109
+ kparams = {}
110
+ client.add_param(kparams, 'entry', entry);
111
+ client.add_param(kparams, 'uploadTokenId', upload_token_id);
112
+ client.add_param(kparams, 'type', type);
113
+ client.queue_service_action_call('baseEntry', 'addFromUploadedFile', kparams);
114
+ if (client.is_multirequest)
115
+ return nil;
116
+ end
117
+ return client.do_queue();
118
+ end
119
+
120
+ def get(entry_id, version=-1)
121
+ kparams = {}
122
+ client.add_param(kparams, 'entryId', entry_id);
123
+ client.add_param(kparams, 'version', version);
124
+ client.queue_service_action_call('baseEntry', 'get', kparams);
125
+ if (client.is_multirequest)
126
+ return nil;
127
+ end
128
+ return client.do_queue();
129
+ end
130
+
131
+ def update(entry_id, base_entry)
132
+ kparams = {}
133
+ client.add_param(kparams, 'entryId', entry_id);
134
+ client.add_param(kparams, 'baseEntry', base_entry);
135
+ client.queue_service_action_call('baseEntry', 'update', kparams);
136
+ if (client.is_multirequest)
137
+ return nil;
138
+ end
139
+ return client.do_queue();
140
+ end
141
+
142
+ def get_by_ids(entry_ids)
143
+ kparams = {}
144
+ client.add_param(kparams, 'entryIds', entry_ids);
145
+ client.queue_service_action_call('baseEntry', 'getByIds', kparams);
146
+ if (client.is_multirequest)
147
+ return nil;
148
+ end
149
+ return client.do_queue();
150
+ end
151
+
152
+ def delete(entry_id)
153
+ kparams = {}
154
+ client.add_param(kparams, 'entryId', entry_id);
155
+ client.queue_service_action_call('baseEntry', 'delete', kparams);
156
+ if (client.is_multirequest)
157
+ return nil;
158
+ end
159
+ return client.do_queue();
160
+ end
161
+
162
+ def list(filter=nil, pager=nil)
163
+ kparams = {}
164
+ client.add_param(kparams, 'filter', filter);
165
+ client.add_param(kparams, 'pager', pager);
166
+ client.queue_service_action_call('baseEntry', 'list', kparams);
167
+ if (client.is_multirequest)
168
+ return nil;
169
+ end
170
+ return client.do_queue();
171
+ end
172
+
173
+ def count(filter=nil)
174
+ kparams = {}
175
+ client.add_param(kparams, 'filter', filter);
176
+ client.queue_service_action_call('baseEntry', 'count', kparams);
177
+ if (client.is_multirequest)
178
+ return nil;
179
+ end
180
+ return client.do_queue();
181
+ end
182
+
183
+ def upload(file_data)
184
+ kparams = {}
185
+ client.add_param(kparams, 'fileData', file_data);
186
+ client.queue_service_action_call('baseEntry', 'upload', kparams);
187
+ if (client.is_multirequest)
188
+ return nil;
189
+ end
190
+ return client.do_queue();
191
+ end
192
+
193
+ def update_thumbnail_jpeg(entry_id, file_data)
194
+ kparams = {}
195
+ client.add_param(kparams, 'entryId', entry_id);
196
+ client.add_param(kparams, 'fileData', file_data);
197
+ client.queue_service_action_call('baseEntry', 'updateThumbnailJpeg', kparams);
198
+ if (client.is_multirequest)
199
+ return nil;
200
+ end
201
+ return client.do_queue();
202
+ end
203
+
204
+ def update_thumbnail_from_url(entry_id, url)
205
+ kparams = {}
206
+ client.add_param(kparams, 'entryId', entry_id);
207
+ client.add_param(kparams, 'url', url);
208
+ client.queue_service_action_call('baseEntry', 'updateThumbnailFromUrl', kparams);
209
+ if (client.is_multirequest)
210
+ return nil;
211
+ end
212
+ return client.do_queue();
213
+ end
214
+
215
+ def update_thumbnail_from_source_entry(entry_id, source_entry_id, time_offset)
216
+ kparams = {}
217
+ client.add_param(kparams, 'entryId', entry_id);
218
+ client.add_param(kparams, 'sourceEntryId', source_entry_id);
219
+ client.add_param(kparams, 'timeOffset', time_offset);
220
+ client.queue_service_action_call('baseEntry', 'updateThumbnailFromSourceEntry', kparams);
221
+ if (client.is_multirequest)
222
+ return nil;
223
+ end
224
+ return client.do_queue();
225
+ end
226
+
227
+ def flag(moderation_flag)
228
+ kparams = {}
229
+ client.add_param(kparams, 'moderationFlag', moderation_flag);
230
+ client.queue_service_action_call('baseEntry', 'flag', kparams);
231
+ if (client.is_multirequest)
232
+ return nil;
233
+ end
234
+ return client.do_queue();
235
+ end
236
+
237
+ def reject(entry_id)
238
+ kparams = {}
239
+ client.add_param(kparams, 'entryId', entry_id);
240
+ client.queue_service_action_call('baseEntry', 'reject', kparams);
241
+ if (client.is_multirequest)
242
+ return nil;
243
+ end
244
+ return client.do_queue();
245
+ end
246
+
247
+ def approve(entry_id)
248
+ kparams = {}
249
+ client.add_param(kparams, 'entryId', entry_id);
250
+ client.queue_service_action_call('baseEntry', 'approve', kparams);
251
+ if (client.is_multirequest)
252
+ return nil;
253
+ end
254
+ return client.do_queue();
255
+ end
256
+
257
+ def list_flags(entry_id, pager=nil)
258
+ kparams = {}
259
+ client.add_param(kparams, 'entryId', entry_id);
260
+ client.add_param(kparams, 'pager', pager);
261
+ client.queue_service_action_call('baseEntry', 'listFlags', kparams);
262
+ if (client.is_multirequest)
263
+ return nil;
264
+ end
265
+ return client.do_queue();
266
+ end
267
+
268
+ def anonymous_rank(entry_id, rank)
269
+ kparams = {}
270
+ client.add_param(kparams, 'entryId', entry_id);
271
+ client.add_param(kparams, 'rank', rank);
272
+ client.queue_service_action_call('baseEntry', 'anonymousRank', kparams);
273
+ if (client.is_multirequest)
274
+ return nil;
275
+ end
276
+ return client.do_queue();
277
+ end
278
+
279
+ def get_context_data(entry_id, context_data_params)
280
+ kparams = {}
281
+ client.add_param(kparams, 'entryId', entry_id);
282
+ client.add_param(kparams, 'contextDataParams', context_data_params);
283
+ client.queue_service_action_call('baseEntry', 'getContextData', kparams);
284
+ if (client.is_multirequest)
285
+ return nil;
286
+ end
287
+ return client.do_queue();
288
+ end
289
+ end #class BaseEntryService
290
+
291
+ class BulkUploadService < KalturaServiceBase
292
+ def initialize(client)
293
+ super(client)
294
+ end
295
+
296
+ def add(conversion_profile_id, csv_file_data)
297
+ kparams = {}
298
+ client.add_param(kparams, 'conversionProfileId', conversion_profile_id);
299
+ client.add_param(kparams, 'csvFileData', csv_file_data);
300
+ client.queue_service_action_call('bulkUpload', 'add', kparams);
301
+ if (client.is_multirequest)
302
+ return nil;
303
+ end
304
+ return client.do_queue();
305
+ end
306
+
307
+ def get(id)
308
+ kparams = {}
309
+ client.add_param(kparams, 'id', id);
310
+ client.queue_service_action_call('bulkUpload', 'get', kparams);
311
+ if (client.is_multirequest)
312
+ return nil;
313
+ end
314
+ return client.do_queue();
315
+ end
316
+
317
+ def list(pager=nil)
318
+ kparams = {}
319
+ client.add_param(kparams, 'pager', pager);
320
+ client.queue_service_action_call('bulkUpload', 'list', kparams);
321
+ if (client.is_multirequest)
322
+ return nil;
323
+ end
324
+ return client.do_queue();
325
+ end
326
+ end #class BulkUploadService
327
+
328
+ class CategoryService < KalturaServiceBase
329
+ def initialize(client)
330
+ super(client)
331
+ end
332
+
333
+ def add(category)
334
+ kparams = {}
335
+ client.add_param(kparams, 'category', category);
336
+ client.queue_service_action_call('category', 'add', kparams);
337
+ if (client.is_multirequest)
338
+ return nil;
339
+ end
340
+ return client.do_queue();
341
+ end
342
+
343
+ def get(id)
344
+ kparams = {}
345
+ client.add_param(kparams, 'id', id);
346
+ client.queue_service_action_call('category', 'get', kparams);
347
+ if (client.is_multirequest)
348
+ return nil;
349
+ end
350
+ return client.do_queue();
351
+ end
352
+
353
+ def update(id, category)
354
+ kparams = {}
355
+ client.add_param(kparams, 'id', id);
356
+ client.add_param(kparams, 'category', category);
357
+ client.queue_service_action_call('category', 'update', kparams);
358
+ if (client.is_multirequest)
359
+ return nil;
360
+ end
361
+ return client.do_queue();
362
+ end
363
+
364
+ def delete(id)
365
+ kparams = {}
366
+ client.add_param(kparams, 'id', id);
367
+ client.queue_service_action_call('category', 'delete', kparams);
368
+ if (client.is_multirequest)
369
+ return nil;
370
+ end
371
+ return client.do_queue();
372
+ end
373
+
374
+ def list(filter=nil)
375
+ kparams = {}
376
+ client.add_param(kparams, 'filter', filter);
377
+ client.queue_service_action_call('category', 'list', kparams);
378
+ if (client.is_multirequest)
379
+ return nil;
380
+ end
381
+ return client.do_queue();
382
+ end
383
+ end #class CategoryService
384
+
385
+ class ConversionProfileService < KalturaServiceBase
386
+ def initialize(client)
387
+ super(client)
388
+ end
389
+
390
+ def add(conversion_profile)
391
+ kparams = {}
392
+ client.add_param(kparams, 'conversionProfile', conversion_profile);
393
+ client.queue_service_action_call('conversionProfile', 'add', kparams);
394
+ if (client.is_multirequest)
395
+ return nil;
396
+ end
397
+ return client.do_queue();
398
+ end
399
+
400
+ def get(id)
401
+ kparams = {}
402
+ client.add_param(kparams, 'id', id);
403
+ client.queue_service_action_call('conversionProfile', 'get', kparams);
404
+ if (client.is_multirequest)
405
+ return nil;
406
+ end
407
+ return client.do_queue();
408
+ end
409
+
410
+ def update(id, conversion_profile)
411
+ kparams = {}
412
+ client.add_param(kparams, 'id', id);
413
+ client.add_param(kparams, 'conversionProfile', conversion_profile);
414
+ client.queue_service_action_call('conversionProfile', 'update', kparams);
415
+ if (client.is_multirequest)
416
+ return nil;
417
+ end
418
+ return client.do_queue();
419
+ end
420
+
421
+ def delete(id)
422
+ kparams = {}
423
+ client.add_param(kparams, 'id', id);
424
+ client.queue_service_action_call('conversionProfile', 'delete', kparams);
425
+ if (client.is_multirequest)
426
+ return nil;
427
+ end
428
+ return client.do_queue();
429
+ end
430
+
431
+ def list(filter=nil, pager=nil)
432
+ kparams = {}
433
+ client.add_param(kparams, 'filter', filter);
434
+ client.add_param(kparams, 'pager', pager);
435
+ client.queue_service_action_call('conversionProfile', 'list', kparams);
436
+ if (client.is_multirequest)
437
+ return nil;
438
+ end
439
+ return client.do_queue();
440
+ end
441
+ end #class ConversionProfileService
442
+
443
+ class DataService < KalturaServiceBase
444
+ def initialize(client)
445
+ super(client)
446
+ end
447
+
448
+ def add(data_entry)
449
+ kparams = {}
450
+ client.add_param(kparams, 'dataEntry', data_entry);
451
+ client.queue_service_action_call('data', 'add', kparams);
452
+ if (client.is_multirequest)
453
+ return nil;
454
+ end
455
+ return client.do_queue();
456
+ end
457
+
458
+ def get(entry_id, version=-1)
459
+ kparams = {}
460
+ client.add_param(kparams, 'entryId', entry_id);
461
+ client.add_param(kparams, 'version', version);
462
+ client.queue_service_action_call('data', 'get', kparams);
463
+ if (client.is_multirequest)
464
+ return nil;
465
+ end
466
+ return client.do_queue();
467
+ end
468
+
469
+ def update(entry_id, document_entry)
470
+ kparams = {}
471
+ client.add_param(kparams, 'entryId', entry_id);
472
+ client.add_param(kparams, 'documentEntry', document_entry);
473
+ client.queue_service_action_call('data', 'update', kparams);
474
+ if (client.is_multirequest)
475
+ return nil;
476
+ end
477
+ return client.do_queue();
478
+ end
479
+
480
+ def delete(entry_id)
481
+ kparams = {}
482
+ client.add_param(kparams, 'entryId', entry_id);
483
+ client.queue_service_action_call('data', 'delete', kparams);
484
+ if (client.is_multirequest)
485
+ return nil;
486
+ end
487
+ return client.do_queue();
488
+ end
489
+
490
+ def list(filter=nil, pager=nil)
491
+ kparams = {}
492
+ client.add_param(kparams, 'filter', filter);
493
+ client.add_param(kparams, 'pager', pager);
494
+ client.queue_service_action_call('data', 'list', kparams);
495
+ if (client.is_multirequest)
496
+ return nil;
497
+ end
498
+ return client.do_queue();
499
+ end
500
+ end #class DataService
501
+
502
+
503
+ class EmailIngestionProfileService < KalturaServiceBase
504
+ def initialize(client)
505
+ super(client)
506
+ end
507
+
508
+ def add(email_ip)
509
+ kparams = {}
510
+ client.add_param(kparams, 'EmailIP', email_ip);
511
+ client.queue_service_action_call('EmailIngestionProfile', 'add', kparams);
512
+ if (client.is_multirequest)
513
+ return nil;
514
+ end
515
+ return client.do_queue();
516
+ end
517
+
518
+ def get_by_email_address(email_address)
519
+ kparams = {}
520
+ client.add_param(kparams, 'emailAddress', email_address);
521
+ client.queue_service_action_call('EmailIngestionProfile', 'getByEmailAddress', kparams);
522
+ if (client.is_multirequest)
523
+ return nil;
524
+ end
525
+ return client.do_queue();
526
+ end
527
+
528
+ def get(id)
529
+ kparams = {}
530
+ client.add_param(kparams, 'id', id);
531
+ client.queue_service_action_call('EmailIngestionProfile', 'get', kparams);
532
+ if (client.is_multirequest)
533
+ return nil;
534
+ end
535
+ return client.do_queue();
536
+ end
537
+
538
+ def update(id, email_ip)
539
+ kparams = {}
540
+ client.add_param(kparams, 'id', id);
541
+ client.add_param(kparams, 'EmailIP', email_ip);
542
+ client.queue_service_action_call('EmailIngestionProfile', 'update', kparams);
543
+ if (client.is_multirequest)
544
+ return nil;
545
+ end
546
+ return client.do_queue();
547
+ end
548
+
549
+ def delete(id)
550
+ kparams = {}
551
+ client.add_param(kparams, 'id', id);
552
+ client.queue_service_action_call('EmailIngestionProfile', 'delete', kparams);
553
+ if (client.is_multirequest)
554
+ return nil;
555
+ end
556
+ return client.do_queue();
557
+ end
558
+
559
+ def add_media_entry(media_entry, upload_token_id, email_prof_id, from_address, email_msg_id)
560
+ kparams = {}
561
+ client.add_param(kparams, 'mediaEntry', media_entry);
562
+ client.add_param(kparams, 'uploadTokenId', upload_token_id);
563
+ client.add_param(kparams, 'emailProfId', email_prof_id);
564
+ client.add_param(kparams, 'fromAddress', from_address);
565
+ client.add_param(kparams, 'emailMsgId', email_msg_id);
566
+ client.queue_service_action_call('EmailIngestionProfile', 'addMediaEntry', kparams);
567
+ if (client.is_multirequest)
568
+ return nil;
569
+ end
570
+ return client.do_queue();
571
+ end
572
+ end #class EmailIngestionProfileService
573
+
574
+ class FlavorAssetService < KalturaServiceBase
575
+ def initialize(client)
576
+ super(client)
577
+ end
578
+
579
+ def get(id)
580
+ kparams = {}
581
+ client.add_param(kparams, 'id', id);
582
+ client.queue_service_action_call('flavorAsset', 'get', kparams);
583
+ if (client.is_multirequest)
584
+ return nil;
585
+ end
586
+ return client.do_queue();
587
+ end
588
+
589
+ def get_by_entry_id(entry_id)
590
+ kparams = {}
591
+ client.add_param(kparams, 'entryId', entry_id);
592
+ client.queue_service_action_call('flavorAsset', 'getByEntryId', kparams);
593
+ if (client.is_multirequest)
594
+ return nil;
595
+ end
596
+ return client.do_queue();
597
+ end
598
+
599
+ def get_web_playable_by_entry_id(entry_id)
600
+ kparams = {}
601
+ client.add_param(kparams, 'entryId', entry_id);
602
+ client.queue_service_action_call('flavorAsset', 'getWebPlayableByEntryId', kparams);
603
+ if (client.is_multirequest)
604
+ return nil;
605
+ end
606
+ return client.do_queue();
607
+ end
608
+
609
+ def convert(entry_id, flavor_params_id)
610
+ kparams = {}
611
+ client.add_param(kparams, 'entryId', entry_id);
612
+ client.add_param(kparams, 'flavorParamsId', flavor_params_id);
613
+ client.queue_service_action_call('flavorAsset', 'convert', kparams);
614
+ if (client.is_multirequest)
615
+ return nil;
616
+ end
617
+ return client.do_queue();
618
+ end
619
+
620
+ def reconvert(id)
621
+ kparams = {}
622
+ client.add_param(kparams, 'id', id);
623
+ client.queue_service_action_call('flavorAsset', 'reconvert', kparams);
624
+ if (client.is_multirequest)
625
+ return nil;
626
+ end
627
+ return client.do_queue();
628
+ end
629
+
630
+ def delete(id)
631
+ kparams = {}
632
+ client.add_param(kparams, 'id', id);
633
+ client.queue_service_action_call('flavorAsset', 'delete', kparams);
634
+ if (client.is_multirequest)
635
+ return nil;
636
+ end
637
+ return client.do_queue();
638
+ end
639
+
640
+ def get_download_url(id)
641
+ kparams = {}
642
+ client.add_param(kparams, 'id', id);
643
+ client.queue_service_action_call('flavorAsset', 'getDownloadUrl', kparams);
644
+ if (client.is_multirequest)
645
+ return nil;
646
+ end
647
+ return client.do_queue();
648
+ end
649
+
650
+ def get_flavor_assets_with_params(entry_id)
651
+ kparams = {}
652
+ client.add_param(kparams, 'entryId', entry_id);
653
+ client.queue_service_action_call('flavorAsset', 'getFlavorAssetsWithParams', kparams);
654
+ if (client.is_multirequest)
655
+ return nil;
656
+ end
657
+ return client.do_queue();
658
+ end
659
+ end #class FlavorAssetService
660
+
661
+ class FlavorParamsService < KalturaServiceBase
662
+ def initialize(client)
663
+ super(client)
664
+ end
665
+
666
+ def add(flavor_params)
667
+ kparams = {}
668
+ client.add_param(kparams, 'flavorParams', flavor_params);
669
+ client.queue_service_action_call('flavorParams', 'add', kparams);
670
+ if (client.is_multirequest)
671
+ return nil;
672
+ end
673
+ return client.do_queue();
674
+ end
675
+
676
+ def get(id)
677
+ kparams = {}
678
+ client.add_param(kparams, 'id', id);
679
+ client.queue_service_action_call('flavorParams', 'get', kparams);
680
+ if (client.is_multirequest)
681
+ return nil;
682
+ end
683
+ return client.do_queue();
684
+ end
685
+
686
+ def update(id, flavor_params)
687
+ kparams = {}
688
+ client.add_param(kparams, 'id', id);
689
+ client.add_param(kparams, 'flavorParams', flavor_params);
690
+ client.queue_service_action_call('flavorParams', 'update', kparams);
691
+ if (client.is_multirequest)
692
+ return nil;
693
+ end
694
+ return client.do_queue();
695
+ end
696
+
697
+ def delete(id)
698
+ kparams = {}
699
+ client.add_param(kparams, 'id', id);
700
+ client.queue_service_action_call('flavorParams', 'delete', kparams);
701
+ if (client.is_multirequest)
702
+ return nil;
703
+ end
704
+ return client.do_queue();
705
+ end
706
+
707
+ def list(filter=nil, pager=nil)
708
+ kparams = {}
709
+ client.add_param(kparams, 'filter', filter);
710
+ client.add_param(kparams, 'pager', pager);
711
+ client.queue_service_action_call('flavorParams', 'list', kparams);
712
+ if (client.is_multirequest)
713
+ return nil;
714
+ end
715
+ return client.do_queue();
716
+ end
717
+
718
+ def get_by_conversion_profile_id(conversion_profile_id)
719
+ kparams = {}
720
+ client.add_param(kparams, 'conversionProfileId', conversion_profile_id);
721
+ client.queue_service_action_call('flavorParams', 'getByConversionProfileId', kparams);
722
+ if (client.is_multirequest)
723
+ return nil;
724
+ end
725
+ return client.do_queue();
726
+ end
727
+ end #class FlavorParamsService
728
+
729
+ class LiveStreamService < KalturaServiceBase
730
+ def initialize(client)
731
+ super(client)
732
+ end
733
+
734
+ def add(live_stream_entry)
735
+ kparams = {}
736
+ client.add_param(kparams, 'liveStreamEntry', live_stream_entry);
737
+ client.queue_service_action_call('liveStream', 'add', kparams);
738
+ if (client.is_multirequest)
739
+ return nil;
740
+ end
741
+ return client.do_queue();
742
+ end
743
+
744
+ def get(entry_id, version=-1)
745
+ kparams = {}
746
+ client.add_param(kparams, 'entryId', entry_id);
747
+ client.add_param(kparams, 'version', version);
748
+ client.queue_service_action_call('liveStream', 'get', kparams);
749
+ if (client.is_multirequest)
750
+ return nil;
751
+ end
752
+ return client.do_queue();
753
+ end
754
+
755
+ def update(entry_id, live_stream_entry)
756
+ kparams = {}
757
+ client.add_param(kparams, 'entryId', entry_id);
758
+ client.add_param(kparams, 'liveStreamEntry', live_stream_entry);
759
+ client.queue_service_action_call('liveStream', 'update', kparams);
760
+ if (client.is_multirequest)
761
+ return nil;
762
+ end
763
+ return client.do_queue();
764
+ end
765
+
766
+ def delete(entry_id)
767
+ kparams = {}
768
+ client.add_param(kparams, 'entryId', entry_id);
769
+ client.queue_service_action_call('liveStream', 'delete', kparams);
770
+ if (client.is_multirequest)
771
+ return nil;
772
+ end
773
+ return client.do_queue();
774
+ end
775
+
776
+ def list(filter=nil, pager=nil)
777
+ kparams = {}
778
+ client.add_param(kparams, 'filter', filter);
779
+ client.add_param(kparams, 'pager', pager);
780
+ client.queue_service_action_call('liveStream', 'list', kparams);
781
+ if (client.is_multirequest)
782
+ return nil;
783
+ end
784
+ return client.do_queue();
785
+ end
786
+
787
+ def update_offline_thumbnail_jpeg(entry_id, file_data)
788
+ kparams = {}
789
+ client.add_param(kparams, 'entryId', entry_id);
790
+ client.add_param(kparams, 'fileData', file_data);
791
+ client.queue_service_action_call('liveStream', 'updateOfflineThumbnailJpeg', kparams);
792
+ if (client.is_multirequest)
793
+ return nil;
794
+ end
795
+ return client.do_queue();
796
+ end
797
+
798
+ def update_offline_thumbnail_from_url(entry_id, url)
799
+ kparams = {}
800
+ client.add_param(kparams, 'entryId', entry_id);
801
+ client.add_param(kparams, 'url', url);
802
+ client.queue_service_action_call('liveStream', 'updateOfflineThumbnailFromUrl', kparams);
803
+ if (client.is_multirequest)
804
+ return nil;
805
+ end
806
+ return client.do_queue();
807
+ end
808
+ end #class LiveStreamService
809
+
810
+ class MediaService < KalturaServiceBase
811
+ def initialize(client)
812
+ super(client)
813
+ end
814
+
815
+ def add_from_bulk(media_entry, url, bulk_upload_id)
816
+ kparams = {}
817
+ client.add_param(kparams, 'mediaEntry', media_entry);
818
+ client.add_param(kparams, 'url', url);
819
+ client.add_param(kparams, 'bulkUploadId', bulk_upload_id);
820
+ client.queue_service_action_call('media', 'addFromBulk', kparams);
821
+ if (client.is_multirequest)
822
+ return nil;
823
+ end
824
+ return client.do_queue();
825
+ end
826
+
827
+ def add_from_url(media_entry, url)
828
+ kparams = {}
829
+ client.add_param(kparams, 'mediaEntry', media_entry);
830
+ client.add_param(kparams, 'url', url);
831
+ client.queue_service_action_call('media', 'addFromUrl', kparams);
832
+ if (client.is_multirequest)
833
+ return nil;
834
+ end
835
+ return client.do_queue();
836
+ end
837
+
838
+ def add_from_search_result(media_entry=nil, search_result=nil)
839
+ kparams = {}
840
+ client.add_param(kparams, 'mediaEntry', media_entry);
841
+ client.add_param(kparams, 'searchResult', search_result);
842
+ client.queue_service_action_call('media', 'addFromSearchResult', kparams);
843
+ if (client.is_multirequest)
844
+ return nil;
845
+ end
846
+ return client.do_queue();
847
+ end
848
+
849
+ def add_from_uploaded_file(media_entry, upload_token_id)
850
+ kparams = {}
851
+ client.add_param(kparams, 'mediaEntry', media_entry);
852
+ client.add_param(kparams, 'uploadTokenId', upload_token_id);
853
+ client.queue_service_action_call('media', 'addFromUploadedFile', kparams);
854
+ if (client.is_multirequest)
855
+ return nil;
856
+ end
857
+ return client.do_queue();
858
+ end
859
+
860
+ def add_from_recorded_webcam(media_entry, webcam_token_id)
861
+ kparams = {}
862
+ client.add_param(kparams, 'mediaEntry', media_entry);
863
+ client.add_param(kparams, 'webcamTokenId', webcam_token_id);
864
+ client.queue_service_action_call('media', 'addFromRecordedWebcam', kparams);
865
+ if (client.is_multirequest)
866
+ return nil;
867
+ end
868
+ return client.do_queue();
869
+ end
870
+
871
+ def get(entry_id, version=-1)
872
+ kparams = {}
873
+ client.add_param(kparams, 'entryId', entry_id);
874
+ client.add_param(kparams, 'version', version);
875
+ client.queue_service_action_call('media', 'get', kparams);
876
+ if (client.is_multirequest)
877
+ return nil;
878
+ end
879
+ return client.do_queue();
880
+ end
881
+
882
+ def update(entry_id, media_entry)
883
+ kparams = {}
884
+ client.add_param(kparams, 'entryId', entry_id);
885
+ client.add_param(kparams, 'mediaEntry', media_entry);
886
+ client.queue_service_action_call('media', 'update', kparams);
887
+ if (client.is_multirequest)
888
+ return nil;
889
+ end
890
+ return client.do_queue();
891
+ end
892
+
893
+ def delete(entry_id)
894
+ kparams = {}
895
+ client.add_param(kparams, 'entryId', entry_id);
896
+ client.queue_service_action_call('media', 'delete', kparams);
897
+ if (client.is_multirequest)
898
+ return nil;
899
+ end
900
+ return client.do_queue();
901
+ end
902
+
903
+ def list(filter=nil, pager=nil)
904
+ kparams = {}
905
+ client.add_param(kparams, 'filter', filter);
906
+ client.add_param(kparams, 'pager', pager);
907
+ client.queue_service_action_call('media', 'list', kparams);
908
+ if (client.is_multirequest)
909
+ return nil;
910
+ end
911
+ return client.do_queue();
912
+ end
913
+
914
+ def count(filter=nil)
915
+ kparams = {}
916
+ client.add_param(kparams, 'filter', filter);
917
+ client.queue_service_action_call('media', 'count', kparams);
918
+ if (client.is_multirequest)
919
+ return nil;
920
+ end
921
+ return client.do_queue();
922
+ end
923
+
924
+ def upload(file_data)
925
+ kparams = {}
926
+ client.add_param(kparams, 'fileData', file_data);
927
+ client.queue_service_action_call('media', 'upload', kparams);
928
+ if (client.is_multirequest)
929
+ return nil;
930
+ end
931
+ return client.do_queue();
932
+ end
933
+
934
+ def update_thumbnail(entry_id, time_offset)
935
+ kparams = {}
936
+ client.add_param(kparams, 'entryId', entry_id);
937
+ client.add_param(kparams, 'timeOffset', time_offset);
938
+ client.queue_service_action_call('media', 'updateThumbnail', kparams);
939
+ if (client.is_multirequest)
940
+ return nil;
941
+ end
942
+ return client.do_queue();
943
+ end
944
+
945
+ def update_thumbnail_from_source_entry(entry_id, source_entry_id, time_offset)
946
+ kparams = {}
947
+ client.add_param(kparams, 'entryId', entry_id);
948
+ client.add_param(kparams, 'sourceEntryId', source_entry_id);
949
+ client.add_param(kparams, 'timeOffset', time_offset);
950
+ client.queue_service_action_call('media', 'updateThumbnailFromSourceEntry', kparams);
951
+ if (client.is_multirequest)
952
+ return nil;
953
+ end
954
+ return client.do_queue();
955
+ end
956
+
957
+ def update_thumbnail_jpeg(entry_id, file_data)
958
+ kparams = {}
959
+ client.add_param(kparams, 'entryId', entry_id);
960
+ client.add_param(kparams, 'fileData', file_data);
961
+ client.queue_service_action_call('media', 'updateThumbnailJpeg', kparams);
962
+ if (client.is_multirequest)
963
+ return nil;
964
+ end
965
+ return client.do_queue();
966
+ end
967
+
968
+ def update_thumbnail_from_url(entry_id, url)
969
+ kparams = {}
970
+ client.add_param(kparams, 'entryId', entry_id);
971
+ client.add_param(kparams, 'url', url);
972
+ client.queue_service_action_call('media', 'updateThumbnailFromUrl', kparams);
973
+ if (client.is_multirequest)
974
+ return nil;
975
+ end
976
+ return client.do_queue();
977
+ end
978
+
979
+ def request_conversion(entry_id, file_format)
980
+ kparams = {}
981
+ client.add_param(kparams, 'entryId', entry_id);
982
+ client.add_param(kparams, 'fileFormat', file_format);
983
+ client.queue_service_action_call('media', 'requestConversion', kparams);
984
+ if (client.is_multirequest)
985
+ return nil;
986
+ end
987
+ return client.do_queue();
988
+ end
989
+
990
+ def flag(moderation_flag)
991
+ kparams = {}
992
+ client.add_param(kparams, 'moderationFlag', moderation_flag);
993
+ client.queue_service_action_call('media', 'flag', kparams);
994
+ if (client.is_multirequest)
995
+ return nil;
996
+ end
997
+ return client.do_queue();
998
+ end
999
+
1000
+ def reject(entry_id)
1001
+ kparams = {}
1002
+ client.add_param(kparams, 'entryId', entry_id);
1003
+ client.queue_service_action_call('media', 'reject', kparams);
1004
+ if (client.is_multirequest)
1005
+ return nil;
1006
+ end
1007
+ return client.do_queue();
1008
+ end
1009
+
1010
+ def approve(entry_id)
1011
+ kparams = {}
1012
+ client.add_param(kparams, 'entryId', entry_id);
1013
+ client.queue_service_action_call('media', 'approve', kparams);
1014
+ if (client.is_multirequest)
1015
+ return nil;
1016
+ end
1017
+ return client.do_queue();
1018
+ end
1019
+
1020
+ def list_flags(entry_id, pager=nil)
1021
+ kparams = {}
1022
+ client.add_param(kparams, 'entryId', entry_id);
1023
+ client.add_param(kparams, 'pager', pager);
1024
+ client.queue_service_action_call('media', 'listFlags', kparams);
1025
+ if (client.is_multirequest)
1026
+ return nil;
1027
+ end
1028
+ return client.do_queue();
1029
+ end
1030
+
1031
+ def anonymous_rank(entry_id, rank)
1032
+ kparams = {}
1033
+ client.add_param(kparams, 'entryId', entry_id);
1034
+ client.add_param(kparams, 'rank', rank);
1035
+ client.queue_service_action_call('media', 'anonymousRank', kparams);
1036
+ if (client.is_multirequest)
1037
+ return nil;
1038
+ end
1039
+ return client.do_queue();
1040
+ end
1041
+ end #class MediaService
1042
+
1043
+ class MixingService < KalturaServiceBase
1044
+ def initialize(client)
1045
+ super(client)
1046
+ end
1047
+
1048
+ def add(mix_entry)
1049
+ kparams = {}
1050
+ client.add_param(kparams, 'mixEntry', mix_entry);
1051
+ client.queue_service_action_call('mixing', 'add', kparams);
1052
+ if (client.is_multirequest)
1053
+ return nil;
1054
+ end
1055
+ return client.do_queue();
1056
+ end
1057
+
1058
+ def get(entry_id, version=-1)
1059
+ kparams = {}
1060
+ client.add_param(kparams, 'entryId', entry_id);
1061
+ client.add_param(kparams, 'version', version);
1062
+ client.queue_service_action_call('mixing', 'get', kparams);
1063
+ if (client.is_multirequest)
1064
+ return nil;
1065
+ end
1066
+ return client.do_queue();
1067
+ end
1068
+
1069
+ def update(entry_id, mix_entry)
1070
+ kparams = {}
1071
+ client.add_param(kparams, 'entryId', entry_id);
1072
+ client.add_param(kparams, 'mixEntry', mix_entry);
1073
+ client.queue_service_action_call('mixing', 'update', kparams);
1074
+ if (client.is_multirequest)
1075
+ return nil;
1076
+ end
1077
+ return client.do_queue();
1078
+ end
1079
+
1080
+ def delete(entry_id)
1081
+ kparams = {}
1082
+ client.add_param(kparams, 'entryId', entry_id);
1083
+ client.queue_service_action_call('mixing', 'delete', kparams);
1084
+ if (client.is_multirequest)
1085
+ return nil;
1086
+ end
1087
+ return client.do_queue();
1088
+ end
1089
+
1090
+ def list(filter=nil, pager=nil)
1091
+ kparams = {}
1092
+ client.add_param(kparams, 'filter', filter);
1093
+ client.add_param(kparams, 'pager', pager);
1094
+ client.queue_service_action_call('mixing', 'list', kparams);
1095
+ if (client.is_multirequest)
1096
+ return nil;
1097
+ end
1098
+ return client.do_queue();
1099
+ end
1100
+
1101
+ def count(filter=nil)
1102
+ kparams = {}
1103
+ client.add_param(kparams, 'filter', filter);
1104
+ client.queue_service_action_call('mixing', 'count', kparams);
1105
+ if (client.is_multirequest)
1106
+ return nil;
1107
+ end
1108
+ return client.do_queue();
1109
+ end
1110
+
1111
+ def clone(entry_id)
1112
+ kparams = {}
1113
+ client.add_param(kparams, 'entryId', entry_id);
1114
+ client.queue_service_action_call('mixing', 'clone', kparams);
1115
+ if (client.is_multirequest)
1116
+ return nil;
1117
+ end
1118
+ return client.do_queue();
1119
+ end
1120
+
1121
+ def append_media_entry(mix_entry_id, media_entry_id)
1122
+ kparams = {}
1123
+ client.add_param(kparams, 'mixEntryId', mix_entry_id);
1124
+ client.add_param(kparams, 'mediaEntryId', media_entry_id);
1125
+ client.queue_service_action_call('mixing', 'appendMediaEntry', kparams);
1126
+ if (client.is_multirequest)
1127
+ return nil;
1128
+ end
1129
+ return client.do_queue();
1130
+ end
1131
+
1132
+ def request_flattening(entry_id, file_format, version=-1)
1133
+ kparams = {}
1134
+ client.add_param(kparams, 'entryId', entry_id);
1135
+ client.add_param(kparams, 'fileFormat', file_format);
1136
+ client.add_param(kparams, 'version', version);
1137
+ client.queue_service_action_call('mixing', 'requestFlattening', kparams);
1138
+ if (client.is_multirequest)
1139
+ return nil;
1140
+ end
1141
+ return client.do_queue();
1142
+ end
1143
+
1144
+ def get_mixes_by_media_id(media_entry_id)
1145
+ kparams = {}
1146
+ client.add_param(kparams, 'mediaEntryId', media_entry_id);
1147
+ client.queue_service_action_call('mixing', 'getMixesByMediaId', kparams);
1148
+ if (client.is_multirequest)
1149
+ return nil;
1150
+ end
1151
+ return client.do_queue();
1152
+ end
1153
+
1154
+ def get_ready_media_entries(mix_id, version=-1)
1155
+ kparams = {}
1156
+ client.add_param(kparams, 'mixId', mix_id);
1157
+ client.add_param(kparams, 'version', version);
1158
+ client.queue_service_action_call('mixing', 'getReadyMediaEntries', kparams);
1159
+ if (client.is_multirequest)
1160
+ return nil;
1161
+ end
1162
+ return client.do_queue();
1163
+ end
1164
+
1165
+ def anonymous_rank(entry_id, rank)
1166
+ kparams = {}
1167
+ client.add_param(kparams, 'entryId', entry_id);
1168
+ client.add_param(kparams, 'rank', rank);
1169
+ client.queue_service_action_call('mixing', 'anonymousRank', kparams);
1170
+ if (client.is_multirequest)
1171
+ return nil;
1172
+ end
1173
+ return client.do_queue();
1174
+ end
1175
+ end #class MixingService
1176
+
1177
+ class NotificationService < KalturaServiceBase
1178
+ def initialize(client)
1179
+ super(client)
1180
+ end
1181
+
1182
+ def get_client_notification(entry_id, type)
1183
+ kparams = {}
1184
+ client.add_param(kparams, 'entryId', entry_id);
1185
+ client.add_param(kparams, 'type', type);
1186
+ client.queue_service_action_call('notification', 'getClientNotification', kparams);
1187
+ if (client.is_multirequest)
1188
+ return nil;
1189
+ end
1190
+ return client.do_queue();
1191
+ end
1192
+ end #class NotificationService
1193
+
1194
+ class PartnerService < KalturaServiceBase
1195
+ def initialize(client)
1196
+ super(client)
1197
+ end
1198
+
1199
+ def register(partner, cms_password='')
1200
+ kparams = {}
1201
+ client.add_param(kparams, 'partner', partner);
1202
+ client.add_param(kparams, 'cmsPassword', cms_password);
1203
+ client.queue_service_action_call('partner', 'register', kparams);
1204
+ if (client.is_multirequest)
1205
+ return nil;
1206
+ end
1207
+ return client.do_queue();
1208
+ end
1209
+
1210
+ def update(partner, allow_empty=false)
1211
+ kparams = {}
1212
+ client.add_param(kparams, 'partner', partner);
1213
+ client.add_param(kparams, 'allowEmpty', allow_empty);
1214
+ client.queue_service_action_call('partner', 'update', kparams);
1215
+ if (client.is_multirequest)
1216
+ return nil;
1217
+ end
1218
+ return client.do_queue();
1219
+ end
1220
+
1221
+ def get_secrets(partner_id, admin_email, cms_password)
1222
+ kparams = {}
1223
+ client.add_param(kparams, 'partnerId', partner_id);
1224
+ client.add_param(kparams, 'adminEmail', admin_email);
1225
+ client.add_param(kparams, 'cmsPassword', cms_password);
1226
+ client.queue_service_action_call('partner', 'getSecrets', kparams);
1227
+ if (client.is_multirequest)
1228
+ return nil;
1229
+ end
1230
+ return client.do_queue();
1231
+ end
1232
+
1233
+ def get_info()
1234
+ kparams = {}
1235
+ client.queue_service_action_call('partner', 'getInfo', kparams);
1236
+ if (client.is_multirequest)
1237
+ return nil;
1238
+ end
1239
+ return client.do_queue();
1240
+ end
1241
+
1242
+ def get_usage(year='', month=1, resolution='days')
1243
+ kparams = {}
1244
+ client.add_param(kparams, 'year', year);
1245
+ client.add_param(kparams, 'month', month);
1246
+ client.add_param(kparams, 'resolution', resolution);
1247
+ client.queue_service_action_call('partner', 'getUsage', kparams);
1248
+ if (client.is_multirequest)
1249
+ return nil;
1250
+ end
1251
+ return client.do_queue();
1252
+ end
1253
+ end #class PartnerService
1254
+
1255
+ class PlaylistService < KalturaServiceBase
1256
+ def initialize(client)
1257
+ super(client)
1258
+ end
1259
+
1260
+ def add(playlist, update_stats=false)
1261
+ kparams = {}
1262
+ client.add_param(kparams, 'playlist', playlist);
1263
+ client.add_param(kparams, 'updateStats', update_stats);
1264
+ client.queue_service_action_call('playlist', 'add', kparams);
1265
+ if (client.is_multirequest)
1266
+ return nil;
1267
+ end
1268
+ return client.do_queue();
1269
+ end
1270
+
1271
+ def get(id, version=-1)
1272
+ kparams = {}
1273
+ client.add_param(kparams, 'id', id);
1274
+ client.add_param(kparams, 'version', version);
1275
+ client.queue_service_action_call('playlist', 'get', kparams);
1276
+ if (client.is_multirequest)
1277
+ return nil;
1278
+ end
1279
+ return client.do_queue();
1280
+ end
1281
+
1282
+ def update(id, playlist, update_stats=false)
1283
+ kparams = {}
1284
+ client.add_param(kparams, 'id', id);
1285
+ client.add_param(kparams, 'playlist', playlist);
1286
+ client.add_param(kparams, 'updateStats', update_stats);
1287
+ client.queue_service_action_call('playlist', 'update', kparams);
1288
+ if (client.is_multirequest)
1289
+ return nil;
1290
+ end
1291
+ return client.do_queue();
1292
+ end
1293
+
1294
+ def delete(id)
1295
+ kparams = {}
1296
+ client.add_param(kparams, 'id', id);
1297
+ client.queue_service_action_call('playlist', 'delete', kparams);
1298
+ if (client.is_multirequest)
1299
+ return nil;
1300
+ end
1301
+ return client.do_queue();
1302
+ end
1303
+
1304
+ def list(filter=nil, pager=nil)
1305
+ kparams = {}
1306
+ client.add_param(kparams, 'filter', filter);
1307
+ client.add_param(kparams, 'pager', pager);
1308
+ client.queue_service_action_call('playlist', 'list', kparams);
1309
+ if (client.is_multirequest)
1310
+ return nil;
1311
+ end
1312
+ return client.do_queue();
1313
+ end
1314
+
1315
+ def execute(id, detailed='')
1316
+ kparams = {}
1317
+ client.add_param(kparams, 'id', id);
1318
+ client.add_param(kparams, 'detailed', detailed);
1319
+ client.queue_service_action_call('playlist', 'execute', kparams);
1320
+ if (client.is_multirequest)
1321
+ return nil;
1322
+ end
1323
+ return client.do_queue();
1324
+ end
1325
+
1326
+ def execute_from_content(playlist_type, playlist_content, detailed='')
1327
+ kparams = {}
1328
+ client.add_param(kparams, 'playlistType', playlist_type);
1329
+ client.add_param(kparams, 'playlistContent', playlist_content);
1330
+ client.add_param(kparams, 'detailed', detailed);
1331
+ client.queue_service_action_call('playlist', 'executeFromContent', kparams);
1332
+ if (client.is_multirequest)
1333
+ return nil;
1334
+ end
1335
+ return client.do_queue();
1336
+ end
1337
+
1338
+ def execute_from_filters(filters, total_results, detailed='')
1339
+ kparams = {}
1340
+ filters.each do |obj|
1341
+ client.add_param(kparams, 'filters', obj);
1342
+ end
1343
+ client.add_param(kparams, 'totalResults', total_results);
1344
+ client.add_param(kparams, 'detailed', detailed);
1345
+ client.queue_service_action_call('playlist', 'executeFromFilters', kparams);
1346
+ if (client.is_multirequest)
1347
+ return nil;
1348
+ end
1349
+ return client.do_queue();
1350
+ end
1351
+
1352
+ def get_stats_from_content(playlist_type, playlist_content)
1353
+ kparams = {}
1354
+ client.add_param(kparams, 'playlistType', playlist_type);
1355
+ client.add_param(kparams, 'playlistContent', playlist_content);
1356
+ client.queue_service_action_call('playlist', 'getStatsFromContent', kparams);
1357
+ if (client.is_multirequest)
1358
+ return nil;
1359
+ end
1360
+ return client.do_queue();
1361
+ end
1362
+ end #class PlaylistService
1363
+
1364
+ class SearchService < KalturaServiceBase
1365
+ def initialize(client)
1366
+ super(client)
1367
+ end
1368
+
1369
+ def search(search, pager=nil)
1370
+ kparams = {}
1371
+ client.add_param(kparams, 'search', search);
1372
+ client.add_param(kparams, 'pager', pager);
1373
+ client.queue_service_action_call('search', 'search', kparams);
1374
+ if (client.is_multirequest)
1375
+ return nil;
1376
+ end
1377
+ return client.do_queue();
1378
+ end
1379
+
1380
+ def get_media_info(search_result)
1381
+ kparams = {}
1382
+ client.add_param(kparams, 'searchResult', search_result);
1383
+ client.queue_service_action_call('search', 'getMediaInfo', kparams);
1384
+ if (client.is_multirequest)
1385
+ return nil;
1386
+ end
1387
+ return client.do_queue();
1388
+ end
1389
+
1390
+ def search_url(media_type, url)
1391
+ kparams = {}
1392
+ client.add_param(kparams, 'mediaType', media_type);
1393
+ client.add_param(kparams, 'url', url);
1394
+ client.queue_service_action_call('search', 'searchUrl', kparams);
1395
+ if (client.is_multirequest)
1396
+ return nil;
1397
+ end
1398
+ return client.do_queue();
1399
+ end
1400
+
1401
+ def external_login(search_source, user_name, password)
1402
+ kparams = {}
1403
+ client.add_param(kparams, 'searchSource', search_source);
1404
+ client.add_param(kparams, 'userName', user_name);
1405
+ client.add_param(kparams, 'password', password);
1406
+ client.queue_service_action_call('search', 'externalLogin', kparams);
1407
+ if (client.is_multirequest)
1408
+ return nil;
1409
+ end
1410
+ return client.do_queue();
1411
+ end
1412
+ end #class SearchService
1413
+
1414
+ class SessionService < KalturaServiceBase
1415
+ def initialize(client)
1416
+ super(client)
1417
+ end
1418
+
1419
+ def start(secret, user_id='', type=0, partner_id=-1, expiry=86400, privileges='')
1420
+ kparams = {}
1421
+ client.add_param(kparams, 'secret', secret);
1422
+ client.add_param(kparams, 'userId', user_id);
1423
+ client.add_param(kparams, 'type', type);
1424
+ client.add_param(kparams, 'partnerId', partner_id);
1425
+ client.add_param(kparams, 'expiry', expiry);
1426
+ client.add_param(kparams, 'privileges', privileges);
1427
+ client.queue_service_action_call('session', 'start', kparams);
1428
+ if (client.is_multirequest)
1429
+ return nil;
1430
+ end
1431
+ return client.do_queue();
1432
+ end
1433
+
1434
+ def start_widget_session(widget_id, expiry=86400)
1435
+ kparams = {}
1436
+ client.add_param(kparams, 'widgetId', widget_id);
1437
+ client.add_param(kparams, 'expiry', expiry);
1438
+ client.queue_service_action_call('session', 'startWidgetSession', kparams);
1439
+ if (client.is_multirequest)
1440
+ return nil;
1441
+ end
1442
+ return client.do_queue();
1443
+ end
1444
+ end #class SessionService
1445
+
1446
+ class StatsService < KalturaServiceBase
1447
+ def initialize(client)
1448
+ super(client)
1449
+ end
1450
+
1451
+ def collect(event)
1452
+ kparams = {}
1453
+ client.add_param(kparams, 'event', event);
1454
+ client.queue_service_action_call('stats', 'collect', kparams);
1455
+ if (client.is_multirequest)
1456
+ return nil;
1457
+ end
1458
+ return client.do_queue();
1459
+ end
1460
+
1461
+ def kmc_collect(kmc_event)
1462
+ kparams = {}
1463
+ client.add_param(kparams, 'kmcEvent', kmc_event);
1464
+ client.queue_service_action_call('stats', 'kmcCollect', kparams);
1465
+ if (client.is_multirequest)
1466
+ return nil;
1467
+ end
1468
+ return client.do_queue();
1469
+ end
1470
+
1471
+ def report_kce_error(kaltura_ce_error)
1472
+ kparams = {}
1473
+ client.add_param(kparams, 'kalturaCEError', kaltura_ce_error);
1474
+ client.queue_service_action_call('stats', 'reportKceError', kparams);
1475
+ if (client.is_multirequest)
1476
+ return nil;
1477
+ end
1478
+ return client.do_queue();
1479
+ end
1480
+ end #class StatsService
1481
+
1482
+ class SyndicationFeedService < KalturaServiceBase
1483
+ def initialize(client)
1484
+ super(client)
1485
+ end
1486
+
1487
+ def add(syndication_feed)
1488
+ kparams = {}
1489
+ client.add_param(kparams, 'syndicationFeed', syndication_feed);
1490
+ client.queue_service_action_call('syndicationFeed', 'add', kparams);
1491
+ if (client.is_multirequest)
1492
+ return nil;
1493
+ end
1494
+ return client.do_queue();
1495
+ end
1496
+
1497
+ def get(id)
1498
+ kparams = {}
1499
+ client.add_param(kparams, 'id', id);
1500
+ client.queue_service_action_call('syndicationFeed', 'get', kparams);
1501
+ if (client.is_multirequest)
1502
+ return nil;
1503
+ end
1504
+ return client.do_queue();
1505
+ end
1506
+
1507
+ def update(id, syndication_feed)
1508
+ kparams = {}
1509
+ client.add_param(kparams, 'id', id);
1510
+ client.add_param(kparams, 'syndicationFeed', syndication_feed);
1511
+ client.queue_service_action_call('syndicationFeed', 'update', kparams);
1512
+ if (client.is_multirequest)
1513
+ return nil;
1514
+ end
1515
+ return client.do_queue();
1516
+ end
1517
+
1518
+ def delete(id)
1519
+ kparams = {}
1520
+ client.add_param(kparams, 'id', id);
1521
+ client.queue_service_action_call('syndicationFeed', 'delete', kparams);
1522
+ if (client.is_multirequest)
1523
+ return nil;
1524
+ end
1525
+ return client.do_queue();
1526
+ end
1527
+
1528
+ def list(filter=nil, pager=nil)
1529
+ kparams = {}
1530
+ client.add_param(kparams, 'filter', filter);
1531
+ client.add_param(kparams, 'pager', pager);
1532
+ client.queue_service_action_call('syndicationFeed', 'list', kparams);
1533
+ if (client.is_multirequest)
1534
+ return nil;
1535
+ end
1536
+ return client.do_queue();
1537
+ end
1538
+
1539
+ def get_entry_count(feed_id)
1540
+ kparams = {}
1541
+ client.add_param(kparams, 'feedId', feed_id);
1542
+ client.queue_service_action_call('syndicationFeed', 'getEntryCount', kparams);
1543
+ if (client.is_multirequest)
1544
+ return nil;
1545
+ end
1546
+ return client.do_queue();
1547
+ end
1548
+
1549
+ def request_conversion(feed_id)
1550
+ kparams = {}
1551
+ client.add_param(kparams, 'feedId', feed_id);
1552
+ client.queue_service_action_call('syndicationFeed', 'requestConversion', kparams);
1553
+ if (client.is_multirequest)
1554
+ return nil;
1555
+ end
1556
+ return client.do_queue();
1557
+ end
1558
+ end #class SyndicationFeedService
1559
+
1560
+ class KalturaSystemService < KalturaServiceBase
1561
+ def initialize(client)
1562
+ super(client)
1563
+ end
1564
+
1565
+ def ping()
1566
+ kparams = {}
1567
+ client.queue_service_action_call('system', 'ping', kparams);
1568
+ if (client.is_multirequest)
1569
+ return nil;
1570
+ end
1571
+ return client.do_queue();
1572
+ end
1573
+ end
1574
+
1575
+ class UiConfService < KalturaServiceBase
1576
+ def initialize(client)
1577
+ super(client)
1578
+ end
1579
+
1580
+ def add(ui_conf)
1581
+ kparams = {}
1582
+ client.add_param(kparams, 'uiConf', ui_conf);
1583
+ client.queue_service_action_call('uiConf', 'add', kparams);
1584
+ if (client.is_multirequest)
1585
+ return nil;
1586
+ end
1587
+ return client.do_queue();
1588
+ end
1589
+
1590
+ def update(id, ui_conf)
1591
+ kparams = {}
1592
+ client.add_param(kparams, 'id', id);
1593
+ client.add_param(kparams, 'uiConf', ui_conf);
1594
+ client.queue_service_action_call('uiConf', 'update', kparams);
1595
+ if (client.is_multirequest)
1596
+ return nil;
1597
+ end
1598
+ return client.do_queue();
1599
+ end
1600
+
1601
+ def get(id)
1602
+ kparams = {}
1603
+ client.add_param(kparams, 'id', id);
1604
+ client.queue_service_action_call('uiConf', 'get', kparams);
1605
+ if (client.is_multirequest)
1606
+ return nil;
1607
+ end
1608
+ return client.do_queue();
1609
+ end
1610
+
1611
+ def delete(id)
1612
+ kparams = {}
1613
+ client.add_param(kparams, 'id', id);
1614
+ client.queue_service_action_call('uiConf', 'delete', kparams);
1615
+ if (client.is_multirequest)
1616
+ return nil;
1617
+ end
1618
+ return client.do_queue();
1619
+ end
1620
+
1621
+ def clone(id)
1622
+ kparams = {}
1623
+ client.add_param(kparams, 'id', id);
1624
+ client.queue_service_action_call('uiConf', 'clone', kparams);
1625
+ if (client.is_multirequest)
1626
+ return nil;
1627
+ end
1628
+ return client.do_queue();
1629
+ end
1630
+
1631
+ def list_templates(filter=nil, pager=nil)
1632
+ kparams = {}
1633
+ client.add_param(kparams, 'filter', filter);
1634
+ client.add_param(kparams, 'pager', pager);
1635
+ client.queue_service_action_call('uiConf', 'listTemplates', kparams);
1636
+ if (client.is_multirequest)
1637
+ return nil;
1638
+ end
1639
+ return client.do_queue();
1640
+ end
1641
+
1642
+ def list(filter=nil, pager=nil)
1643
+ kparams = {}
1644
+ client.add_param(kparams, 'filter', filter);
1645
+ client.add_param(kparams, 'pager', pager);
1646
+ client.queue_service_action_call('uiConf', 'list', kparams);
1647
+ if (client.is_multirequest)
1648
+ return nil;
1649
+ end
1650
+ return client.do_queue();
1651
+ end
1652
+ end #class UiConfService
1653
+
1654
+ class UploadService < KalturaServiceBase
1655
+ def initialize(client)
1656
+ super(client)
1657
+ end
1658
+
1659
+ def upload(file_data)
1660
+ kparams = {}
1661
+ client.add_param(kparams, 'fileData', file_data);
1662
+ client.queue_service_action_call('upload', 'upload', kparams);
1663
+ if (client.is_multirequest)
1664
+ return nil;
1665
+ end
1666
+ return client.do_queue();
1667
+ end
1668
+
1669
+ def get_uploaded_file_token_by_file_name(file_name)
1670
+ kparams = {}
1671
+ client.add_param(kparams, 'fileName', file_name);
1672
+ client.queue_service_action_call('upload', 'getUploadedFileTokenByFileName', kparams);
1673
+ if (client.is_multirequest)
1674
+ return nil;
1675
+ end
1676
+ return client.do_queue();
1677
+ end
1678
+ end #class UploadService
1679
+
1680
+ class UserService < KalturaServiceBase
1681
+ def initialize(client)
1682
+ super(client)
1683
+ end
1684
+
1685
+ def add(user)
1686
+ kparams = {}
1687
+ client.add_param(kparams, 'user', user);
1688
+ client.queue_service_action_call('user', 'add', kparams);
1689
+ if (client.is_multirequest)
1690
+ return nil;
1691
+ end
1692
+ return client.do_queue();
1693
+ end
1694
+
1695
+ def update(user_id, user)
1696
+ kparams = {}
1697
+ client.add_param(kparams, 'userId', user_id);
1698
+ client.add_param(kparams, 'user', user);
1699
+ client.queue_service_action_call('user', 'update', kparams);
1700
+ if (client.is_multirequest)
1701
+ return nil;
1702
+ end
1703
+ return client.do_queue();
1704
+ end
1705
+
1706
+ def get(user_id)
1707
+ kparams = {}
1708
+ client.add_param(kparams, 'userId', user_id);
1709
+ client.queue_service_action_call('user', 'get', kparams);
1710
+ if (client.is_multirequest)
1711
+ return nil;
1712
+ end
1713
+ return client.do_queue();
1714
+ end
1715
+
1716
+ def delete(user_id)
1717
+ kparams = {}
1718
+ client.add_param(kparams, 'userId', user_id);
1719
+ client.queue_service_action_call('user', 'delete', kparams);
1720
+ if (client.is_multirequest)
1721
+ return nil;
1722
+ end
1723
+ return client.do_queue();
1724
+ end
1725
+
1726
+ def list(filter=nil, pager=nil)
1727
+ kparams = {}
1728
+ client.add_param(kparams, 'filter', filter);
1729
+ client.add_param(kparams, 'pager', pager);
1730
+ client.queue_service_action_call('user', 'list', kparams);
1731
+ if (client.is_multirequest)
1732
+ return nil;
1733
+ end
1734
+ return client.do_queue();
1735
+ end
1736
+
1737
+ def notify_ban(user_id)
1738
+ kparams = {}
1739
+ client.add_param(kparams, 'userId', user_id);
1740
+ client.queue_service_action_call('user', 'notifyBan', kparams);
1741
+ if (client.is_multirequest)
1742
+ return nil;
1743
+ end
1744
+ return client.do_queue();
1745
+ end
1746
+ end #class UserService
1747
+
1748
+ class WidgetService < KalturaServiceBase
1749
+ def initialize(client)
1750
+ super(client)
1751
+ end
1752
+
1753
+ def add(widget)
1754
+ kparams = {}
1755
+ client.add_param(kparams, 'widget', widget);
1756
+ client.queue_service_action_call('widget', 'add', kparams);
1757
+ if (client.is_multirequest)
1758
+ return nil;
1759
+ end
1760
+ return client.do_queue();
1761
+ end
1762
+
1763
+ def update(id, widget)
1764
+ kparams = {}
1765
+ client.add_param(kparams, 'id', id);
1766
+ client.add_param(kparams, 'widget', widget);
1767
+ client.queue_service_action_call('widget', 'update', kparams);
1768
+ if (client.is_multirequest)
1769
+ return nil;
1770
+ end
1771
+ return client.do_queue();
1772
+ end
1773
+
1774
+ def get(id)
1775
+ kparams = {}
1776
+ client.add_param(kparams, 'id', id);
1777
+ client.queue_service_action_call('widget', 'get', kparams);
1778
+ if (client.is_multirequest)
1779
+ return nil;
1780
+ end
1781
+ return client.do_queue();
1782
+ end
1783
+
1784
+ def clone(widget)
1785
+ kparams = {}
1786
+ client.add_param(kparams, 'widget', widget);
1787
+ client.queue_service_action_call('widget', 'clone', kparams);
1788
+ if (client.is_multirequest)
1789
+ return nil;
1790
+ end
1791
+ return client.do_queue();
1792
+ end
1793
+
1794
+ def list(filter=nil, pager=nil)
1795
+ kparams = {}
1796
+ client.add_param(kparams, 'filter', filter);
1797
+ client.add_param(kparams, 'pager', pager);
1798
+ client.queue_service_action_call('widget', 'list', kparams);
1799
+ if (client.is_multirequest)
1800
+ return nil;
1801
+ end
1802
+ return client.do_queue();
1803
+ end
1804
+ end #class WidgetService
1805
+
1806
+ class XInternalService < KalturaServiceBase
1807
+ def initialize(client)
1808
+ super(client)
1809
+ end
1810
+
1811
+ def x_add_bulk_download(entry_ids, flavor_params_id='')
1812
+ kparams = {}
1813
+ client.add_param(kparams, 'entryIds', entry_ids);
1814
+ client.add_param(kparams, 'flavorParamsId', flavor_params_id);
1815
+ client.queue_service_action_call('xInternal', 'xAddBulkDownload', kparams);
1816
+ if (client.is_multirequest)
1817
+ return nil;
1818
+ end
1819
+ return client.do_queue();
1820
+ end
1821
+ end #class XInternalService
1822
+
1823
+ class SystemUserService < KalturaServiceBase
1824
+ def initialize(client)
1825
+ super(client)
1826
+ end
1827
+
1828
+ def verify_password(email, password)
1829
+ kparams = {}
1830
+ client.add_param(kparams, 'email', email);
1831
+ client.add_param(kparams, 'password', password);
1832
+ client.queue_service_action_call('systemUser', 'verifyPassword', kparams);
1833
+ if (client.is_multirequest)
1834
+ return nil;
1835
+ end
1836
+ return client.do_queue();
1837
+ end
1838
+
1839
+ def generate_new_password()
1840
+ kparams = {}
1841
+ client.queue_service_action_call('systemUser', 'generateNewPassword', kparams);
1842
+ if (client.is_multirequest)
1843
+ return nil;
1844
+ end
1845
+ return client.do_queue();
1846
+ end
1847
+
1848
+ def set_new_password(user_id, password)
1849
+ kparams = {}
1850
+ client.add_param(kparams, 'userId', user_id);
1851
+ client.add_param(kparams, 'password', password);
1852
+ client.queue_service_action_call('systemUser', 'setNewPassword', kparams);
1853
+ if (client.is_multirequest)
1854
+ return nil;
1855
+ end
1856
+ return client.do_queue();
1857
+ end
1858
+
1859
+ def add(system_user)
1860
+ kparams = {}
1861
+ client.add_param(kparams, 'systemUser', system_user);
1862
+ client.queue_service_action_call('systemUser', 'add', kparams);
1863
+ if (client.is_multirequest)
1864
+ return nil;
1865
+ end
1866
+ return client.do_queue();
1867
+ end
1868
+
1869
+ def get(user_id)
1870
+ kparams = {}
1871
+ client.add_param(kparams, 'userId', user_id);
1872
+ client.queue_service_action_call('systemUser', 'get', kparams);
1873
+ if (client.is_multirequest)
1874
+ return nil;
1875
+ end
1876
+ return client.do_queue();
1877
+ end
1878
+
1879
+ def get_by_email(email)
1880
+ kparams = {}
1881
+ client.add_param(kparams, 'email', email);
1882
+ client.queue_service_action_call('systemUser', 'getByEmail', kparams);
1883
+ if (client.is_multirequest)
1884
+ return nil;
1885
+ end
1886
+ return client.do_queue();
1887
+ end
1888
+
1889
+ def update(user_id, system_user)
1890
+ kparams = {}
1891
+ client.add_param(kparams, 'userId', user_id);
1892
+ client.add_param(kparams, 'systemUser', system_user);
1893
+ client.queue_service_action_call('systemUser', 'update', kparams);
1894
+ if (client.is_multirequest)
1895
+ return nil;
1896
+ end
1897
+ return client.do_queue();
1898
+ end
1899
+
1900
+ def delete(user_id)
1901
+ kparams = {}
1902
+ client.add_param(kparams, 'userId', user_id);
1903
+ client.queue_service_action_call('systemUser', 'delete', kparams);
1904
+ if (client.is_multirequest)
1905
+ return nil;
1906
+ end
1907
+ return client.do_queue();
1908
+ end
1909
+
1910
+ def list(filter=nil, pager=nil)
1911
+ kparams = {}
1912
+ client.add_param(kparams, 'filter', filter);
1913
+ client.add_param(kparams, 'pager', pager);
1914
+ client.queue_service_action_call('systemUser', 'list', kparams);
1915
+ if (client.is_multirequest)
1916
+ return nil;
1917
+ end
1918
+ return client.do_queue();
1919
+ end
1920
+ end #class SystemUserService
1921
+
1922
+ class SystemPartnerService < KalturaServiceBase
1923
+ def initialize(client)
1924
+ super(client)
1925
+ end
1926
+
1927
+ def get(partner_id)
1928
+ kparams = {}
1929
+ client.add_param(kparams, 'partnerId', partner_id);
1930
+ client.queue_service_action_call('systemPartner', 'get', kparams);
1931
+ if (client.is_multirequest)
1932
+ return nil;
1933
+ end
1934
+ return client.do_queue();
1935
+ end
1936
+
1937
+ def get_usage(partner_filter=nil, usage_filter=nil, pager=nil)
1938
+ kparams = {}
1939
+ client.add_param(kparams, 'partnerFilter', partner_filter);
1940
+ client.add_param(kparams, 'usageFilter', usage_filter);
1941
+ client.add_param(kparams, 'pager', pager);
1942
+ client.queue_service_action_call('systemPartner', 'getUsage', kparams);
1943
+ if (client.is_multirequest)
1944
+ return nil;
1945
+ end
1946
+ return client.do_queue();
1947
+ end
1948
+
1949
+ def list(filter=nil, pager=nil)
1950
+ kparams = {}
1951
+ client.add_param(kparams, 'filter', filter);
1952
+ client.add_param(kparams, 'pager', pager);
1953
+ client.queue_service_action_call('systemPartner', 'list', kparams);
1954
+ if (client.is_multirequest)
1955
+ return nil;
1956
+ end
1957
+ return client.do_queue();
1958
+ end
1959
+
1960
+ def update_status(partner_id, status)
1961
+ kparams = {}
1962
+ client.add_param(kparams, 'partnerId', partner_id);
1963
+ client.add_param(kparams, 'status', status);
1964
+ client.queue_service_action_call('systemPartner', 'updateStatus', kparams);
1965
+ if (client.is_multirequest)
1966
+ return nil;
1967
+ end
1968
+ return client.do_queue();
1969
+ end
1970
+
1971
+ def get_admin_session(partner_id)
1972
+ kparams = {}
1973
+ client.add_param(kparams, 'partnerId', partner_id);
1974
+ client.queue_service_action_call('systemPartner', 'getAdminSession', kparams);
1975
+ if (client.is_multirequest)
1976
+ return nil;
1977
+ end
1978
+ return client.do_queue();
1979
+ end
1980
+
1981
+ def update_configuration(partner_id, configuration)
1982
+ kparams = {}
1983
+ client.add_param(kparams, 'partnerId', partner_id);
1984
+ client.add_param(kparams, 'configuration', configuration);
1985
+ client.queue_service_action_call('systemPartner', 'updateConfiguration', kparams);
1986
+ if (client.is_multirequest)
1987
+ return nil;
1988
+ end
1989
+ return client.do_queue();
1990
+ end
1991
+
1992
+ def get_configuration(partner_id)
1993
+ kparams = {}
1994
+ client.add_param(kparams, 'partnerId', partner_id);
1995
+ client.queue_service_action_call('systemPartner', 'getConfiguration', kparams);
1996
+ if (client.is_multirequest)
1997
+ return nil;
1998
+ end
1999
+ return client.do_queue();
2000
+ end
2001
+
2002
+ def get_packages()
2003
+ kparams = {}
2004
+ client.queue_service_action_call('systemPartner', 'getPackages', kparams);
2005
+ if (client.is_multirequest)
2006
+ return nil;
2007
+ end
2008
+ return client.do_queue();
2009
+ end
2010
+ end #class SystemPartnerService
2011
+
2012
+ class FileSyncService < KalturaServiceBase
2013
+ def initialize(client)
2014
+ super(client)
2015
+ end
2016
+
2017
+ def list(filter=nil, pager=nil)
2018
+ kparams = {}
2019
+ client.add_param(kparams, 'filter', filter);
2020
+ client.add_param(kparams, 'pager', pager);
2021
+ client.queue_service_action_call('fileSync', 'list', kparams);
2022
+ if (client.is_multirequest)
2023
+ return nil;
2024
+ end
2025
+ return client.do_queue();
2026
+ end
2027
+ end #class FileSyncService
2028
+
2029
+ class FlavorParamsOutputService < KalturaServiceBase
2030
+ def initialize(client)
2031
+ super(client)
2032
+ end
2033
+
2034
+ def list(filter=nil, pager=nil)
2035
+ kparams = {}
2036
+ client.add_param(kparams, 'filter', filter);
2037
+ client.add_param(kparams, 'pager', pager);
2038
+ client.queue_service_action_call('flavorParamsOutput', 'list', kparams);
2039
+ if (client.is_multirequest)
2040
+ return nil;
2041
+ end
2042
+ return client.do_queue();
2043
+ end
2044
+ end #class FlavorParamsOutputService
2045
+
2046
+ class MediaInfoService < KalturaServiceBase
2047
+ def initialize(client)
2048
+ super(client)
2049
+ end
2050
+
2051
+ def list(filter=nil, pager=nil)
2052
+ kparams = {}
2053
+ client.add_param(kparams, 'filter', filter);
2054
+ client.add_param(kparams, 'pager', pager);
2055
+ client.queue_service_action_call('mediaInfo', 'list', kparams);
2056
+ if (client.is_multirequest)
2057
+ return nil;
2058
+ end
2059
+ return client.do_queue();
2060
+ end
2061
+ end #class MediaInfoService
2062
+
2063
+ class EntryAdminService < KalturaServiceBase
2064
+ def initialize(client)
2065
+ super(client)
2066
+ end
2067
+
2068
+ def get(entry_id, version=-1)
2069
+ kparams = {}
2070
+ client.add_param(kparams, 'entryId', entry_id);
2071
+ client.add_param(kparams, 'version', version);
2072
+ client.queue_service_action_call('entryAdmin', 'get', kparams);
2073
+ if (client.is_multirequest)
2074
+ return nil;
2075
+ end
2076
+ return client.do_queue();
2077
+ end
2078
+ end #class EntryAdminService
2079
+ end #module Service
2080
+ end #module Kaltura