velir_kaltura-ruby 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.document +5 -0
  2. data/.gitignore +7 -0
  3. data/LICENSE +661 -0
  4. data/README.rdoc +45 -0
  5. data/Rakefile +60 -0
  6. data/VERSION +1 -0
  7. data/VERSION.yml +5 -0
  8. data/lib/kaltura/constants/access_control_order_by.rb +8 -0
  9. data/lib/kaltura/constants/audio_codec.rb +11 -0
  10. data/lib/kaltura/constants/base.rb +34 -0
  11. data/lib/kaltura/constants/batch_job.rb +62 -0
  12. data/lib/kaltura/constants/bit_rate_mode.rb +8 -0
  13. data/lib/kaltura/constants/category_order_by.rb +12 -0
  14. data/lib/kaltura/constants/commercial_use_type.rb +8 -0
  15. data/lib/kaltura/constants/container_format.rb +15 -0
  16. data/lib/kaltura/constants/control_panel_command.rb +34 -0
  17. data/lib/kaltura/constants/conversion_profile_order_by.rb +8 -0
  18. data/lib/kaltura/constants/country_restriction_type.rb +8 -0
  19. data/lib/kaltura/constants/data_entry_order_by.rb +14 -0
  20. data/lib/kaltura/constants/directory_restriction_type.rb +8 -0
  21. data/lib/kaltura/constants/document.rb +21 -0
  22. data/lib/kaltura/constants/duration_type.rb +10 -0
  23. data/lib/kaltura/constants/editor_type.rb +8 -0
  24. data/lib/kaltura/constants/email_ingestion_profile_status.rb +8 -0
  25. data/lib/kaltura/constants/entry.rb +35 -0
  26. data/lib/kaltura/constants/file_sync.rb +39 -0
  27. data/lib/kaltura/constants/flavor_asset_status.rb +12 -0
  28. data/lib/kaltura/constants/gender.rb +9 -0
  29. data/lib/kaltura/constants/google_syndication_feed.rb +21 -0
  30. data/lib/kaltura/constants/i_tunes_syndication_feed/categories.rb +75 -0
  31. data/lib/kaltura/constants/i_tunes_syndication_feed.rb +24 -0
  32. data/lib/kaltura/constants/license_type.rb +23 -0
  33. data/lib/kaltura/constants/live_stream_admin_entry_order_by.rb +24 -0
  34. data/lib/kaltura/constants/mail_job_order_by.rb +10 -0
  35. data/lib/kaltura/constants/media.rb +36 -0
  36. data/lib/kaltura/constants/mix_entry_order_by.rb +22 -0
  37. data/lib/kaltura/constants/moderation.rb +22 -0
  38. data/lib/kaltura/constants/notification.rb +24 -0
  39. data/lib/kaltura/constants/nullable_boolean.rb +9 -0
  40. data/lib/kaltura/constants/partner.rb +39 -0
  41. data/lib/kaltura/constants/playable_entry_order_by.rb +22 -0
  42. data/lib/kaltura/constants/playlist.rb +22 -0
  43. data/lib/kaltura/constants/report_type.rb +14 -0
  44. data/lib/kaltura/constants/search_provider_type.rb +22 -0
  45. data/lib/kaltura/constants/session_type.rb +8 -0
  46. data/lib/kaltura/constants/site_restriction_type.rb +8 -0
  47. data/lib/kaltura/constants/source_type.rb +11 -0
  48. data/lib/kaltura/constants/stats/kmc_event_type.rb +71 -0
  49. data/lib/kaltura/constants/stats.rb +36 -0
  50. data/lib/kaltura/constants/syndication_feed.rb +17 -0
  51. data/lib/kaltura/constants/system_user.rb +17 -0
  52. data/lib/kaltura/constants/tube_mogul_syndication_feed.rb +34 -0
  53. data/lib/kaltura/constants/ui_conf.rb +26 -0
  54. data/lib/kaltura/constants/upload_error_code.rb +9 -0
  55. data/lib/kaltura/constants/user.rb +16 -0
  56. data/lib/kaltura/constants/video_codec.rb +16 -0
  57. data/lib/kaltura/constants/widget.rb +15 -0
  58. data/lib/kaltura/constants/yahoo_syndication_feed.rb +44 -0
  59. data/lib/kaltura/constants.rb +64 -0
  60. data/lib/kaltura/kaltura_client.rb +4750 -0
  61. data/lib/kaltura/kaltura_client_base.rb +286 -0
  62. data/lib/kaltura.rb +16 -0
  63. data/test/kaltura-ruby_test.rb +7 -0
  64. data/test/test.rb +23 -0
  65. data/test/test_2.rb +26 -0
  66. data/test/test_error.rb +14 -0
  67. data/test/test_helper.rb +10 -0
  68. data/velir_kaltura-ruby.gemspec +123 -0
  69. metadata +196 -0
@@ -0,0 +1,4750 @@
1
+
2
+ module Kaltura
3
+
4
+ class KalturaBaseRestriction < KalturaObjectBase
5
+
6
+ end
7
+
8
+ class KalturaAccessControl < KalturaObjectBase
9
+ attr_accessor :id
10
+ attr_accessor :partner_id
11
+ attr_accessor :name
12
+ attr_accessor :description
13
+ attr_accessor :created_at
14
+ attr_accessor :is_default
15
+ attr_accessor :restrictions
16
+
17
+ def id=(val)
18
+ @id = val.to_i
19
+ end
20
+ def partner_id=(val)
21
+ @partner_id = val.to_i
22
+ end
23
+ def created_at=(val)
24
+ @created_at = val.to_i
25
+ end
26
+ def is_default=(val)
27
+ @is_default = val.to_i
28
+ end
29
+ end
30
+
31
+ class KalturaFilter < KalturaObjectBase
32
+ attr_accessor :order_by
33
+
34
+ end
35
+
36
+ class KalturaAccessControlFilter < KalturaFilter
37
+ attr_accessor :id_equal
38
+ attr_accessor :id_in
39
+ attr_accessor :created_at_greater_than_or_equal
40
+ attr_accessor :created_at_less_than_or_equal
41
+
42
+ def id_equal=(val)
43
+ @id_equal = val.to_i
44
+ end
45
+ def created_at_greater_than_or_equal=(val)
46
+ @created_at_greater_than_or_equal = val.to_i
47
+ end
48
+ def created_at_less_than_or_equal=(val)
49
+ @created_at_less_than_or_equal = val.to_i
50
+ end
51
+ end
52
+
53
+ class KalturaFilterPager < KalturaObjectBase
54
+ attr_accessor :page_size
55
+ attr_accessor :page_index
56
+
57
+ def page_size=(val)
58
+ @page_size = val.to_i
59
+ end
60
+ def page_index=(val)
61
+ @page_index = val.to_i
62
+ end
63
+ end
64
+
65
+ class KalturaAccessControlListResponse < KalturaObjectBase
66
+ attr_accessor :objects
67
+ attr_accessor :total_count
68
+
69
+ def total_count=(val)
70
+ @total_count = val.to_i
71
+ end
72
+ end
73
+
74
+ class KalturaAdminUser < KalturaObjectBase
75
+ attr_accessor :password
76
+ attr_accessor :email
77
+ attr_accessor :screen_name
78
+
79
+ end
80
+
81
+ class KalturaBaseEntry < KalturaObjectBase
82
+ attr_accessor :id
83
+ attr_accessor :name
84
+ attr_accessor :description
85
+ attr_accessor :partner_id
86
+ attr_accessor :user_id
87
+ attr_accessor :tags
88
+ attr_accessor :admin_tags
89
+ attr_accessor :categories
90
+ attr_accessor :status
91
+ attr_accessor :moderation_status
92
+ attr_accessor :moderation_count
93
+ attr_accessor :type
94
+ attr_accessor :created_at
95
+ attr_accessor :rank
96
+ attr_accessor :total_rank
97
+ attr_accessor :votes
98
+ attr_accessor :group_id
99
+ attr_accessor :partner_data
100
+ attr_accessor :download_url
101
+ attr_accessor :search_text
102
+ attr_accessor :license_type
103
+ attr_accessor :version
104
+ attr_accessor :thumbnail_url
105
+ attr_accessor :access_control_id
106
+ attr_accessor :start_date
107
+ attr_accessor :end_date
108
+
109
+ def partner_id=(val)
110
+ @partner_id = val.to_i
111
+ end
112
+ def status=(val)
113
+ @status = val.to_i
114
+ end
115
+ def moderation_status=(val)
116
+ @moderation_status = val.to_i
117
+ end
118
+ def moderation_count=(val)
119
+ @moderation_count = val.to_i
120
+ end
121
+ def type=(val)
122
+ @type = val.to_i
123
+ end
124
+ def created_at=(val)
125
+ @created_at = val.to_i
126
+ end
127
+ def rank=(val)
128
+ @rank = val.to_f
129
+ end
130
+ def total_rank=(val)
131
+ @total_rank = val.to_i
132
+ end
133
+ def votes=(val)
134
+ @votes = val.to_i
135
+ end
136
+ def group_id=(val)
137
+ @group_id = val.to_i
138
+ end
139
+ def license_type=(val)
140
+ @license_type = val.to_i
141
+ end
142
+ def version=(val)
143
+ @version = val.to_i
144
+ end
145
+ def access_control_id=(val)
146
+ @access_control_id = val.to_i
147
+ end
148
+ def start_date=(val)
149
+ @start_date = val.to_i
150
+ end
151
+ def end_date=(val)
152
+ @end_date = val.to_i
153
+ end
154
+ end
155
+
156
+ class KalturaBaseEntryFilter < KalturaFilter
157
+ attr_accessor :id_equal
158
+ attr_accessor :id_in
159
+ attr_accessor :name_like
160
+ attr_accessor :name_multi_like_or
161
+ attr_accessor :name_multi_like_and
162
+ attr_accessor :name_equal
163
+ attr_accessor :partner_id_equal
164
+ attr_accessor :partner_id_in
165
+ attr_accessor :user_id_equal
166
+ attr_accessor :tags_like
167
+ attr_accessor :tags_multi_like_or
168
+ attr_accessor :tags_multi_like_and
169
+ attr_accessor :admin_tags_like
170
+ attr_accessor :admin_tags_multi_like_or
171
+ attr_accessor :admin_tags_multi_like_and
172
+ attr_accessor :categories_match_and
173
+ attr_accessor :categories_match_or
174
+ attr_accessor :status_equal
175
+ attr_accessor :status_not_equal
176
+ attr_accessor :status_in
177
+ attr_accessor :status_not_in
178
+ attr_accessor :moderation_status_equal
179
+ attr_accessor :moderation_status_not_equal
180
+ attr_accessor :moderation_status_in
181
+ attr_accessor :moderation_status_not_in
182
+ attr_accessor :type_equal
183
+ attr_accessor :type_in
184
+ attr_accessor :created_at_greater_than_or_equal
185
+ attr_accessor :created_at_less_than_or_equal
186
+ attr_accessor :group_id_equal
187
+ attr_accessor :search_text_match_and
188
+ attr_accessor :search_text_match_or
189
+ attr_accessor :access_control_id_equal
190
+ attr_accessor :access_control_id_in
191
+ attr_accessor :start_date_greater_than_or_equal
192
+ attr_accessor :start_date_less_than_or_equal
193
+ attr_accessor :start_date_greater_than_or_equal_or_null
194
+ attr_accessor :start_date_less_than_or_equal_or_null
195
+ attr_accessor :end_date_greater_than_or_equal
196
+ attr_accessor :end_date_less_than_or_equal
197
+ attr_accessor :end_date_greater_than_or_equal_or_null
198
+ attr_accessor :end_date_less_than_or_equal_or_null
199
+ attr_accessor :tags_name_multi_like_or
200
+ attr_accessor :tags_admin_tags_multi_like_or
201
+ attr_accessor :tags_admin_tags_name_multi_like_or
202
+ attr_accessor :tags_name_multi_like_and
203
+ attr_accessor :tags_admin_tags_multi_like_and
204
+ attr_accessor :tags_admin_tags_name_multi_like_and
205
+
206
+ def partner_id_equal=(val)
207
+ @partner_id_equal = val.to_i
208
+ end
209
+ def status_equal=(val)
210
+ @status_equal = val.to_i
211
+ end
212
+ def status_not_equal=(val)
213
+ @status_not_equal = val.to_i
214
+ end
215
+ def status_not_in=(val)
216
+ @status_not_in = val.to_i
217
+ end
218
+ def moderation_status_equal=(val)
219
+ @moderation_status_equal = val.to_i
220
+ end
221
+ def moderation_status_not_equal=(val)
222
+ @moderation_status_not_equal = val.to_i
223
+ end
224
+ def moderation_status_not_in=(val)
225
+ @moderation_status_not_in = val.to_i
226
+ end
227
+ def type_equal=(val)
228
+ @type_equal = val.to_i
229
+ end
230
+ def created_at_greater_than_or_equal=(val)
231
+ @created_at_greater_than_or_equal = val.to_i
232
+ end
233
+ def created_at_less_than_or_equal=(val)
234
+ @created_at_less_than_or_equal = val.to_i
235
+ end
236
+ def group_id_equal=(val)
237
+ @group_id_equal = val.to_i
238
+ end
239
+ def access_control_id_equal=(val)
240
+ @access_control_id_equal = val.to_i
241
+ end
242
+ def start_date_greater_than_or_equal=(val)
243
+ @start_date_greater_than_or_equal = val.to_i
244
+ end
245
+ def start_date_less_than_or_equal=(val)
246
+ @start_date_less_than_or_equal = val.to_i
247
+ end
248
+ def start_date_greater_than_or_equal_or_null=(val)
249
+ @start_date_greater_than_or_equal_or_null = val.to_i
250
+ end
251
+ def start_date_less_than_or_equal_or_null=(val)
252
+ @start_date_less_than_or_equal_or_null = val.to_i
253
+ end
254
+ def end_date_greater_than_or_equal=(val)
255
+ @end_date_greater_than_or_equal = val.to_i
256
+ end
257
+ def end_date_less_than_or_equal=(val)
258
+ @end_date_less_than_or_equal = val.to_i
259
+ end
260
+ def end_date_greater_than_or_equal_or_null=(val)
261
+ @end_date_greater_than_or_equal_or_null = val.to_i
262
+ end
263
+ def end_date_less_than_or_equal_or_null=(val)
264
+ @end_date_less_than_or_equal_or_null = val.to_i
265
+ end
266
+ end
267
+
268
+ class KalturaBaseEntryListResponse < KalturaObjectBase
269
+ attr_accessor :objects
270
+ attr_accessor :total_count
271
+
272
+ def total_count=(val)
273
+ @total_count = val.to_i
274
+ end
275
+ end
276
+
277
+ class KalturaModerationFlag < KalturaObjectBase
278
+ attr_accessor :id
279
+ attr_accessor :partner_id
280
+ attr_accessor :user_id
281
+ attr_accessor :moderation_object_type
282
+ attr_accessor :flagged_entry_id
283
+ attr_accessor :flagged_user_id
284
+ attr_accessor :status
285
+ attr_accessor :comments
286
+ attr_accessor :flag_type
287
+ attr_accessor :created_at
288
+ attr_accessor :updated_at
289
+
290
+ def id=(val)
291
+ @id = val.to_i
292
+ end
293
+ def partner_id=(val)
294
+ @partner_id = val.to_i
295
+ end
296
+ def moderation_object_type=(val)
297
+ @moderation_object_type = val.to_i
298
+ end
299
+ def status=(val)
300
+ @status = val.to_i
301
+ end
302
+ def flag_type=(val)
303
+ @flag_type = val.to_i
304
+ end
305
+ def created_at=(val)
306
+ @created_at = val.to_i
307
+ end
308
+ def updated_at=(val)
309
+ @updated_at = val.to_i
310
+ end
311
+ end
312
+
313
+ class KalturaModerationFlagListResponse < KalturaObjectBase
314
+ attr_accessor :objects
315
+ attr_accessor :total_count
316
+
317
+ def total_count=(val)
318
+ @total_count = val.to_i
319
+ end
320
+ end
321
+
322
+ class KalturaEntryContextDataParams < KalturaObjectBase
323
+ attr_accessor :referrer
324
+
325
+ end
326
+
327
+ class KalturaEntryContextDataResult < KalturaObjectBase
328
+ attr_accessor :is_site_restricted
329
+ attr_accessor :is_country_restricted
330
+ attr_accessor :is_session_restricted
331
+ attr_accessor :preview_length
332
+ attr_accessor :is_scheduled_now
333
+ attr_accessor :is_admin
334
+
335
+ def is_site_restricted=(val)
336
+ @is_site_restricted = to_b(val)
337
+ end
338
+ def is_country_restricted=(val)
339
+ @is_country_restricted = to_b(val)
340
+ end
341
+ def is_session_restricted=(val)
342
+ @is_session_restricted = to_b(val)
343
+ end
344
+ def preview_length=(val)
345
+ @preview_length = val.to_i
346
+ end
347
+ def is_scheduled_now=(val)
348
+ @is_scheduled_now = to_b(val)
349
+ end
350
+ def is_admin=(val)
351
+ @is_admin = to_b(val)
352
+ end
353
+ end
354
+
355
+ class KalturaBulkUploadResult < KalturaObjectBase
356
+ attr_accessor :id
357
+ attr_accessor :bulk_upload_job_id
358
+ attr_accessor :line_index
359
+ attr_accessor :partner_id
360
+ attr_accessor :entry_id
361
+ attr_accessor :entry_status
362
+ attr_accessor :row_data
363
+ attr_accessor :title
364
+ attr_accessor :description
365
+ attr_accessor :tags
366
+ attr_accessor :url
367
+ attr_accessor :content_type
368
+ attr_accessor :conversion_profile_id
369
+ attr_accessor :access_control_profile_id
370
+ attr_accessor :category
371
+ attr_accessor :schedule_start_date
372
+ attr_accessor :schedule_end_date
373
+ attr_accessor :thumbnail_url
374
+ attr_accessor :thumbnail_saved
375
+ attr_accessor :partner_data
376
+ attr_accessor :error_description
377
+
378
+ def id=(val)
379
+ @id = val.to_i
380
+ end
381
+ def bulk_upload_job_id=(val)
382
+ @bulk_upload_job_id = val.to_i
383
+ end
384
+ def line_index=(val)
385
+ @line_index = val.to_i
386
+ end
387
+ def partner_id=(val)
388
+ @partner_id = val.to_i
389
+ end
390
+ def entry_status=(val)
391
+ @entry_status = val.to_i
392
+ end
393
+ def conversion_profile_id=(val)
394
+ @conversion_profile_id = val.to_i
395
+ end
396
+ def access_control_profile_id=(val)
397
+ @access_control_profile_id = val.to_i
398
+ end
399
+ def schedule_start_date=(val)
400
+ @schedule_start_date = val.to_i
401
+ end
402
+ def schedule_end_date=(val)
403
+ @schedule_end_date = val.to_i
404
+ end
405
+ def thumbnail_saved=(val)
406
+ @thumbnail_saved = to_b(val)
407
+ end
408
+ end
409
+
410
+ class KalturaBulkUpload < KalturaObjectBase
411
+ attr_accessor :id
412
+ attr_accessor :uploaded_by
413
+ attr_accessor :uploaded_on
414
+ attr_accessor :num_of_entries
415
+ attr_accessor :status
416
+ attr_accessor :log_file_url
417
+ attr_accessor :csv_file_url
418
+ attr_accessor :results
419
+
420
+ def id=(val)
421
+ @id = val.to_i
422
+ end
423
+ def uploaded_on=(val)
424
+ @uploaded_on = val.to_i
425
+ end
426
+ def num_of_entries=(val)
427
+ @num_of_entries = val.to_i
428
+ end
429
+ def status=(val)
430
+ @status = val.to_i
431
+ end
432
+ end
433
+
434
+ class KalturaBulkUploadListResponse < KalturaObjectBase
435
+ attr_accessor :objects
436
+ attr_accessor :total_count
437
+
438
+ def total_count=(val)
439
+ @total_count = val.to_i
440
+ end
441
+ end
442
+
443
+ class KalturaCategory < KalturaObjectBase
444
+ attr_accessor :id
445
+ attr_accessor :parent_id
446
+ attr_accessor :depth
447
+ attr_accessor :partner_id
448
+ attr_accessor :name
449
+ attr_accessor :full_name
450
+ attr_accessor :entries_count
451
+ attr_accessor :created_at
452
+
453
+ def id=(val)
454
+ @id = val.to_i
455
+ end
456
+ def parent_id=(val)
457
+ @parent_id = val.to_i
458
+ end
459
+ def depth=(val)
460
+ @depth = val.to_i
461
+ end
462
+ def partner_id=(val)
463
+ @partner_id = val.to_i
464
+ end
465
+ def entries_count=(val)
466
+ @entries_count = val.to_i
467
+ end
468
+ def created_at=(val)
469
+ @created_at = val.to_i
470
+ end
471
+ end
472
+
473
+ class KalturaCategoryFilter < KalturaFilter
474
+ attr_accessor :id_equal
475
+ attr_accessor :id_in
476
+ attr_accessor :parent_id_equal
477
+ attr_accessor :parent_id_in
478
+ attr_accessor :depth_equal
479
+ attr_accessor :full_name_equal
480
+ attr_accessor :full_name_starts_with
481
+
482
+ def id_equal=(val)
483
+ @id_equal = val.to_i
484
+ end
485
+ def parent_id_equal=(val)
486
+ @parent_id_equal = val.to_i
487
+ end
488
+ def depth_equal=(val)
489
+ @depth_equal = val.to_i
490
+ end
491
+ end
492
+
493
+ class KalturaCategoryListResponse < KalturaObjectBase
494
+ attr_accessor :objects
495
+ attr_accessor :total_count
496
+
497
+ def total_count=(val)
498
+ @total_count = val.to_i
499
+ end
500
+ end
501
+
502
+ class KalturaCropDimensions < KalturaObjectBase
503
+ attr_accessor :left
504
+ attr_accessor :top
505
+ attr_accessor :width
506
+ attr_accessor :height
507
+
508
+ def left=(val)
509
+ @left = val.to_i
510
+ end
511
+ def top=(val)
512
+ @top = val.to_i
513
+ end
514
+ def width=(val)
515
+ @width = val.to_i
516
+ end
517
+ def height=(val)
518
+ @height = val.to_i
519
+ end
520
+ end
521
+
522
+ class KalturaConversionProfile < KalturaObjectBase
523
+ attr_accessor :id
524
+ attr_accessor :partner_id
525
+ attr_accessor :name
526
+ attr_accessor :description
527
+ attr_accessor :created_at
528
+ attr_accessor :flavor_params_ids
529
+ attr_accessor :is_default
530
+ attr_accessor :crop_dimensions
531
+ attr_accessor :clip_start
532
+ attr_accessor :clip_duration
533
+
534
+ def id=(val)
535
+ @id = val.to_i
536
+ end
537
+ def partner_id=(val)
538
+ @partner_id = val.to_i
539
+ end
540
+ def created_at=(val)
541
+ @created_at = val.to_i
542
+ end
543
+ def is_default=(val)
544
+ @is_default = val.to_i
545
+ end
546
+ def clip_start=(val)
547
+ @clip_start = val.to_i
548
+ end
549
+ def clip_duration=(val)
550
+ @clip_duration = val.to_i
551
+ end
552
+ end
553
+
554
+ class KalturaConversionProfileFilter < KalturaFilter
555
+ attr_accessor :id_equal
556
+ attr_accessor :id_in
557
+
558
+ def id_equal=(val)
559
+ @id_equal = val.to_i
560
+ end
561
+ end
562
+
563
+ class KalturaConversionProfileListResponse < KalturaObjectBase
564
+ attr_accessor :objects
565
+ attr_accessor :total_count
566
+
567
+ def total_count=(val)
568
+ @total_count = val.to_i
569
+ end
570
+ end
571
+
572
+ class KalturaDataEntry < KalturaBaseEntry
573
+ attr_accessor :data_content
574
+
575
+ end
576
+
577
+ class KalturaDataEntryFilter < KalturaBaseEntryFilter
578
+
579
+ end
580
+
581
+ class KalturaDataListResponse < KalturaObjectBase
582
+ attr_accessor :objects
583
+ attr_accessor :total_count
584
+
585
+ def total_count=(val)
586
+ @total_count = val.to_i
587
+ end
588
+ end
589
+
590
+ class KalturaEmailIngestionProfile < KalturaObjectBase
591
+ attr_accessor :id
592
+ attr_accessor :name
593
+ attr_accessor :description
594
+ attr_accessor :email_address
595
+ attr_accessor :mailbox_id
596
+ attr_accessor :partner_id
597
+ attr_accessor :conversion_profile2id
598
+ attr_accessor :moderation_status
599
+ attr_accessor :status
600
+ attr_accessor :created_at
601
+ attr_accessor :default_category
602
+ attr_accessor :default_user_id
603
+ attr_accessor :default_tags
604
+ attr_accessor :default_admin_tags
605
+
606
+ def id=(val)
607
+ @id = val.to_i
608
+ end
609
+ def partner_id=(val)
610
+ @partner_id = val.to_i
611
+ end
612
+ def conversion_profile2id=(val)
613
+ @conversion_profile2id = val.to_i
614
+ end
615
+ def moderation_status=(val)
616
+ @moderation_status = val.to_i
617
+ end
618
+ def status=(val)
619
+ @status = val.to_i
620
+ end
621
+ end
622
+
623
+ class KalturaPlayableEntry < KalturaBaseEntry
624
+ attr_accessor :plays
625
+ attr_accessor :views
626
+ attr_accessor :width
627
+ attr_accessor :height
628
+ attr_accessor :duration
629
+ attr_accessor :ms_duration
630
+ attr_accessor :duration_type
631
+
632
+ def plays=(val)
633
+ @plays = val.to_i
634
+ end
635
+ def views=(val)
636
+ @views = val.to_i
637
+ end
638
+ def width=(val)
639
+ @width = val.to_i
640
+ end
641
+ def height=(val)
642
+ @height = val.to_i
643
+ end
644
+ def duration=(val)
645
+ @duration = val.to_i
646
+ end
647
+ def ms_duration=(val)
648
+ @ms_duration = val.to_i
649
+ end
650
+ end
651
+
652
+ class KalturaMediaEntry < KalturaPlayableEntry
653
+ attr_accessor :media_type
654
+ attr_accessor :conversion_quality
655
+ attr_accessor :source_type
656
+ attr_accessor :search_provider_type
657
+ attr_accessor :search_provider_id
658
+ attr_accessor :credit_user_name
659
+ attr_accessor :credit_url
660
+ attr_accessor :media_date
661
+ attr_accessor :data_url
662
+ attr_accessor :flavor_params_ids
663
+
664
+ def media_type=(val)
665
+ @media_type = val.to_i
666
+ end
667
+ def source_type=(val)
668
+ @source_type = val.to_i
669
+ end
670
+ def search_provider_type=(val)
671
+ @search_provider_type = val.to_i
672
+ end
673
+ def media_date=(val)
674
+ @media_date = val.to_i
675
+ end
676
+ end
677
+
678
+ class KalturaFlavorAsset < KalturaObjectBase
679
+ attr_accessor :id
680
+ attr_accessor :entry_id
681
+ attr_accessor :partner_id
682
+ attr_accessor :status
683
+ attr_accessor :flavor_params_id
684
+ attr_accessor :version
685
+ attr_accessor :width
686
+ attr_accessor :height
687
+ attr_accessor :bitrate
688
+ attr_accessor :frame_rate
689
+ attr_accessor :size
690
+ attr_accessor :is_original
691
+ attr_accessor :tags
692
+ attr_accessor :is_web
693
+ attr_accessor :file_ext
694
+ attr_accessor :container_format
695
+ attr_accessor :video_codec_id
696
+ attr_accessor :created_at
697
+ attr_accessor :updated_at
698
+ attr_accessor :deleted_at
699
+ attr_accessor :description
700
+
701
+ def partner_id=(val)
702
+ @partner_id = val.to_i
703
+ end
704
+ def status=(val)
705
+ @status = val.to_i
706
+ end
707
+ def flavor_params_id=(val)
708
+ @flavor_params_id = val.to_i
709
+ end
710
+ def version=(val)
711
+ @version = val.to_i
712
+ end
713
+ def width=(val)
714
+ @width = val.to_i
715
+ end
716
+ def height=(val)
717
+ @height = val.to_i
718
+ end
719
+ def bitrate=(val)
720
+ @bitrate = val.to_i
721
+ end
722
+ def frame_rate=(val)
723
+ @frame_rate = val.to_i
724
+ end
725
+ def size=(val)
726
+ @size = val.to_i
727
+ end
728
+ def is_original=(val)
729
+ @is_original = to_b(val)
730
+ end
731
+ def is_web=(val)
732
+ @is_web = to_b(val)
733
+ end
734
+ def created_at=(val)
735
+ @created_at = val.to_i
736
+ end
737
+ def updated_at=(val)
738
+ @updated_at = val.to_i
739
+ end
740
+ def deleted_at=(val)
741
+ @deleted_at = val.to_i
742
+ end
743
+ end
744
+
745
+ class KalturaFlavorParams < KalturaObjectBase
746
+ attr_accessor :id
747
+ attr_accessor :partner_id
748
+ attr_accessor :name
749
+ attr_accessor :description
750
+ attr_accessor :created_at
751
+ attr_accessor :is_system_default
752
+ attr_accessor :tags
753
+ attr_accessor :format
754
+ attr_accessor :video_codec
755
+ attr_accessor :video_bitrate
756
+ attr_accessor :audio_codec
757
+ attr_accessor :audio_bitrate
758
+ attr_accessor :audio_channels
759
+ attr_accessor :audio_sample_rate
760
+ attr_accessor :width
761
+ attr_accessor :height
762
+ attr_accessor :frame_rate
763
+ attr_accessor :gop_size
764
+ attr_accessor :conversion_engines
765
+ attr_accessor :conversion_engines_extra_params
766
+ attr_accessor :two_pass
767
+
768
+ def id=(val)
769
+ @id = val.to_i
770
+ end
771
+ def partner_id=(val)
772
+ @partner_id = val.to_i
773
+ end
774
+ def created_at=(val)
775
+ @created_at = val.to_i
776
+ end
777
+ def is_system_default=(val)
778
+ @is_system_default = val.to_i
779
+ end
780
+ def video_bitrate=(val)
781
+ @video_bitrate = val.to_i
782
+ end
783
+ def audio_bitrate=(val)
784
+ @audio_bitrate = val.to_i
785
+ end
786
+ def audio_channels=(val)
787
+ @audio_channels = val.to_i
788
+ end
789
+ def audio_sample_rate=(val)
790
+ @audio_sample_rate = val.to_i
791
+ end
792
+ def width=(val)
793
+ @width = val.to_i
794
+ end
795
+ def height=(val)
796
+ @height = val.to_i
797
+ end
798
+ def frame_rate=(val)
799
+ @frame_rate = val.to_i
800
+ end
801
+ def gop_size=(val)
802
+ @gop_size = val.to_i
803
+ end
804
+ def two_pass=(val)
805
+ @two_pass = to_b(val)
806
+ end
807
+ end
808
+
809
+ class KalturaFlavorAssetWithParams < KalturaObjectBase
810
+ attr_accessor :flavor_asset
811
+ attr_accessor :flavor_params
812
+ attr_accessor :entry_id
813
+
814
+ end
815
+
816
+ class KalturaFlavorParamsFilter < KalturaFilter
817
+ attr_accessor :is_system_default_equal
818
+
819
+ def is_system_default_equal=(val)
820
+ @is_system_default_equal = val.to_i
821
+ end
822
+ end
823
+
824
+ class KalturaFlavorParamsListResponse < KalturaObjectBase
825
+ attr_accessor :objects
826
+ attr_accessor :total_count
827
+
828
+ def total_count=(val)
829
+ @total_count = val.to_i
830
+ end
831
+ end
832
+
833
+ class KalturaLiveStreamBitrate < KalturaObjectBase
834
+ attr_accessor :bitrate
835
+ attr_accessor :width
836
+ attr_accessor :height
837
+
838
+ def bitrate=(val)
839
+ @bitrate = val.to_i
840
+ end
841
+ def width=(val)
842
+ @width = val.to_i
843
+ end
844
+ def height=(val)
845
+ @height = val.to_i
846
+ end
847
+ end
848
+
849
+ class KalturaLiveStreamEntry < KalturaMediaEntry
850
+ attr_accessor :offline_message
851
+ attr_accessor :stream_remote_id
852
+ attr_accessor :stream_remote_backup_id
853
+ attr_accessor :bitrates
854
+
855
+ end
856
+
857
+ class KalturaLiveStreamAdminEntry < KalturaLiveStreamEntry
858
+ attr_accessor :encoding_ip1
859
+ attr_accessor :encoding_ip2
860
+ attr_accessor :stream_password
861
+ attr_accessor :stream_username
862
+
863
+ end
864
+
865
+ class KalturaPlayableEntryFilter < KalturaBaseEntryFilter
866
+ attr_accessor :duration_less_than
867
+ attr_accessor :duration_greater_than
868
+ attr_accessor :duration_less_than_or_equal
869
+ attr_accessor :duration_greater_than_or_equal
870
+ attr_accessor :ms_duration_less_than
871
+ attr_accessor :ms_duration_greater_than
872
+ attr_accessor :ms_duration_less_than_or_equal
873
+ attr_accessor :ms_duration_greater_than_or_equal
874
+ attr_accessor :duration_type_match_or
875
+
876
+ def duration_less_than=(val)
877
+ @duration_less_than = val.to_i
878
+ end
879
+ def duration_greater_than=(val)
880
+ @duration_greater_than = val.to_i
881
+ end
882
+ def duration_less_than_or_equal=(val)
883
+ @duration_less_than_or_equal = val.to_i
884
+ end
885
+ def duration_greater_than_or_equal=(val)
886
+ @duration_greater_than_or_equal = val.to_i
887
+ end
888
+ def ms_duration_less_than=(val)
889
+ @ms_duration_less_than = val.to_i
890
+ end
891
+ def ms_duration_greater_than=(val)
892
+ @ms_duration_greater_than = val.to_i
893
+ end
894
+ def ms_duration_less_than_or_equal=(val)
895
+ @ms_duration_less_than_or_equal = val.to_i
896
+ end
897
+ def ms_duration_greater_than_or_equal=(val)
898
+ @ms_duration_greater_than_or_equal = val.to_i
899
+ end
900
+ end
901
+
902
+ class KalturaMediaEntryFilter < KalturaPlayableEntryFilter
903
+ attr_accessor :media_type_equal
904
+ attr_accessor :media_type_in
905
+ attr_accessor :media_date_greater_than_or_equal
906
+ attr_accessor :media_date_less_than_or_equal
907
+ attr_accessor :flavor_params_ids_match_or
908
+ attr_accessor :flavor_params_ids_match_and
909
+
910
+ def media_type_equal=(val)
911
+ @media_type_equal = val.to_i
912
+ end
913
+ def media_date_greater_than_or_equal=(val)
914
+ @media_date_greater_than_or_equal = val.to_i
915
+ end
916
+ def media_date_less_than_or_equal=(val)
917
+ @media_date_less_than_or_equal = val.to_i
918
+ end
919
+ end
920
+
921
+ class KalturaLiveStreamEntryFilter < KalturaMediaEntryFilter
922
+
923
+ end
924
+
925
+ class KalturaLiveStreamListResponse < KalturaObjectBase
926
+ attr_accessor :objects
927
+ attr_accessor :total_count
928
+
929
+ def total_count=(val)
930
+ @total_count = val.to_i
931
+ end
932
+ end
933
+
934
+ class KalturaSearch < KalturaObjectBase
935
+ attr_accessor :key_words
936
+ attr_accessor :search_source
937
+ attr_accessor :media_type
938
+ attr_accessor :extra_data
939
+ attr_accessor :auth_data
940
+
941
+ def search_source=(val)
942
+ @search_source = val.to_i
943
+ end
944
+ def media_type=(val)
945
+ @media_type = val.to_i
946
+ end
947
+ end
948
+
949
+ class KalturaSearchResult < KalturaSearch
950
+ attr_accessor :id
951
+ attr_accessor :title
952
+ attr_accessor :thumb_url
953
+ attr_accessor :description
954
+ attr_accessor :tags
955
+ attr_accessor :url
956
+ attr_accessor :source_link
957
+ attr_accessor :credit
958
+ attr_accessor :license_type
959
+ attr_accessor :flash_playback_type
960
+
961
+ def license_type=(val)
962
+ @license_type = val.to_i
963
+ end
964
+ end
965
+
966
+ class KalturaMediaListResponse < KalturaObjectBase
967
+ attr_accessor :objects
968
+ attr_accessor :total_count
969
+
970
+ def total_count=(val)
971
+ @total_count = val.to_i
972
+ end
973
+ end
974
+
975
+ class KalturaMixEntry < KalturaPlayableEntry
976
+ attr_accessor :has_real_thumbnail
977
+ attr_accessor :editor_type
978
+ attr_accessor :data_content
979
+
980
+ def has_real_thumbnail=(val)
981
+ @has_real_thumbnail = to_b(val)
982
+ end
983
+ def editor_type=(val)
984
+ @editor_type = val.to_i
985
+ end
986
+ end
987
+
988
+ class KalturaMixEntryFilter < KalturaPlayableEntryFilter
989
+
990
+ end
991
+
992
+ class KalturaMixListResponse < KalturaObjectBase
993
+ attr_accessor :objects
994
+ attr_accessor :total_count
995
+
996
+ def total_count=(val)
997
+ @total_count = val.to_i
998
+ end
999
+ end
1000
+
1001
+ class KalturaClientNotification < KalturaObjectBase
1002
+ attr_accessor :url
1003
+ attr_accessor :data
1004
+
1005
+ end
1006
+
1007
+ class KalturaPartner < KalturaObjectBase
1008
+ attr_accessor :id
1009
+ attr_accessor :name
1010
+ attr_accessor :website
1011
+ attr_accessor :notification_url
1012
+ attr_accessor :appear_in_search
1013
+ attr_accessor :created_at
1014
+ attr_accessor :admin_name
1015
+ attr_accessor :admin_email
1016
+ attr_accessor :description
1017
+ attr_accessor :commercial_use
1018
+ attr_accessor :landing_page
1019
+ attr_accessor :user_landing_page
1020
+ attr_accessor :content_categories
1021
+ attr_accessor :type
1022
+ attr_accessor :phone
1023
+ attr_accessor :describe_yourself
1024
+ attr_accessor :adult_content
1025
+ attr_accessor :def_conversion_profile_type
1026
+ attr_accessor :notify
1027
+ attr_accessor :status
1028
+ attr_accessor :allow_quick_edit
1029
+ attr_accessor :merge_entry_lists
1030
+ attr_accessor :notifications_config
1031
+ attr_accessor :max_upload_size
1032
+ attr_accessor :partner_package
1033
+ attr_accessor :secret
1034
+ attr_accessor :admin_secret
1035
+ attr_accessor :cms_password
1036
+ attr_accessor :allow_multi_notification
1037
+
1038
+ def id=(val)
1039
+ @id = val.to_i
1040
+ end
1041
+ def appear_in_search=(val)
1042
+ @appear_in_search = val.to_i
1043
+ end
1044
+ def type=(val)
1045
+ @type = val.to_i
1046
+ end
1047
+ def adult_content=(val)
1048
+ @adult_content = to_b(val)
1049
+ end
1050
+ def notify=(val)
1051
+ @notify = val.to_i
1052
+ end
1053
+ def status=(val)
1054
+ @status = val.to_i
1055
+ end
1056
+ def allow_quick_edit=(val)
1057
+ @allow_quick_edit = val.to_i
1058
+ end
1059
+ def merge_entry_lists=(val)
1060
+ @merge_entry_lists = val.to_i
1061
+ end
1062
+ def max_upload_size=(val)
1063
+ @max_upload_size = val.to_i
1064
+ end
1065
+ def partner_package=(val)
1066
+ @partner_package = val.to_i
1067
+ end
1068
+ def allow_multi_notification=(val)
1069
+ @allow_multi_notification = val.to_i
1070
+ end
1071
+ end
1072
+
1073
+ class KalturaPartnerUsage < KalturaObjectBase
1074
+ attr_accessor :hosting_gb
1075
+ attr_accessor :percent
1076
+ attr_accessor :package_bw
1077
+ attr_accessor :usage_gb
1078
+ attr_accessor :reached_limit_date
1079
+ attr_accessor :usage_graph
1080
+
1081
+ def hosting_gb=(val)
1082
+ @hosting_gb = val.to_f
1083
+ end
1084
+ def percent=(val)
1085
+ @percent = val.to_f
1086
+ end
1087
+ def package_bw=(val)
1088
+ @package_bw = val.to_i
1089
+ end
1090
+ def usage_gb=(val)
1091
+ @usage_gb = val.to_i
1092
+ end
1093
+ def reached_limit_date=(val)
1094
+ @reached_limit_date = val.to_i
1095
+ end
1096
+ end
1097
+
1098
+ class KalturaMediaEntryFilterForPlaylist < KalturaMediaEntryFilter
1099
+ attr_accessor :limit
1100
+
1101
+ def limit=(val)
1102
+ @limit = val.to_i
1103
+ end
1104
+ end
1105
+
1106
+ class KalturaPlaylist < KalturaBaseEntry
1107
+ attr_accessor :playlist_content
1108
+ attr_accessor :filters
1109
+ attr_accessor :total_results
1110
+ attr_accessor :playlist_type
1111
+ attr_accessor :plays
1112
+ attr_accessor :views
1113
+ attr_accessor :duration
1114
+
1115
+ def total_results=(val)
1116
+ @total_results = val.to_i
1117
+ end
1118
+ def playlist_type=(val)
1119
+ @playlist_type = val.to_i
1120
+ end
1121
+ def plays=(val)
1122
+ @plays = val.to_i
1123
+ end
1124
+ def views=(val)
1125
+ @views = val.to_i
1126
+ end
1127
+ def duration=(val)
1128
+ @duration = val.to_i
1129
+ end
1130
+ end
1131
+
1132
+ class KalturaPlaylistFilter < KalturaBaseEntryFilter
1133
+
1134
+ end
1135
+
1136
+ class KalturaPlaylistListResponse < KalturaObjectBase
1137
+ attr_accessor :objects
1138
+ attr_accessor :total_count
1139
+
1140
+ def total_count=(val)
1141
+ @total_count = val.to_i
1142
+ end
1143
+ end
1144
+
1145
+ class KalturaReportInputFilter < KalturaObjectBase
1146
+ attr_accessor :from_date
1147
+ attr_accessor :to_date
1148
+ attr_accessor :keywords
1149
+ attr_accessor :search_in_tags
1150
+ attr_accessor :search_in_admin_tags
1151
+ attr_accessor :categories
1152
+
1153
+ def from_date=(val)
1154
+ @from_date = val.to_i
1155
+ end
1156
+ def to_date=(val)
1157
+ @to_date = val.to_i
1158
+ end
1159
+ def search_in_tags=(val)
1160
+ @search_in_tags = to_b(val)
1161
+ end
1162
+ def search_in_admin_tags=(val)
1163
+ @search_in_admin_tags = to_b(val)
1164
+ end
1165
+ end
1166
+
1167
+ class KalturaReportGraph < KalturaObjectBase
1168
+ attr_accessor :id
1169
+ attr_accessor :data
1170
+
1171
+ end
1172
+
1173
+ class KalturaReportTotal < KalturaObjectBase
1174
+ attr_accessor :header
1175
+ attr_accessor :data
1176
+
1177
+ end
1178
+
1179
+ class KalturaReportTable < KalturaObjectBase
1180
+ attr_accessor :header
1181
+ attr_accessor :data
1182
+ attr_accessor :total_count
1183
+
1184
+ def total_count=(val)
1185
+ @total_count = val.to_i
1186
+ end
1187
+ end
1188
+
1189
+ class KalturaSearchResultResponse < KalturaObjectBase
1190
+ attr_accessor :objects
1191
+ attr_accessor :need_media_info
1192
+
1193
+ def need_media_info=(val)
1194
+ @need_media_info = to_b(val)
1195
+ end
1196
+ end
1197
+
1198
+ class KalturaSearchAuthData < KalturaObjectBase
1199
+ attr_accessor :auth_data
1200
+ attr_accessor :login_url
1201
+ attr_accessor :message
1202
+
1203
+ end
1204
+
1205
+ class KalturaStartWidgetSessionResponse < KalturaObjectBase
1206
+ attr_accessor :partner_id
1207
+ attr_accessor :ks
1208
+ attr_accessor :user_id
1209
+
1210
+ def partner_id=(val)
1211
+ @partner_id = val.to_i
1212
+ end
1213
+ end
1214
+
1215
+ class KalturaStatsEvent < KalturaObjectBase
1216
+ attr_accessor :client_ver
1217
+ attr_accessor :event_type
1218
+ attr_accessor :event_timestamp
1219
+ attr_accessor :session_id
1220
+ attr_accessor :partner_id
1221
+ attr_accessor :entry_id
1222
+ attr_accessor :unique_viewer
1223
+ attr_accessor :widget_id
1224
+ attr_accessor :uiconf_id
1225
+ attr_accessor :user_id
1226
+ attr_accessor :current_point
1227
+ attr_accessor :duration
1228
+ attr_accessor :user_ip
1229
+ attr_accessor :process_duration
1230
+ attr_accessor :control_id
1231
+ attr_accessor :seek
1232
+ attr_accessor :new_point
1233
+ attr_accessor :referrer
1234
+ attr_accessor :is_first_in_session
1235
+
1236
+ def event_type=(val)
1237
+ @event_type = val.to_i
1238
+ end
1239
+ def event_timestamp=(val)
1240
+ @event_timestamp = val.to_f
1241
+ end
1242
+ def partner_id=(val)
1243
+ @partner_id = val.to_i
1244
+ end
1245
+ def uiconf_id=(val)
1246
+ @uiconf_id = val.to_i
1247
+ end
1248
+ def current_point=(val)
1249
+ @current_point = val.to_i
1250
+ end
1251
+ def duration=(val)
1252
+ @duration = val.to_i
1253
+ end
1254
+ def process_duration=(val)
1255
+ @process_duration = val.to_i
1256
+ end
1257
+ def seek=(val)
1258
+ @seek = to_b(val)
1259
+ end
1260
+ def new_point=(val)
1261
+ @new_point = val.to_i
1262
+ end
1263
+ def is_first_in_session=(val)
1264
+ @is_first_in_session = to_b(val)
1265
+ end
1266
+ end
1267
+
1268
+ class KalturaStatsKmcEvent < KalturaObjectBase
1269
+ attr_accessor :client_ver
1270
+ attr_accessor :kmc_event_action_path
1271
+ attr_accessor :kmc_event_type
1272
+ attr_accessor :event_timestamp
1273
+ attr_accessor :session_id
1274
+ attr_accessor :partner_id
1275
+ attr_accessor :entry_id
1276
+ attr_accessor :widget_id
1277
+ attr_accessor :uiconf_id
1278
+ attr_accessor :user_id
1279
+ attr_accessor :user_ip
1280
+
1281
+ def kmc_event_type=(val)
1282
+ @kmc_event_type = val.to_i
1283
+ end
1284
+ def event_timestamp=(val)
1285
+ @event_timestamp = val.to_f
1286
+ end
1287
+ def partner_id=(val)
1288
+ @partner_id = val.to_i
1289
+ end
1290
+ def uiconf_id=(val)
1291
+ @uiconf_id = val.to_i
1292
+ end
1293
+ end
1294
+
1295
+ class KalturaCEError < KalturaObjectBase
1296
+ attr_accessor :id
1297
+ attr_accessor :partner_id
1298
+ attr_accessor :browser
1299
+ attr_accessor :server_ip
1300
+ attr_accessor :server_os
1301
+ attr_accessor :php_version
1302
+ attr_accessor :ce_admin_email
1303
+ attr_accessor :type
1304
+ attr_accessor :description
1305
+ attr_accessor :data
1306
+
1307
+ def partner_id=(val)
1308
+ @partner_id = val.to_i
1309
+ end
1310
+ end
1311
+
1312
+ class KalturaBaseSyndicationFeed < KalturaObjectBase
1313
+ attr_accessor :id
1314
+ attr_accessor :feed_url
1315
+ attr_accessor :partner_id
1316
+ attr_accessor :playlist_id
1317
+ attr_accessor :name
1318
+ attr_accessor :status
1319
+ attr_accessor :type
1320
+ attr_accessor :landing_page
1321
+ attr_accessor :created_at
1322
+ attr_accessor :allow_embed
1323
+ attr_accessor :player_uiconf_id
1324
+ attr_accessor :flavor_param_id
1325
+ attr_accessor :transcode_existing_content
1326
+ attr_accessor :add_to_default_conversion_profile
1327
+ attr_accessor :categories
1328
+
1329
+ def partner_id=(val)
1330
+ @partner_id = val.to_i
1331
+ end
1332
+ def status=(val)
1333
+ @status = val.to_i
1334
+ end
1335
+ def type=(val)
1336
+ @type = val.to_i
1337
+ end
1338
+ def created_at=(val)
1339
+ @created_at = val.to_i
1340
+ end
1341
+ def allow_embed=(val)
1342
+ @allow_embed = to_b(val)
1343
+ end
1344
+ def player_uiconf_id=(val)
1345
+ @player_uiconf_id = val.to_i
1346
+ end
1347
+ def flavor_param_id=(val)
1348
+ @flavor_param_id = val.to_i
1349
+ end
1350
+ def transcode_existing_content=(val)
1351
+ @transcode_existing_content = to_b(val)
1352
+ end
1353
+ def add_to_default_conversion_profile=(val)
1354
+ @add_to_default_conversion_profile = to_b(val)
1355
+ end
1356
+ end
1357
+
1358
+ class KalturaBaseSyndicationFeedFilter < KalturaFilter
1359
+
1360
+ end
1361
+
1362
+ class KalturaBaseSyndicationFeedListResponse < KalturaObjectBase
1363
+ attr_accessor :objects
1364
+ attr_accessor :total_count
1365
+
1366
+ def total_count=(val)
1367
+ @total_count = val.to_i
1368
+ end
1369
+ end
1370
+
1371
+ class KalturaSyndicationFeedEntryCount < KalturaObjectBase
1372
+ attr_accessor :total_entry_count
1373
+ attr_accessor :actual_entry_count
1374
+ attr_accessor :require_transcoding_count
1375
+
1376
+ def total_entry_count=(val)
1377
+ @total_entry_count = val.to_i
1378
+ end
1379
+ def actual_entry_count=(val)
1380
+ @actual_entry_count = val.to_i
1381
+ end
1382
+ def require_transcoding_count=(val)
1383
+ @require_transcoding_count = val.to_i
1384
+ end
1385
+ end
1386
+
1387
+ class KalturaUiConf < KalturaObjectBase
1388
+ attr_accessor :id
1389
+ attr_accessor :name
1390
+ attr_accessor :description
1391
+ attr_accessor :partner_id
1392
+ attr_accessor :obj_type
1393
+ attr_accessor :obj_type_as_string
1394
+ attr_accessor :width
1395
+ attr_accessor :height
1396
+ attr_accessor :html_params
1397
+ attr_accessor :swf_url
1398
+ attr_accessor :conf_file_path
1399
+ attr_accessor :conf_file
1400
+ attr_accessor :conf_file_features
1401
+ attr_accessor :conf_vars
1402
+ attr_accessor :use_cdn
1403
+ attr_accessor :tags
1404
+ attr_accessor :swf_url_version
1405
+ attr_accessor :created_at
1406
+ attr_accessor :updated_at
1407
+ attr_accessor :creation_mode
1408
+
1409
+ def id=(val)
1410
+ @id = val.to_i
1411
+ end
1412
+ def partner_id=(val)
1413
+ @partner_id = val.to_i
1414
+ end
1415
+ def obj_type=(val)
1416
+ @obj_type = val.to_i
1417
+ end
1418
+ def width=(val)
1419
+ @width = val.to_i
1420
+ end
1421
+ def height=(val)
1422
+ @height = val.to_i
1423
+ end
1424
+ def use_cdn=(val)
1425
+ @use_cdn = to_b(val)
1426
+ end
1427
+ def created_at=(val)
1428
+ @created_at = val.to_i
1429
+ end
1430
+ def updated_at=(val)
1431
+ @updated_at = val.to_i
1432
+ end
1433
+ def creation_mode=(val)
1434
+ @creation_mode = val.to_i
1435
+ end
1436
+ end
1437
+
1438
+ class KalturaUiConfFilter < KalturaFilter
1439
+ attr_accessor :id_equal
1440
+ attr_accessor :id_in
1441
+ attr_accessor :name_like
1442
+ attr_accessor :obj_type_equal
1443
+ attr_accessor :tags_multi_like_or
1444
+ attr_accessor :tags_multi_like_and
1445
+ attr_accessor :created_at_greater_than_or_equal
1446
+ attr_accessor :created_at_less_than_or_equal
1447
+ attr_accessor :updated_at_greater_than_or_equal
1448
+ attr_accessor :updated_at_less_than_or_equal
1449
+ attr_accessor :creation_mode_equal
1450
+ attr_accessor :creation_mode_in
1451
+
1452
+ def id_equal=(val)
1453
+ @id_equal = val.to_i
1454
+ end
1455
+ def obj_type_equal=(val)
1456
+ @obj_type_equal = val.to_i
1457
+ end
1458
+ def created_at_greater_than_or_equal=(val)
1459
+ @created_at_greater_than_or_equal = val.to_i
1460
+ end
1461
+ def created_at_less_than_or_equal=(val)
1462
+ @created_at_less_than_or_equal = val.to_i
1463
+ end
1464
+ def updated_at_greater_than_or_equal=(val)
1465
+ @updated_at_greater_than_or_equal = val.to_i
1466
+ end
1467
+ def updated_at_less_than_or_equal=(val)
1468
+ @updated_at_less_than_or_equal = val.to_i
1469
+ end
1470
+ def creation_mode_equal=(val)
1471
+ @creation_mode_equal = val.to_i
1472
+ end
1473
+ end
1474
+
1475
+ class KalturaUiConfListResponse < KalturaObjectBase
1476
+ attr_accessor :objects
1477
+ attr_accessor :total_count
1478
+
1479
+ def total_count=(val)
1480
+ @total_count = val.to_i
1481
+ end
1482
+ end
1483
+
1484
+ class KalturaUploadResponse < KalturaObjectBase
1485
+ attr_accessor :upload_token_id
1486
+ attr_accessor :file_size
1487
+ attr_accessor :error_code
1488
+ attr_accessor :error_description
1489
+
1490
+ def file_size=(val)
1491
+ @file_size = val.to_i
1492
+ end
1493
+ def error_code=(val)
1494
+ @error_code = val.to_i
1495
+ end
1496
+ end
1497
+
1498
+ class KalturaUser < KalturaObjectBase
1499
+ attr_accessor :id
1500
+ attr_accessor :partner_id
1501
+ attr_accessor :screen_name
1502
+ attr_accessor :full_name
1503
+ attr_accessor :email
1504
+ attr_accessor :date_of_birth
1505
+ attr_accessor :country
1506
+ attr_accessor :state
1507
+ attr_accessor :city
1508
+ attr_accessor :zip
1509
+ attr_accessor :thumbnail_url
1510
+ attr_accessor :description
1511
+ attr_accessor :tags
1512
+ attr_accessor :admin_tags
1513
+ attr_accessor :gender
1514
+ attr_accessor :status
1515
+ attr_accessor :created_at
1516
+ attr_accessor :updated_at
1517
+ attr_accessor :partner_data
1518
+ attr_accessor :indexed_partner_data_int
1519
+ attr_accessor :indexed_partner_data_string
1520
+ attr_accessor :storage_size
1521
+
1522
+ def partner_id=(val)
1523
+ @partner_id = val.to_i
1524
+ end
1525
+ def date_of_birth=(val)
1526
+ @date_of_birth = val.to_i
1527
+ end
1528
+ def gender=(val)
1529
+ @gender = val.to_i
1530
+ end
1531
+ def status=(val)
1532
+ @status = val.to_i
1533
+ end
1534
+ def created_at=(val)
1535
+ @created_at = val.to_i
1536
+ end
1537
+ def updated_at=(val)
1538
+ @updated_at = val.to_i
1539
+ end
1540
+ def indexed_partner_data_int=(val)
1541
+ @indexed_partner_data_int = val.to_i
1542
+ end
1543
+ def storage_size=(val)
1544
+ @storage_size = val.to_i
1545
+ end
1546
+ end
1547
+
1548
+ class KalturaUserFilter < KalturaFilter
1549
+ attr_accessor :id_equal
1550
+ attr_accessor :id_in
1551
+ attr_accessor :partner_id_equal
1552
+ attr_accessor :screen_name_like
1553
+ attr_accessor :screen_name_starts_with
1554
+ attr_accessor :email_like
1555
+ attr_accessor :email_starts_with
1556
+ attr_accessor :tags_multi_like_or
1557
+ attr_accessor :tags_multi_like_and
1558
+ attr_accessor :created_at_greater_than_or_equal
1559
+ attr_accessor :created_at_less_than_or_equal
1560
+
1561
+ def partner_id_equal=(val)
1562
+ @partner_id_equal = val.to_i
1563
+ end
1564
+ def created_at_greater_than_or_equal=(val)
1565
+ @created_at_greater_than_or_equal = val.to_i
1566
+ end
1567
+ def created_at_less_than_or_equal=(val)
1568
+ @created_at_less_than_or_equal = val.to_i
1569
+ end
1570
+ end
1571
+
1572
+ class KalturaUserListResponse < KalturaObjectBase
1573
+ attr_accessor :objects
1574
+ attr_accessor :total_count
1575
+
1576
+ def total_count=(val)
1577
+ @total_count = val.to_i
1578
+ end
1579
+ end
1580
+
1581
+ class KalturaWidget < KalturaObjectBase
1582
+ attr_accessor :id
1583
+ attr_accessor :source_widget_id
1584
+ attr_accessor :root_widget_id
1585
+ attr_accessor :partner_id
1586
+ attr_accessor :entry_id
1587
+ attr_accessor :ui_conf_id
1588
+ attr_accessor :security_type
1589
+ attr_accessor :security_policy
1590
+ attr_accessor :created_at
1591
+ attr_accessor :updated_at
1592
+ attr_accessor :partner_data
1593
+ attr_accessor :widget_html
1594
+
1595
+ def partner_id=(val)
1596
+ @partner_id = val.to_i
1597
+ end
1598
+ def ui_conf_id=(val)
1599
+ @ui_conf_id = val.to_i
1600
+ end
1601
+ def security_type=(val)
1602
+ @security_type = val.to_i
1603
+ end
1604
+ def security_policy=(val)
1605
+ @security_policy = val.to_i
1606
+ end
1607
+ def created_at=(val)
1608
+ @created_at = val.to_i
1609
+ end
1610
+ def updated_at=(val)
1611
+ @updated_at = val.to_i
1612
+ end
1613
+ end
1614
+
1615
+ class KalturaWidgetFilter < KalturaFilter
1616
+ attr_accessor :id_equal
1617
+ attr_accessor :id_in
1618
+ attr_accessor :source_widget_id_equal
1619
+ attr_accessor :root_widget_id_equal
1620
+ attr_accessor :partner_id_equal
1621
+ attr_accessor :entry_id_equal
1622
+ attr_accessor :ui_conf_id_equal
1623
+ attr_accessor :created_at_greater_than_or_equal
1624
+ attr_accessor :created_at_less_than_or_equal
1625
+ attr_accessor :updated_at_greater_than_or_equal
1626
+ attr_accessor :updated_at_less_than_or_equal
1627
+ attr_accessor :partner_data_like
1628
+
1629
+ def partner_id_equal=(val)
1630
+ @partner_id_equal = val.to_i
1631
+ end
1632
+ def ui_conf_id_equal=(val)
1633
+ @ui_conf_id_equal = val.to_i
1634
+ end
1635
+ def created_at_greater_than_or_equal=(val)
1636
+ @created_at_greater_than_or_equal = val.to_i
1637
+ end
1638
+ def created_at_less_than_or_equal=(val)
1639
+ @created_at_less_than_or_equal = val.to_i
1640
+ end
1641
+ def updated_at_greater_than_or_equal=(val)
1642
+ @updated_at_greater_than_or_equal = val.to_i
1643
+ end
1644
+ def updated_at_less_than_or_equal=(val)
1645
+ @updated_at_less_than_or_equal = val.to_i
1646
+ end
1647
+ end
1648
+
1649
+ class KalturaWidgetListResponse < KalturaObjectBase
1650
+ attr_accessor :objects
1651
+ attr_accessor :total_count
1652
+
1653
+ def total_count=(val)
1654
+ @total_count = val.to_i
1655
+ end
1656
+ end
1657
+
1658
+ class KalturaSystemUser < KalturaObjectBase
1659
+ attr_accessor :id
1660
+ attr_accessor :email
1661
+ attr_accessor :first_name
1662
+ attr_accessor :last_name
1663
+ attr_accessor :password
1664
+ attr_accessor :created_by
1665
+ attr_accessor :status
1666
+ attr_accessor :is_primary
1667
+ attr_accessor :status_updated_at
1668
+ attr_accessor :created_at
1669
+ attr_accessor :role
1670
+
1671
+ def id=(val)
1672
+ @id = val.to_i
1673
+ end
1674
+ def created_by=(val)
1675
+ @created_by = val.to_i
1676
+ end
1677
+ def status=(val)
1678
+ @status = val.to_i
1679
+ end
1680
+ def is_primary=(val)
1681
+ @is_primary = to_b(val)
1682
+ end
1683
+ def status_updated_at=(val)
1684
+ @status_updated_at = val.to_i
1685
+ end
1686
+ def created_at=(val)
1687
+ @created_at = val.to_i
1688
+ end
1689
+ end
1690
+
1691
+ class KalturaSystemUserFilter < KalturaFilter
1692
+
1693
+ end
1694
+
1695
+ class KalturaSystemUserListResponse < KalturaObjectBase
1696
+ attr_accessor :objects
1697
+ attr_accessor :total_count
1698
+
1699
+ def total_count=(val)
1700
+ @total_count = val.to_i
1701
+ end
1702
+ end
1703
+
1704
+ class KalturaPartnerFilter < KalturaFilter
1705
+ attr_accessor :id_equal
1706
+ attr_accessor :id_in
1707
+ attr_accessor :name_like
1708
+ attr_accessor :name_multi_like_or
1709
+ attr_accessor :name_multi_like_and
1710
+ attr_accessor :name_equal
1711
+ attr_accessor :status_equal
1712
+ attr_accessor :status_in
1713
+ attr_accessor :partner_name_description_website_admin_name_admin_email_like
1714
+
1715
+ def id_equal=(val)
1716
+ @id_equal = val.to_i
1717
+ end
1718
+ def status_equal=(val)
1719
+ @status_equal = val.to_i
1720
+ end
1721
+ end
1722
+
1723
+ class KalturaSystemPartnerUsageFilter < KalturaFilter
1724
+ attr_accessor :from_date
1725
+ attr_accessor :to_date
1726
+
1727
+ def from_date=(val)
1728
+ @from_date = val.to_i
1729
+ end
1730
+ def to_date=(val)
1731
+ @to_date = val.to_i
1732
+ end
1733
+ end
1734
+
1735
+ class KalturaSystemPartnerUsageItem < KalturaObjectBase
1736
+ attr_accessor :partner_id
1737
+ attr_accessor :partner_name
1738
+ attr_accessor :partner_status
1739
+ attr_accessor :partner_package
1740
+ attr_accessor :partner_created_at
1741
+ attr_accessor :views
1742
+ attr_accessor :plays
1743
+ attr_accessor :entries_count
1744
+ attr_accessor :total_entries_count
1745
+ attr_accessor :video_entries_count
1746
+ attr_accessor :image_entries_count
1747
+ attr_accessor :audio_entries_count
1748
+ attr_accessor :mix_entries_count
1749
+ attr_accessor :bandwidth
1750
+ attr_accessor :total_storage
1751
+ attr_accessor :storage
1752
+
1753
+ def partner_id=(val)
1754
+ @partner_id = val.to_i
1755
+ end
1756
+ def partner_status=(val)
1757
+ @partner_status = val.to_i
1758
+ end
1759
+ def partner_package=(val)
1760
+ @partner_package = val.to_i
1761
+ end
1762
+ def partner_created_at=(val)
1763
+ @partner_created_at = val.to_i
1764
+ end
1765
+ def views=(val)
1766
+ @views = val.to_i
1767
+ end
1768
+ def plays=(val)
1769
+ @plays = val.to_i
1770
+ end
1771
+ def entries_count=(val)
1772
+ @entries_count = val.to_i
1773
+ end
1774
+ def total_entries_count=(val)
1775
+ @total_entries_count = val.to_i
1776
+ end
1777
+ def video_entries_count=(val)
1778
+ @video_entries_count = val.to_i
1779
+ end
1780
+ def image_entries_count=(val)
1781
+ @image_entries_count = val.to_i
1782
+ end
1783
+ def audio_entries_count=(val)
1784
+ @audio_entries_count = val.to_i
1785
+ end
1786
+ def mix_entries_count=(val)
1787
+ @mix_entries_count = val.to_i
1788
+ end
1789
+ def bandwidth=(val)
1790
+ @bandwidth = val.to_f
1791
+ end
1792
+ def total_storage=(val)
1793
+ @total_storage = val.to_f
1794
+ end
1795
+ def storage=(val)
1796
+ @storage = val.to_f
1797
+ end
1798
+ end
1799
+
1800
+ class KalturaSystemPartnerUsageListResponse < KalturaObjectBase
1801
+ attr_accessor :objects
1802
+ attr_accessor :total_count
1803
+
1804
+ def total_count=(val)
1805
+ @total_count = val.to_i
1806
+ end
1807
+ end
1808
+
1809
+ class KalturaPartnerListResponse < KalturaObjectBase
1810
+ attr_accessor :objects
1811
+ attr_accessor :total_count
1812
+
1813
+ def total_count=(val)
1814
+ @total_count = val.to_i
1815
+ end
1816
+ end
1817
+
1818
+ class KalturaSystemPartnerConfiguration < KalturaObjectBase
1819
+ attr_accessor :host
1820
+ attr_accessor :cdn_host
1821
+ attr_accessor :max_bulk_size
1822
+ attr_accessor :partner_package
1823
+
1824
+ def max_bulk_size=(val)
1825
+ @max_bulk_size = val.to_i
1826
+ end
1827
+ def partner_package=(val)
1828
+ @partner_package = val.to_i
1829
+ end
1830
+ end
1831
+
1832
+ class KalturaSystemPartnerPackage < KalturaObjectBase
1833
+ attr_accessor :id
1834
+ attr_accessor :name
1835
+
1836
+ def id=(val)
1837
+ @id = val.to_i
1838
+ end
1839
+ end
1840
+
1841
+ class KalturaFileSyncFilter < KalturaFilter
1842
+ attr_accessor :partner_id_equal
1843
+ attr_accessor :object_type_equal
1844
+ attr_accessor :object_type_in
1845
+ attr_accessor :object_id_equal
1846
+ attr_accessor :object_id_in
1847
+ attr_accessor :version_equal
1848
+ attr_accessor :version_in
1849
+ attr_accessor :object_sub_type_equal
1850
+ attr_accessor :object_sub_type_in
1851
+ attr_accessor :dc_equal
1852
+ attr_accessor :dc_in
1853
+ attr_accessor :original_equal
1854
+ attr_accessor :created_at_greater_than_or_equal
1855
+ attr_accessor :created_at_less_than_or_equal
1856
+ attr_accessor :updated_at_greater_than_or_equal
1857
+ attr_accessor :updated_at_less_than_or_equal
1858
+ attr_accessor :ready_at_greater_than_or_equal
1859
+ attr_accessor :ready_at_less_than_or_equal
1860
+ attr_accessor :sync_time_greater_than_or_equal
1861
+ attr_accessor :sync_time_less_than_or_equal
1862
+ attr_accessor :status_equal
1863
+ attr_accessor :status_in
1864
+ attr_accessor :file_type_equal
1865
+ attr_accessor :file_type_in
1866
+ attr_accessor :linked_id_equal
1867
+ attr_accessor :link_count_greater_than_or_equal
1868
+ attr_accessor :link_count_less_than_or_equal
1869
+ attr_accessor :file_size_greater_than_or_equal
1870
+ attr_accessor :file_size_less_than_or_equal
1871
+
1872
+ def partner_id_equal=(val)
1873
+ @partner_id_equal = val.to_i
1874
+ end
1875
+ def object_type_equal=(val)
1876
+ @object_type_equal = val.to_i
1877
+ end
1878
+ def object_sub_type_equal=(val)
1879
+ @object_sub_type_equal = val.to_i
1880
+ end
1881
+ def original_equal=(val)
1882
+ @original_equal = val.to_i
1883
+ end
1884
+ def created_at_greater_than_or_equal=(val)
1885
+ @created_at_greater_than_or_equal = val.to_i
1886
+ end
1887
+ def created_at_less_than_or_equal=(val)
1888
+ @created_at_less_than_or_equal = val.to_i
1889
+ end
1890
+ def updated_at_greater_than_or_equal=(val)
1891
+ @updated_at_greater_than_or_equal = val.to_i
1892
+ end
1893
+ def updated_at_less_than_or_equal=(val)
1894
+ @updated_at_less_than_or_equal = val.to_i
1895
+ end
1896
+ def ready_at_greater_than_or_equal=(val)
1897
+ @ready_at_greater_than_or_equal = val.to_i
1898
+ end
1899
+ def ready_at_less_than_or_equal=(val)
1900
+ @ready_at_less_than_or_equal = val.to_i
1901
+ end
1902
+ def sync_time_greater_than_or_equal=(val)
1903
+ @sync_time_greater_than_or_equal = val.to_i
1904
+ end
1905
+ def sync_time_less_than_or_equal=(val)
1906
+ @sync_time_less_than_or_equal = val.to_i
1907
+ end
1908
+ def status_equal=(val)
1909
+ @status_equal = val.to_i
1910
+ end
1911
+ def file_type_equal=(val)
1912
+ @file_type_equal = val.to_i
1913
+ end
1914
+ def linked_id_equal=(val)
1915
+ @linked_id_equal = val.to_i
1916
+ end
1917
+ def link_count_greater_than_or_equal=(val)
1918
+ @link_count_greater_than_or_equal = val.to_i
1919
+ end
1920
+ def link_count_less_than_or_equal=(val)
1921
+ @link_count_less_than_or_equal = val.to_i
1922
+ end
1923
+ def file_size_greater_than_or_equal=(val)
1924
+ @file_size_greater_than_or_equal = val.to_i
1925
+ end
1926
+ def file_size_less_than_or_equal=(val)
1927
+ @file_size_less_than_or_equal = val.to_i
1928
+ end
1929
+ end
1930
+
1931
+ class KalturaFileSync < KalturaObjectBase
1932
+ attr_accessor :id
1933
+ attr_accessor :partner_id
1934
+ attr_accessor :object_type
1935
+ attr_accessor :object_id
1936
+ attr_accessor :version
1937
+ attr_accessor :object_sub_type
1938
+ attr_accessor :dc
1939
+ attr_accessor :original
1940
+ attr_accessor :created_at
1941
+ attr_accessor :updated_at
1942
+ attr_accessor :ready_at
1943
+ attr_accessor :sync_time
1944
+ attr_accessor :status
1945
+ attr_accessor :file_type
1946
+ attr_accessor :linked_id
1947
+ attr_accessor :link_count
1948
+ attr_accessor :file_root
1949
+ attr_accessor :file_path
1950
+ attr_accessor :file_size
1951
+ attr_accessor :file_url
1952
+ attr_accessor :file_content
1953
+ attr_accessor :file_disc_size
1954
+
1955
+ def id=(val)
1956
+ @id = val.to_i
1957
+ end
1958
+ def partner_id=(val)
1959
+ @partner_id = val.to_i
1960
+ end
1961
+ def object_type=(val)
1962
+ @object_type = val.to_i
1963
+ end
1964
+ def object_sub_type=(val)
1965
+ @object_sub_type = val.to_i
1966
+ end
1967
+ def original=(val)
1968
+ @original = val.to_i
1969
+ end
1970
+ def created_at=(val)
1971
+ @created_at = val.to_i
1972
+ end
1973
+ def updated_at=(val)
1974
+ @updated_at = val.to_i
1975
+ end
1976
+ def ready_at=(val)
1977
+ @ready_at = val.to_i
1978
+ end
1979
+ def sync_time=(val)
1980
+ @sync_time = val.to_i
1981
+ end
1982
+ def status=(val)
1983
+ @status = val.to_i
1984
+ end
1985
+ def file_type=(val)
1986
+ @file_type = val.to_i
1987
+ end
1988
+ def linked_id=(val)
1989
+ @linked_id = val.to_i
1990
+ end
1991
+ def link_count=(val)
1992
+ @link_count = val.to_i
1993
+ end
1994
+ def file_size=(val)
1995
+ @file_size = val.to_i
1996
+ end
1997
+ def file_disc_size=(val)
1998
+ @file_disc_size = val.to_i
1999
+ end
2000
+ end
2001
+
2002
+ class KalturaFileSyncListResponse < KalturaObjectBase
2003
+ attr_accessor :objects
2004
+ attr_accessor :total_count
2005
+
2006
+ def total_count=(val)
2007
+ @total_count = val.to_i
2008
+ end
2009
+ end
2010
+
2011
+ class KalturaFlavorParamsOutputFilter < KalturaFlavorParamsFilter
2012
+ attr_accessor :flavor_params_id_equal
2013
+ attr_accessor :flavor_params_version_equal
2014
+ attr_accessor :flavor_asset_id_equal
2015
+ attr_accessor :flavor_asset_version_equal
2016
+
2017
+ def flavor_params_id_equal=(val)
2018
+ @flavor_params_id_equal = val.to_i
2019
+ end
2020
+ end
2021
+
2022
+ class KalturaFlavorParamsOutput < KalturaFlavorParams
2023
+ attr_accessor :flavor_params_id
2024
+ attr_accessor :command_lines_str
2025
+ attr_accessor :flavor_params_version
2026
+ attr_accessor :flavor_asset_id
2027
+ attr_accessor :flavor_asset_version
2028
+ attr_accessor :ready_behavior
2029
+
2030
+ def flavor_params_id=(val)
2031
+ @flavor_params_id = val.to_i
2032
+ end
2033
+ def ready_behavior=(val)
2034
+ @ready_behavior = val.to_i
2035
+ end
2036
+ end
2037
+
2038
+ class KalturaFlavorParamsOutputListResponse < KalturaObjectBase
2039
+ attr_accessor :objects
2040
+ attr_accessor :total_count
2041
+
2042
+ def total_count=(val)
2043
+ @total_count = val.to_i
2044
+ end
2045
+ end
2046
+
2047
+ class KalturaMediaInfoFilter < KalturaFilter
2048
+ attr_accessor :flavor_asset_id_equal
2049
+
2050
+ end
2051
+
2052
+ class KalturaMediaInfo < KalturaObjectBase
2053
+ attr_accessor :id
2054
+ attr_accessor :flavor_asset_id
2055
+ attr_accessor :file_size
2056
+ attr_accessor :container_format
2057
+ attr_accessor :container_id
2058
+ attr_accessor :container_profile
2059
+ attr_accessor :container_duration
2060
+ attr_accessor :container_bit_rate
2061
+ attr_accessor :video_format
2062
+ attr_accessor :video_codec_id
2063
+ attr_accessor :video_duration
2064
+ attr_accessor :video_bit_rate
2065
+ attr_accessor :video_bit_rate_mode
2066
+ attr_accessor :video_width
2067
+ attr_accessor :video_height
2068
+ attr_accessor :video_frame_rate
2069
+ attr_accessor :video_dar
2070
+ attr_accessor :video_rotation
2071
+ attr_accessor :audio_format
2072
+ attr_accessor :audio_codec_id
2073
+ attr_accessor :audio_duration
2074
+ attr_accessor :audio_bit_rate
2075
+ attr_accessor :audio_bit_rate_mode
2076
+ attr_accessor :audio_channels
2077
+ attr_accessor :audio_sampling_rate
2078
+ attr_accessor :audio_resolution
2079
+ attr_accessor :writing_lib
2080
+ attr_accessor :raw_data
2081
+
2082
+ def id=(val)
2083
+ @id = val.to_i
2084
+ end
2085
+ def file_size=(val)
2086
+ @file_size = val.to_i
2087
+ end
2088
+ def container_duration=(val)
2089
+ @container_duration = val.to_i
2090
+ end
2091
+ def container_bit_rate=(val)
2092
+ @container_bit_rate = val.to_i
2093
+ end
2094
+ def video_duration=(val)
2095
+ @video_duration = val.to_i
2096
+ end
2097
+ def video_bit_rate=(val)
2098
+ @video_bit_rate = val.to_i
2099
+ end
2100
+ def video_bit_rate_mode=(val)
2101
+ @video_bit_rate_mode = val.to_i
2102
+ end
2103
+ def video_width=(val)
2104
+ @video_width = val.to_i
2105
+ end
2106
+ def video_height=(val)
2107
+ @video_height = val.to_i
2108
+ end
2109
+ def video_frame_rate=(val)
2110
+ @video_frame_rate = val.to_f
2111
+ end
2112
+ def video_dar=(val)
2113
+ @video_dar = val.to_f
2114
+ end
2115
+ def video_rotation=(val)
2116
+ @video_rotation = val.to_i
2117
+ end
2118
+ def audio_duration=(val)
2119
+ @audio_duration = val.to_i
2120
+ end
2121
+ def audio_bit_rate=(val)
2122
+ @audio_bit_rate = val.to_i
2123
+ end
2124
+ def audio_bit_rate_mode=(val)
2125
+ @audio_bit_rate_mode = val.to_i
2126
+ end
2127
+ def audio_channels=(val)
2128
+ @audio_channels = val.to_i
2129
+ end
2130
+ def audio_sampling_rate=(val)
2131
+ @audio_sampling_rate = val.to_i
2132
+ end
2133
+ def audio_resolution=(val)
2134
+ @audio_resolution = val.to_i
2135
+ end
2136
+ end
2137
+
2138
+ class KalturaMediaInfoListResponse < KalturaObjectBase
2139
+ attr_accessor :objects
2140
+ attr_accessor :total_count
2141
+
2142
+ def total_count=(val)
2143
+ @total_count = val.to_i
2144
+ end
2145
+ end
2146
+
2147
+ class KalturaCountryRestriction < KalturaBaseRestriction
2148
+ attr_accessor :country_restriction_type
2149
+ attr_accessor :country_list
2150
+
2151
+ def country_restriction_type=(val)
2152
+ @country_restriction_type = val.to_i
2153
+ end
2154
+ end
2155
+
2156
+ class KalturaDirectoryRestriction < KalturaBaseRestriction
2157
+ attr_accessor :directory_restriction_type
2158
+
2159
+ def directory_restriction_type=(val)
2160
+ @directory_restriction_type = val.to_i
2161
+ end
2162
+ end
2163
+
2164
+ class KalturaSessionRestriction < KalturaBaseRestriction
2165
+
2166
+ end
2167
+
2168
+ class KalturaPreviewRestriction < KalturaSessionRestriction
2169
+ attr_accessor :preview_length
2170
+
2171
+ def preview_length=(val)
2172
+ @preview_length = val.to_i
2173
+ end
2174
+ end
2175
+
2176
+ class KalturaSiteRestriction < KalturaBaseRestriction
2177
+ attr_accessor :site_restriction_type
2178
+ attr_accessor :site_list
2179
+
2180
+ def site_restriction_type=(val)
2181
+ @site_restriction_type = val.to_i
2182
+ end
2183
+ end
2184
+
2185
+ class KalturaBaseJobFilter < KalturaFilter
2186
+ attr_accessor :id_equal
2187
+ attr_accessor :id_greater_than_or_equal
2188
+ attr_accessor :partner_id_equal
2189
+ attr_accessor :partner_id_in
2190
+ attr_accessor :created_at_greater_than_or_equal
2191
+ attr_accessor :created_at_less_than_or_equal
2192
+
2193
+ def id_equal=(val)
2194
+ @id_equal = val.to_i
2195
+ end
2196
+ def id_greater_than_or_equal=(val)
2197
+ @id_greater_than_or_equal = val.to_i
2198
+ end
2199
+ def partner_id_equal=(val)
2200
+ @partner_id_equal = val.to_i
2201
+ end
2202
+ def created_at_greater_than_or_equal=(val)
2203
+ @created_at_greater_than_or_equal = val.to_i
2204
+ end
2205
+ def created_at_less_than_or_equal=(val)
2206
+ @created_at_less_than_or_equal = val.to_i
2207
+ end
2208
+ end
2209
+
2210
+ class KalturaBatchJobFilter < KalturaBaseJobFilter
2211
+ attr_accessor :entry_id_equal
2212
+ attr_accessor :job_type_equal
2213
+ attr_accessor :job_type_in
2214
+ attr_accessor :job_type_not_in
2215
+ attr_accessor :job_sub_type_equal
2216
+ attr_accessor :job_sub_type_in
2217
+ attr_accessor :on_stress_divert_to_in
2218
+ attr_accessor :status_equal
2219
+ attr_accessor :status_in
2220
+ attr_accessor :work_group_id_in
2221
+ attr_accessor :queue_time_greater_than_or_equal
2222
+ attr_accessor :queue_time_less_than_or_equal
2223
+ attr_accessor :finish_time_greater_than_or_equal
2224
+ attr_accessor :finish_time_less_than_or_equal
2225
+ attr_accessor :err_type_in
2226
+ attr_accessor :file_size_less_than
2227
+ attr_accessor :file_size_greater_than
2228
+
2229
+ def job_type_equal=(val)
2230
+ @job_type_equal = val.to_i
2231
+ end
2232
+ def job_type_not_in=(val)
2233
+ @job_type_not_in = val.to_i
2234
+ end
2235
+ def job_sub_type_equal=(val)
2236
+ @job_sub_type_equal = val.to_i
2237
+ end
2238
+ def status_equal=(val)
2239
+ @status_equal = val.to_i
2240
+ end
2241
+ def queue_time_greater_than_or_equal=(val)
2242
+ @queue_time_greater_than_or_equal = val.to_i
2243
+ end
2244
+ def queue_time_less_than_or_equal=(val)
2245
+ @queue_time_less_than_or_equal = val.to_i
2246
+ end
2247
+ def finish_time_greater_than_or_equal=(val)
2248
+ @finish_time_greater_than_or_equal = val.to_i
2249
+ end
2250
+ def finish_time_less_than_or_equal=(val)
2251
+ @finish_time_less_than_or_equal = val.to_i
2252
+ end
2253
+ def file_size_less_than=(val)
2254
+ @file_size_less_than = val.to_i
2255
+ end
2256
+ def file_size_greater_than=(val)
2257
+ @file_size_greater_than = val.to_i
2258
+ end
2259
+ end
2260
+
2261
+ class KalturaBatchJobFilterExt < KalturaBatchJobFilter
2262
+ attr_accessor :job_type_and_sub_type_in
2263
+
2264
+ end
2265
+
2266
+ class KalturaControlPanelCommandFilter < KalturaFilter
2267
+ attr_accessor :id_equal
2268
+ attr_accessor :id_in
2269
+ attr_accessor :created_at_greater_than_or_equal
2270
+ attr_accessor :created_at_less_than_or_equal
2271
+ attr_accessor :created_by_id_equal
2272
+ attr_accessor :type_equal
2273
+ attr_accessor :type_in
2274
+ attr_accessor :target_type_equal
2275
+ attr_accessor :target_type_in
2276
+ attr_accessor :status_equal
2277
+ attr_accessor :status_in
2278
+
2279
+ def id_equal=(val)
2280
+ @id_equal = val.to_i
2281
+ end
2282
+ def created_at_greater_than_or_equal=(val)
2283
+ @created_at_greater_than_or_equal = val.to_i
2284
+ end
2285
+ def created_at_less_than_or_equal=(val)
2286
+ @created_at_less_than_or_equal = val.to_i
2287
+ end
2288
+ def created_by_id_equal=(val)
2289
+ @created_by_id_equal = val.to_i
2290
+ end
2291
+ def type_equal=(val)
2292
+ @type_equal = val.to_i
2293
+ end
2294
+ def target_type_equal=(val)
2295
+ @target_type_equal = val.to_i
2296
+ end
2297
+ def status_equal=(val)
2298
+ @status_equal = val.to_i
2299
+ end
2300
+ end
2301
+
2302
+ class KalturaDocumentEntryFilter < KalturaBaseEntryFilter
2303
+ attr_accessor :document_type_equal
2304
+ attr_accessor :document_type_in
2305
+
2306
+ def document_type_equal=(val)
2307
+ @document_type_equal = val.to_i
2308
+ end
2309
+ end
2310
+
2311
+ class KalturaGoogleVideoSyndicationFeedFilter < KalturaBaseSyndicationFeedFilter
2312
+
2313
+ end
2314
+
2315
+ class KalturaITunesSyndicationFeedFilter < KalturaBaseSyndicationFeedFilter
2316
+
2317
+ end
2318
+
2319
+ class KalturaLiveStreamAdminEntryFilter < KalturaLiveStreamEntryFilter
2320
+
2321
+ end
2322
+
2323
+ class KalturaMailJobFilter < KalturaBaseJobFilter
2324
+
2325
+ end
2326
+
2327
+ class KalturaNotificationFilter < KalturaBaseJobFilter
2328
+
2329
+ end
2330
+
2331
+ class KalturaTubeMogulSyndicationFeedFilter < KalturaBaseSyndicationFeedFilter
2332
+
2333
+ end
2334
+
2335
+ class KalturaYahooSyndicationFeedFilter < KalturaBaseSyndicationFeedFilter
2336
+
2337
+ end
2338
+
2339
+ class KalturaDocumentEntry < KalturaBaseEntry
2340
+ attr_accessor :document_type
2341
+
2342
+ def document_type=(val)
2343
+ @document_type = val.to_i
2344
+ end
2345
+ end
2346
+
2347
+ class KalturaGoogleVideoSyndicationFeed < KalturaBaseSyndicationFeed
2348
+ attr_accessor :adult_content
2349
+
2350
+ end
2351
+
2352
+ class KalturaITunesSyndicationFeed < KalturaBaseSyndicationFeed
2353
+ attr_accessor :feed_description
2354
+ attr_accessor :language
2355
+ attr_accessor :feed_landing_page
2356
+ attr_accessor :owner_name
2357
+ attr_accessor :owner_email
2358
+ attr_accessor :feed_image_url
2359
+ attr_accessor :category
2360
+ attr_accessor :adult_content
2361
+ attr_accessor :feed_author
2362
+
2363
+ end
2364
+
2365
+ class KalturaTubeMogulSyndicationFeed < KalturaBaseSyndicationFeed
2366
+ attr_accessor :category
2367
+
2368
+ end
2369
+
2370
+ class KalturaYahooSyndicationFeed < KalturaBaseSyndicationFeed
2371
+ attr_accessor :category
2372
+ attr_accessor :adult_content
2373
+ attr_accessor :feed_description
2374
+ attr_accessor :feed_landing_page
2375
+
2376
+ end
2377
+
2378
+
2379
+ class KalturaAccessControlService < KalturaServiceBase
2380
+ def initialize(client)
2381
+ super(client)
2382
+ end
2383
+
2384
+ def add(access_control)
2385
+ kparams = {}
2386
+ client.add_param(kparams, 'accessControl', access_control);
2387
+ client.queue_service_action_call('accessControl', 'add', kparams);
2388
+ if (client.is_multirequest)
2389
+ return nil;
2390
+ end
2391
+ return client.do_queue();
2392
+ end
2393
+
2394
+ def get(id)
2395
+ kparams = {}
2396
+ client.add_param(kparams, 'id', id);
2397
+ client.queue_service_action_call('accessControl', 'get', kparams);
2398
+ if (client.is_multirequest)
2399
+ return nil;
2400
+ end
2401
+ return client.do_queue();
2402
+ end
2403
+
2404
+ def update(id, access_control)
2405
+ kparams = {}
2406
+ client.add_param(kparams, 'id', id);
2407
+ client.add_param(kparams, 'accessControl', access_control);
2408
+ client.queue_service_action_call('accessControl', 'update', kparams);
2409
+ if (client.is_multirequest)
2410
+ return nil;
2411
+ end
2412
+ return client.do_queue();
2413
+ end
2414
+
2415
+ def delete(id)
2416
+ kparams = {}
2417
+ client.add_param(kparams, 'id', id);
2418
+ client.queue_service_action_call('accessControl', 'delete', kparams);
2419
+ if (client.is_multirequest)
2420
+ return nil;
2421
+ end
2422
+ return client.do_queue();
2423
+ end
2424
+
2425
+ def list(filter=nil, pager=nil)
2426
+ kparams = {}
2427
+ client.add_param(kparams, 'filter', filter);
2428
+ client.add_param(kparams, 'pager', pager);
2429
+ client.queue_service_action_call('accessControl', 'list', kparams);
2430
+ if (client.is_multirequest)
2431
+ return nil;
2432
+ end
2433
+ return client.do_queue();
2434
+ end
2435
+ end
2436
+
2437
+ class KalturaAdminUserService < KalturaServiceBase
2438
+ def initialize(client)
2439
+ super(client)
2440
+ end
2441
+
2442
+ def update_password(email, password, new_email='', new_password='')
2443
+ kparams = {}
2444
+ client.add_param(kparams, 'email', email);
2445
+ client.add_param(kparams, 'password', password);
2446
+ client.add_param(kparams, 'newEmail', new_email);
2447
+ client.add_param(kparams, 'newPassword', new_password);
2448
+ client.queue_service_action_call('adminUser', 'updatePassword', kparams);
2449
+ if (client.is_multirequest)
2450
+ return nil;
2451
+ end
2452
+ return client.do_queue();
2453
+ end
2454
+
2455
+ def reset_password(email)
2456
+ kparams = {}
2457
+ client.add_param(kparams, 'email', email);
2458
+ client.queue_service_action_call('adminUser', 'resetPassword', kparams);
2459
+ if (client.is_multirequest)
2460
+ return nil;
2461
+ end
2462
+ return client.do_queue();
2463
+ end
2464
+
2465
+ def login(email, password)
2466
+ kparams = {}
2467
+ client.add_param(kparams, 'email', email);
2468
+ client.add_param(kparams, 'password', password);
2469
+ client.queue_service_action_call('adminUser', 'login', kparams);
2470
+ if (client.is_multirequest)
2471
+ return nil;
2472
+ end
2473
+ return client.do_queue();
2474
+ end
2475
+ end
2476
+
2477
+ class KalturaBaseEntryService < KalturaServiceBase
2478
+ def initialize(client)
2479
+ super(client)
2480
+ end
2481
+
2482
+ def add_from_uploaded_file(entry, upload_token_id, type=-1)
2483
+ kparams = {}
2484
+ client.add_param(kparams, 'entry', entry);
2485
+ client.add_param(kparams, 'uploadTokenId', upload_token_id);
2486
+ client.add_param(kparams, 'type', type);
2487
+ client.queue_service_action_call('baseEntry', 'addFromUploadedFile', kparams);
2488
+ if (client.is_multirequest)
2489
+ return nil;
2490
+ end
2491
+ return client.do_queue();
2492
+ end
2493
+
2494
+ def get(entry_id, version=-1)
2495
+ kparams = {}
2496
+ client.add_param(kparams, 'entryId', entry_id);
2497
+ client.add_param(kparams, 'version', version);
2498
+ client.queue_service_action_call('baseEntry', 'get', kparams);
2499
+ if (client.is_multirequest)
2500
+ return nil;
2501
+ end
2502
+ return client.do_queue();
2503
+ end
2504
+
2505
+ def update(entry_id, base_entry)
2506
+ kparams = {}
2507
+ client.add_param(kparams, 'entryId', entry_id);
2508
+ client.add_param(kparams, 'baseEntry', base_entry);
2509
+ client.queue_service_action_call('baseEntry', 'update', kparams);
2510
+ if (client.is_multirequest)
2511
+ return nil;
2512
+ end
2513
+ return client.do_queue();
2514
+ end
2515
+
2516
+ def get_by_ids(entry_ids)
2517
+ kparams = {}
2518
+ client.add_param(kparams, 'entryIds', entry_ids);
2519
+ client.queue_service_action_call('baseEntry', 'getByIds', kparams);
2520
+ if (client.is_multirequest)
2521
+ return nil;
2522
+ end
2523
+ return client.do_queue();
2524
+ end
2525
+
2526
+ def delete(entry_id)
2527
+ kparams = {}
2528
+ client.add_param(kparams, 'entryId', entry_id);
2529
+ client.queue_service_action_call('baseEntry', 'delete', kparams);
2530
+ if (client.is_multirequest)
2531
+ return nil;
2532
+ end
2533
+ return client.do_queue();
2534
+ end
2535
+
2536
+ def list(filter=nil, pager=nil)
2537
+ kparams = {}
2538
+ client.add_param(kparams, 'filter', filter);
2539
+ client.add_param(kparams, 'pager', pager);
2540
+ client.queue_service_action_call('baseEntry', 'list', kparams);
2541
+ if (client.is_multirequest)
2542
+ return nil;
2543
+ end
2544
+ return client.do_queue();
2545
+ end
2546
+
2547
+ def count(filter=nil)
2548
+ kparams = {}
2549
+ client.add_param(kparams, 'filter', filter);
2550
+ client.queue_service_action_call('baseEntry', 'count', kparams);
2551
+ if (client.is_multirequest)
2552
+ return nil;
2553
+ end
2554
+ return client.do_queue();
2555
+ end
2556
+
2557
+ def upload(file_data)
2558
+ kparams = {}
2559
+ client.add_param(kparams, 'fileData', file_data);
2560
+ client.queue_service_action_call('baseEntry', 'upload', kparams);
2561
+ if (client.is_multirequest)
2562
+ return nil;
2563
+ end
2564
+ return client.do_queue();
2565
+ end
2566
+
2567
+ def update_thumbnail_jpeg(entry_id, file_data)
2568
+ kparams = {}
2569
+ client.add_param(kparams, 'entryId', entry_id);
2570
+ client.add_param(kparams, 'fileData', file_data);
2571
+ client.queue_service_action_call('baseEntry', 'updateThumbnailJpeg', kparams);
2572
+ if (client.is_multirequest)
2573
+ return nil;
2574
+ end
2575
+ return client.do_queue();
2576
+ end
2577
+
2578
+ def update_thumbnail_from_url(entry_id, url)
2579
+ kparams = {}
2580
+ client.add_param(kparams, 'entryId', entry_id);
2581
+ client.add_param(kparams, 'url', url);
2582
+ client.queue_service_action_call('baseEntry', 'updateThumbnailFromUrl', kparams);
2583
+ if (client.is_multirequest)
2584
+ return nil;
2585
+ end
2586
+ return client.do_queue();
2587
+ end
2588
+
2589
+ def update_thumbnail_from_source_entry(entry_id, source_entry_id, time_offset)
2590
+ kparams = {}
2591
+ client.add_param(kparams, 'entryId', entry_id);
2592
+ client.add_param(kparams, 'sourceEntryId', source_entry_id);
2593
+ client.add_param(kparams, 'timeOffset', time_offset);
2594
+ client.queue_service_action_call('baseEntry', 'updateThumbnailFromSourceEntry', kparams);
2595
+ if (client.is_multirequest)
2596
+ return nil;
2597
+ end
2598
+ return client.do_queue();
2599
+ end
2600
+
2601
+ def flag(moderation_flag)
2602
+ kparams = {}
2603
+ client.add_param(kparams, 'moderationFlag', moderation_flag);
2604
+ client.queue_service_action_call('baseEntry', 'flag', kparams);
2605
+ if (client.is_multirequest)
2606
+ return nil;
2607
+ end
2608
+ return client.do_queue();
2609
+ end
2610
+
2611
+ def reject(entry_id)
2612
+ kparams = {}
2613
+ client.add_param(kparams, 'entryId', entry_id);
2614
+ client.queue_service_action_call('baseEntry', 'reject', kparams);
2615
+ if (client.is_multirequest)
2616
+ return nil;
2617
+ end
2618
+ return client.do_queue();
2619
+ end
2620
+
2621
+ def approve(entry_id)
2622
+ kparams = {}
2623
+ client.add_param(kparams, 'entryId', entry_id);
2624
+ client.queue_service_action_call('baseEntry', 'approve', kparams);
2625
+ if (client.is_multirequest)
2626
+ return nil;
2627
+ end
2628
+ return client.do_queue();
2629
+ end
2630
+
2631
+ def list_flags(entry_id, pager=nil)
2632
+ kparams = {}
2633
+ client.add_param(kparams, 'entryId', entry_id);
2634
+ client.add_param(kparams, 'pager', pager);
2635
+ client.queue_service_action_call('baseEntry', 'listFlags', kparams);
2636
+ if (client.is_multirequest)
2637
+ return nil;
2638
+ end
2639
+ return client.do_queue();
2640
+ end
2641
+
2642
+ def anonymous_rank(entry_id, rank)
2643
+ kparams = {}
2644
+ client.add_param(kparams, 'entryId', entry_id);
2645
+ client.add_param(kparams, 'rank', rank);
2646
+ client.queue_service_action_call('baseEntry', 'anonymousRank', kparams);
2647
+ if (client.is_multirequest)
2648
+ return nil;
2649
+ end
2650
+ return client.do_queue();
2651
+ end
2652
+
2653
+ def get_context_data(entry_id, context_data_params)
2654
+ kparams = {}
2655
+ client.add_param(kparams, 'entryId', entry_id);
2656
+ client.add_param(kparams, 'contextDataParams', context_data_params);
2657
+ client.queue_service_action_call('baseEntry', 'getContextData', kparams);
2658
+ if (client.is_multirequest)
2659
+ return nil;
2660
+ end
2661
+ return client.do_queue();
2662
+ end
2663
+ end
2664
+
2665
+ class KalturaBulkUploadService < KalturaServiceBase
2666
+ def initialize(client)
2667
+ super(client)
2668
+ end
2669
+
2670
+ def add(conversion_profile_id, csv_file_data)
2671
+ kparams = {}
2672
+ client.add_param(kparams, 'conversionProfileId', conversion_profile_id);
2673
+ client.add_param(kparams, 'csvFileData', csv_file_data);
2674
+ client.queue_service_action_call('bulkUpload', 'add', kparams);
2675
+ if (client.is_multirequest)
2676
+ return nil;
2677
+ end
2678
+ return client.do_queue();
2679
+ end
2680
+
2681
+ def get(id)
2682
+ kparams = {}
2683
+ client.add_param(kparams, 'id', id);
2684
+ client.queue_service_action_call('bulkUpload', 'get', kparams);
2685
+ if (client.is_multirequest)
2686
+ return nil;
2687
+ end
2688
+ return client.do_queue();
2689
+ end
2690
+
2691
+ def list(pager=nil)
2692
+ kparams = {}
2693
+ client.add_param(kparams, 'pager', pager);
2694
+ client.queue_service_action_call('bulkUpload', 'list', kparams);
2695
+ if (client.is_multirequest)
2696
+ return nil;
2697
+ end
2698
+ return client.do_queue();
2699
+ end
2700
+ end
2701
+
2702
+ class KalturaCategoryService < KalturaServiceBase
2703
+ def initialize(client)
2704
+ super(client)
2705
+ end
2706
+
2707
+ def add(category)
2708
+ kparams = {}
2709
+ client.add_param(kparams, 'category', category);
2710
+ client.queue_service_action_call('category', 'add', kparams);
2711
+ if (client.is_multirequest)
2712
+ return nil;
2713
+ end
2714
+ return client.do_queue();
2715
+ end
2716
+
2717
+ def get(id)
2718
+ kparams = {}
2719
+ client.add_param(kparams, 'id', id);
2720
+ client.queue_service_action_call('category', 'get', kparams);
2721
+ if (client.is_multirequest)
2722
+ return nil;
2723
+ end
2724
+ return client.do_queue();
2725
+ end
2726
+
2727
+ def update(id, category)
2728
+ kparams = {}
2729
+ client.add_param(kparams, 'id', id);
2730
+ client.add_param(kparams, 'category', category);
2731
+ client.queue_service_action_call('category', 'update', kparams);
2732
+ if (client.is_multirequest)
2733
+ return nil;
2734
+ end
2735
+ return client.do_queue();
2736
+ end
2737
+
2738
+ def delete(id)
2739
+ kparams = {}
2740
+ client.add_param(kparams, 'id', id);
2741
+ client.queue_service_action_call('category', 'delete', kparams);
2742
+ if (client.is_multirequest)
2743
+ return nil;
2744
+ end
2745
+ return client.do_queue();
2746
+ end
2747
+
2748
+ def list(filter=nil)
2749
+ kparams = {}
2750
+ client.add_param(kparams, 'filter', filter);
2751
+ client.queue_service_action_call('category', 'list', kparams);
2752
+ if (client.is_multirequest)
2753
+ return nil;
2754
+ end
2755
+ return client.do_queue();
2756
+ end
2757
+ end
2758
+
2759
+ class KalturaConversionProfileService < KalturaServiceBase
2760
+ def initialize(client)
2761
+ super(client)
2762
+ end
2763
+
2764
+ def add(conversion_profile)
2765
+ kparams = {}
2766
+ client.add_param(kparams, 'conversionProfile', conversion_profile);
2767
+ client.queue_service_action_call('conversionProfile', 'add', kparams);
2768
+ if (client.is_multirequest)
2769
+ return nil;
2770
+ end
2771
+ return client.do_queue();
2772
+ end
2773
+
2774
+ def get(id)
2775
+ kparams = {}
2776
+ client.add_param(kparams, 'id', id);
2777
+ client.queue_service_action_call('conversionProfile', 'get', kparams);
2778
+ if (client.is_multirequest)
2779
+ return nil;
2780
+ end
2781
+ return client.do_queue();
2782
+ end
2783
+
2784
+ def update(id, conversion_profile)
2785
+ kparams = {}
2786
+ client.add_param(kparams, 'id', id);
2787
+ client.add_param(kparams, 'conversionProfile', conversion_profile);
2788
+ client.queue_service_action_call('conversionProfile', 'update', kparams);
2789
+ if (client.is_multirequest)
2790
+ return nil;
2791
+ end
2792
+ return client.do_queue();
2793
+ end
2794
+
2795
+ def delete(id)
2796
+ kparams = {}
2797
+ client.add_param(kparams, 'id', id);
2798
+ client.queue_service_action_call('conversionProfile', 'delete', kparams);
2799
+ if (client.is_multirequest)
2800
+ return nil;
2801
+ end
2802
+ return client.do_queue();
2803
+ end
2804
+
2805
+ def list(filter=nil, pager=nil)
2806
+ kparams = {}
2807
+ client.add_param(kparams, 'filter', filter);
2808
+ client.add_param(kparams, 'pager', pager);
2809
+ client.queue_service_action_call('conversionProfile', 'list', kparams);
2810
+ if (client.is_multirequest)
2811
+ return nil;
2812
+ end
2813
+ return client.do_queue();
2814
+ end
2815
+ end
2816
+
2817
+ class KalturaDataService < KalturaServiceBase
2818
+ def initialize(client)
2819
+ super(client)
2820
+ end
2821
+
2822
+ def add(data_entry)
2823
+ kparams = {}
2824
+ client.add_param(kparams, 'dataEntry', data_entry);
2825
+ client.queue_service_action_call('data', 'add', kparams);
2826
+ if (client.is_multirequest)
2827
+ return nil;
2828
+ end
2829
+ return client.do_queue();
2830
+ end
2831
+
2832
+ def get(entry_id, version=-1)
2833
+ kparams = {}
2834
+ client.add_param(kparams, 'entryId', entry_id);
2835
+ client.add_param(kparams, 'version', version);
2836
+ client.queue_service_action_call('data', 'get', kparams);
2837
+ if (client.is_multirequest)
2838
+ return nil;
2839
+ end
2840
+ return client.do_queue();
2841
+ end
2842
+
2843
+ def update(entry_id, document_entry)
2844
+ kparams = {}
2845
+ client.add_param(kparams, 'entryId', entry_id);
2846
+ client.add_param(kparams, 'documentEntry', document_entry);
2847
+ client.queue_service_action_call('data', 'update', kparams);
2848
+ if (client.is_multirequest)
2849
+ return nil;
2850
+ end
2851
+ return client.do_queue();
2852
+ end
2853
+
2854
+ def delete(entry_id)
2855
+ kparams = {}
2856
+ client.add_param(kparams, 'entryId', entry_id);
2857
+ client.queue_service_action_call('data', 'delete', kparams);
2858
+ if (client.is_multirequest)
2859
+ return nil;
2860
+ end
2861
+ return client.do_queue();
2862
+ end
2863
+
2864
+ def list(filter=nil, pager=nil)
2865
+ kparams = {}
2866
+ client.add_param(kparams, 'filter', filter);
2867
+ client.add_param(kparams, 'pager', pager);
2868
+ client.queue_service_action_call('data', 'list', kparams);
2869
+ if (client.is_multirequest)
2870
+ return nil;
2871
+ end
2872
+ return client.do_queue();
2873
+ end
2874
+ end
2875
+
2876
+ class KalturaEmailIngestionProfileService < KalturaServiceBase
2877
+ def initialize(client)
2878
+ super(client)
2879
+ end
2880
+
2881
+ def add(email_ip)
2882
+ kparams = {}
2883
+ client.add_param(kparams, 'EmailIP', email_ip);
2884
+ client.queue_service_action_call('EmailIngestionProfile', 'add', kparams);
2885
+ if (client.is_multirequest)
2886
+ return nil;
2887
+ end
2888
+ return client.do_queue();
2889
+ end
2890
+
2891
+ def get_by_email_address(email_address)
2892
+ kparams = {}
2893
+ client.add_param(kparams, 'emailAddress', email_address);
2894
+ client.queue_service_action_call('EmailIngestionProfile', 'getByEmailAddress', kparams);
2895
+ if (client.is_multirequest)
2896
+ return nil;
2897
+ end
2898
+ return client.do_queue();
2899
+ end
2900
+
2901
+ def get(id)
2902
+ kparams = {}
2903
+ client.add_param(kparams, 'id', id);
2904
+ client.queue_service_action_call('EmailIngestionProfile', 'get', kparams);
2905
+ if (client.is_multirequest)
2906
+ return nil;
2907
+ end
2908
+ return client.do_queue();
2909
+ end
2910
+
2911
+ def update(id, email_ip)
2912
+ kparams = {}
2913
+ client.add_param(kparams, 'id', id);
2914
+ client.add_param(kparams, 'EmailIP', email_ip);
2915
+ client.queue_service_action_call('EmailIngestionProfile', 'update', kparams);
2916
+ if (client.is_multirequest)
2917
+ return nil;
2918
+ end
2919
+ return client.do_queue();
2920
+ end
2921
+
2922
+ def delete(id)
2923
+ kparams = {}
2924
+ client.add_param(kparams, 'id', id);
2925
+ client.queue_service_action_call('EmailIngestionProfile', 'delete', kparams);
2926
+ if (client.is_multirequest)
2927
+ return nil;
2928
+ end
2929
+ return client.do_queue();
2930
+ end
2931
+
2932
+ def add_media_entry(media_entry, upload_token_id, email_prof_id, from_address, email_msg_id)
2933
+ kparams = {}
2934
+ client.add_param(kparams, 'mediaEntry', media_entry);
2935
+ client.add_param(kparams, 'uploadTokenId', upload_token_id);
2936
+ client.add_param(kparams, 'emailProfId', email_prof_id);
2937
+ client.add_param(kparams, 'fromAddress', from_address);
2938
+ client.add_param(kparams, 'emailMsgId', email_msg_id);
2939
+ client.queue_service_action_call('EmailIngestionProfile', 'addMediaEntry', kparams);
2940
+ if (client.is_multirequest)
2941
+ return nil;
2942
+ end
2943
+ return client.do_queue();
2944
+ end
2945
+ end
2946
+
2947
+ class KalturaFlavorAssetService < KalturaServiceBase
2948
+ def initialize(client)
2949
+ super(client)
2950
+ end
2951
+
2952
+ def get(id)
2953
+ kparams = {}
2954
+ client.add_param(kparams, 'id', id);
2955
+ client.queue_service_action_call('flavorAsset', 'get', kparams);
2956
+ if (client.is_multirequest)
2957
+ return nil;
2958
+ end
2959
+ return client.do_queue();
2960
+ end
2961
+
2962
+ def get_by_entry_id(entry_id)
2963
+ kparams = {}
2964
+ client.add_param(kparams, 'entryId', entry_id);
2965
+ client.queue_service_action_call('flavorAsset', 'getByEntryId', kparams);
2966
+ if (client.is_multirequest)
2967
+ return nil;
2968
+ end
2969
+ return client.do_queue();
2970
+ end
2971
+
2972
+ def get_web_playable_by_entry_id(entry_id)
2973
+ kparams = {}
2974
+ client.add_param(kparams, 'entryId', entry_id);
2975
+ client.queue_service_action_call('flavorAsset', 'getWebPlayableByEntryId', kparams);
2976
+ if (client.is_multirequest)
2977
+ return nil;
2978
+ end
2979
+ return client.do_queue();
2980
+ end
2981
+
2982
+ def convert(entry_id, flavor_params_id)
2983
+ kparams = {}
2984
+ client.add_param(kparams, 'entryId', entry_id);
2985
+ client.add_param(kparams, 'flavorParamsId', flavor_params_id);
2986
+ client.queue_service_action_call('flavorAsset', 'convert', kparams);
2987
+ if (client.is_multirequest)
2988
+ return nil;
2989
+ end
2990
+ return client.do_queue();
2991
+ end
2992
+
2993
+ def reconvert(id)
2994
+ kparams = {}
2995
+ client.add_param(kparams, 'id', id);
2996
+ client.queue_service_action_call('flavorAsset', 'reconvert', kparams);
2997
+ if (client.is_multirequest)
2998
+ return nil;
2999
+ end
3000
+ return client.do_queue();
3001
+ end
3002
+
3003
+ def delete(id)
3004
+ kparams = {}
3005
+ client.add_param(kparams, 'id', id);
3006
+ client.queue_service_action_call('flavorAsset', 'delete', kparams);
3007
+ if (client.is_multirequest)
3008
+ return nil;
3009
+ end
3010
+ return client.do_queue();
3011
+ end
3012
+
3013
+ def get_download_url(id)
3014
+ kparams = {}
3015
+ client.add_param(kparams, 'id', id);
3016
+ client.queue_service_action_call('flavorAsset', 'getDownloadUrl', kparams);
3017
+ if (client.is_multirequest)
3018
+ return nil;
3019
+ end
3020
+ return client.do_queue();
3021
+ end
3022
+
3023
+ def get_flavor_assets_with_params(entry_id)
3024
+ kparams = {}
3025
+ client.add_param(kparams, 'entryId', entry_id);
3026
+ client.queue_service_action_call('flavorAsset', 'getFlavorAssetsWithParams', kparams);
3027
+ if (client.is_multirequest)
3028
+ return nil;
3029
+ end
3030
+ return client.do_queue();
3031
+ end
3032
+ end
3033
+
3034
+ class KalturaFlavorParamsService < KalturaServiceBase
3035
+ def initialize(client)
3036
+ super(client)
3037
+ end
3038
+
3039
+ def add(flavor_params)
3040
+ kparams = {}
3041
+ client.add_param(kparams, 'flavorParams', flavor_params);
3042
+ client.queue_service_action_call('flavorParams', 'add', kparams);
3043
+ if (client.is_multirequest)
3044
+ return nil;
3045
+ end
3046
+ return client.do_queue();
3047
+ end
3048
+
3049
+ def get(id)
3050
+ kparams = {}
3051
+ client.add_param(kparams, 'id', id);
3052
+ client.queue_service_action_call('flavorParams', 'get', kparams);
3053
+ if (client.is_multirequest)
3054
+ return nil;
3055
+ end
3056
+ return client.do_queue();
3057
+ end
3058
+
3059
+ def update(id, flavor_params)
3060
+ kparams = {}
3061
+ client.add_param(kparams, 'id', id);
3062
+ client.add_param(kparams, 'flavorParams', flavor_params);
3063
+ client.queue_service_action_call('flavorParams', 'update', kparams);
3064
+ if (client.is_multirequest)
3065
+ return nil;
3066
+ end
3067
+ return client.do_queue();
3068
+ end
3069
+
3070
+ def delete(id)
3071
+ kparams = {}
3072
+ client.add_param(kparams, 'id', id);
3073
+ client.queue_service_action_call('flavorParams', 'delete', kparams);
3074
+ if (client.is_multirequest)
3075
+ return nil;
3076
+ end
3077
+ return client.do_queue();
3078
+ end
3079
+
3080
+ def list(filter=nil, pager=nil)
3081
+ kparams = {}
3082
+ client.add_param(kparams, 'filter', filter);
3083
+ client.add_param(kparams, 'pager', pager);
3084
+ client.queue_service_action_call('flavorParams', 'list', kparams);
3085
+ if (client.is_multirequest)
3086
+ return nil;
3087
+ end
3088
+ return client.do_queue();
3089
+ end
3090
+
3091
+ def get_by_conversion_profile_id(conversion_profile_id)
3092
+ kparams = {}
3093
+ client.add_param(kparams, 'conversionProfileId', conversion_profile_id);
3094
+ client.queue_service_action_call('flavorParams', 'getByConversionProfileId', kparams);
3095
+ if (client.is_multirequest)
3096
+ return nil;
3097
+ end
3098
+ return client.do_queue();
3099
+ end
3100
+ end
3101
+
3102
+ class KalturaLiveStreamService < KalturaServiceBase
3103
+ def initialize(client)
3104
+ super(client)
3105
+ end
3106
+
3107
+ def add(live_stream_entry)
3108
+ kparams = {}
3109
+ client.add_param(kparams, 'liveStreamEntry', live_stream_entry);
3110
+ client.queue_service_action_call('liveStream', 'add', kparams);
3111
+ if (client.is_multirequest)
3112
+ return nil;
3113
+ end
3114
+ return client.do_queue();
3115
+ end
3116
+
3117
+ def get(entry_id, version=-1)
3118
+ kparams = {}
3119
+ client.add_param(kparams, 'entryId', entry_id);
3120
+ client.add_param(kparams, 'version', version);
3121
+ client.queue_service_action_call('liveStream', 'get', kparams);
3122
+ if (client.is_multirequest)
3123
+ return nil;
3124
+ end
3125
+ return client.do_queue();
3126
+ end
3127
+
3128
+ def update(entry_id, live_stream_entry)
3129
+ kparams = {}
3130
+ client.add_param(kparams, 'entryId', entry_id);
3131
+ client.add_param(kparams, 'liveStreamEntry', live_stream_entry);
3132
+ client.queue_service_action_call('liveStream', 'update', kparams);
3133
+ if (client.is_multirequest)
3134
+ return nil;
3135
+ end
3136
+ return client.do_queue();
3137
+ end
3138
+
3139
+ def delete(entry_id)
3140
+ kparams = {}
3141
+ client.add_param(kparams, 'entryId', entry_id);
3142
+ client.queue_service_action_call('liveStream', 'delete', kparams);
3143
+ if (client.is_multirequest)
3144
+ return nil;
3145
+ end
3146
+ return client.do_queue();
3147
+ end
3148
+
3149
+ def list(filter=nil, pager=nil)
3150
+ kparams = {}
3151
+ client.add_param(kparams, 'filter', filter);
3152
+ client.add_param(kparams, 'pager', pager);
3153
+ client.queue_service_action_call('liveStream', 'list', kparams);
3154
+ if (client.is_multirequest)
3155
+ return nil;
3156
+ end
3157
+ return client.do_queue();
3158
+ end
3159
+
3160
+ def update_offline_thumbnail_jpeg(entry_id, file_data)
3161
+ kparams = {}
3162
+ client.add_param(kparams, 'entryId', entry_id);
3163
+ client.add_param(kparams, 'fileData', file_data);
3164
+ client.queue_service_action_call('liveStream', 'updateOfflineThumbnailJpeg', kparams);
3165
+ if (client.is_multirequest)
3166
+ return nil;
3167
+ end
3168
+ return client.do_queue();
3169
+ end
3170
+
3171
+ def update_offline_thumbnail_from_url(entry_id, url)
3172
+ kparams = {}
3173
+ client.add_param(kparams, 'entryId', entry_id);
3174
+ client.add_param(kparams, 'url', url);
3175
+ client.queue_service_action_call('liveStream', 'updateOfflineThumbnailFromUrl', kparams);
3176
+ if (client.is_multirequest)
3177
+ return nil;
3178
+ end
3179
+ return client.do_queue();
3180
+ end
3181
+ end
3182
+
3183
+ class KalturaMediaService < KalturaServiceBase
3184
+ def initialize(client)
3185
+ super(client)
3186
+ end
3187
+
3188
+ def add_from_bulk(media_entry, url, bulk_upload_id)
3189
+ kparams = {}
3190
+ client.add_param(kparams, 'mediaEntry', media_entry);
3191
+ client.add_param(kparams, 'url', url);
3192
+ client.add_param(kparams, 'bulkUploadId', bulk_upload_id);
3193
+ client.queue_service_action_call('media', 'addFromBulk', kparams);
3194
+ if (client.is_multirequest)
3195
+ return nil;
3196
+ end
3197
+ return client.do_queue();
3198
+ end
3199
+
3200
+ def add_from_url(media_entry, url)
3201
+ kparams = {}
3202
+ client.add_param(kparams, 'mediaEntry', media_entry);
3203
+ client.add_param(kparams, 'url', url);
3204
+ client.queue_service_action_call('media', 'addFromUrl', kparams);
3205
+ if (client.is_multirequest)
3206
+ return nil;
3207
+ end
3208
+ return client.do_queue();
3209
+ end
3210
+
3211
+ def add_from_search_result(media_entry=nil, search_result=nil)
3212
+ kparams = {}
3213
+ client.add_param(kparams, 'mediaEntry', media_entry);
3214
+ client.add_param(kparams, 'searchResult', search_result);
3215
+ client.queue_service_action_call('media', 'addFromSearchResult', kparams);
3216
+ if (client.is_multirequest)
3217
+ return nil;
3218
+ end
3219
+ return client.do_queue();
3220
+ end
3221
+
3222
+ def add_from_uploaded_file(media_entry, upload_token_id)
3223
+ kparams = {}
3224
+ client.add_param(kparams, 'mediaEntry', media_entry);
3225
+ client.add_param(kparams, 'uploadTokenId', upload_token_id);
3226
+ client.queue_service_action_call('media', 'addFromUploadedFile', kparams);
3227
+ if (client.is_multirequest)
3228
+ return nil;
3229
+ end
3230
+ return client.do_queue();
3231
+ end
3232
+
3233
+ def add_from_recorded_webcam(media_entry, webcam_token_id)
3234
+ kparams = {}
3235
+ client.add_param(kparams, 'mediaEntry', media_entry);
3236
+ client.add_param(kparams, 'webcamTokenId', webcam_token_id);
3237
+ client.queue_service_action_call('media', 'addFromRecordedWebcam', kparams);
3238
+ if (client.is_multirequest)
3239
+ return nil;
3240
+ end
3241
+ return client.do_queue();
3242
+ end
3243
+
3244
+ def get(entry_id, version=-1)
3245
+ kparams = {}
3246
+ client.add_param(kparams, 'entryId', entry_id);
3247
+ client.add_param(kparams, 'version', version);
3248
+ client.queue_service_action_call('media', 'get', kparams);
3249
+ if (client.is_multirequest)
3250
+ return nil;
3251
+ end
3252
+ return client.do_queue();
3253
+ end
3254
+
3255
+ def update(entry_id, media_entry)
3256
+ kparams = {}
3257
+ client.add_param(kparams, 'entryId', entry_id);
3258
+ client.add_param(kparams, 'mediaEntry', media_entry);
3259
+ client.queue_service_action_call('media', 'update', kparams);
3260
+ if (client.is_multirequest)
3261
+ return nil;
3262
+ end
3263
+ return client.do_queue();
3264
+ end
3265
+
3266
+ def delete(entry_id)
3267
+ kparams = {}
3268
+ client.add_param(kparams, 'entryId', entry_id);
3269
+ client.queue_service_action_call('media', 'delete', kparams);
3270
+ if (client.is_multirequest)
3271
+ return nil;
3272
+ end
3273
+ return client.do_queue();
3274
+ end
3275
+
3276
+ def list(filter=nil, pager=nil)
3277
+ kparams = {}
3278
+ client.add_param(kparams, 'filter', filter);
3279
+ client.add_param(kparams, 'pager', pager);
3280
+ client.queue_service_action_call('media', 'list', kparams);
3281
+ if (client.is_multirequest)
3282
+ return nil;
3283
+ end
3284
+ return client.do_queue();
3285
+ end
3286
+
3287
+ def count(filter=nil)
3288
+ kparams = {}
3289
+ client.add_param(kparams, 'filter', filter);
3290
+ client.queue_service_action_call('media', 'count', kparams);
3291
+ if (client.is_multirequest)
3292
+ return nil;
3293
+ end
3294
+ return client.do_queue();
3295
+ end
3296
+
3297
+ def upload(file_data)
3298
+ kparams = {}
3299
+ client.add_param(kparams, 'fileData', file_data);
3300
+ client.queue_service_action_call('media', 'upload', kparams);
3301
+ if (client.is_multirequest)
3302
+ return nil;
3303
+ end
3304
+ return client.do_queue();
3305
+ end
3306
+
3307
+ def update_thumbnail(entry_id, time_offset)
3308
+ kparams = {}
3309
+ client.add_param(kparams, 'entryId', entry_id);
3310
+ client.add_param(kparams, 'timeOffset', time_offset);
3311
+ client.queue_service_action_call('media', 'updateThumbnail', kparams);
3312
+ if (client.is_multirequest)
3313
+ return nil;
3314
+ end
3315
+ return client.do_queue();
3316
+ end
3317
+
3318
+ def update_thumbnail_from_source_entry(entry_id, source_entry_id, time_offset)
3319
+ kparams = {}
3320
+ client.add_param(kparams, 'entryId', entry_id);
3321
+ client.add_param(kparams, 'sourceEntryId', source_entry_id);
3322
+ client.add_param(kparams, 'timeOffset', time_offset);
3323
+ client.queue_service_action_call('media', 'updateThumbnailFromSourceEntry', kparams);
3324
+ if (client.is_multirequest)
3325
+ return nil;
3326
+ end
3327
+ return client.do_queue();
3328
+ end
3329
+
3330
+ def update_thumbnail_jpeg(entry_id, file_data)
3331
+ kparams = {}
3332
+ client.add_param(kparams, 'entryId', entry_id);
3333
+ client.add_param(kparams, 'fileData', file_data);
3334
+ client.queue_service_action_call('media', 'updateThumbnailJpeg', kparams);
3335
+ if (client.is_multirequest)
3336
+ return nil;
3337
+ end
3338
+ return client.do_queue();
3339
+ end
3340
+
3341
+ def update_thumbnail_from_url(entry_id, url)
3342
+ kparams = {}
3343
+ client.add_param(kparams, 'entryId', entry_id);
3344
+ client.add_param(kparams, 'url', url);
3345
+ client.queue_service_action_call('media', 'updateThumbnailFromUrl', kparams);
3346
+ if (client.is_multirequest)
3347
+ return nil;
3348
+ end
3349
+ return client.do_queue();
3350
+ end
3351
+
3352
+ def request_conversion(entry_id, file_format)
3353
+ kparams = {}
3354
+ client.add_param(kparams, 'entryId', entry_id);
3355
+ client.add_param(kparams, 'fileFormat', file_format);
3356
+ client.queue_service_action_call('media', 'requestConversion', kparams);
3357
+ if (client.is_multirequest)
3358
+ return nil;
3359
+ end
3360
+ return client.do_queue();
3361
+ end
3362
+
3363
+ def flag(moderation_flag)
3364
+ kparams = {}
3365
+ client.add_param(kparams, 'moderationFlag', moderation_flag);
3366
+ client.queue_service_action_call('media', 'flag', kparams);
3367
+ if (client.is_multirequest)
3368
+ return nil;
3369
+ end
3370
+ return client.do_queue();
3371
+ end
3372
+
3373
+ def reject(entry_id)
3374
+ kparams = {}
3375
+ client.add_param(kparams, 'entryId', entry_id);
3376
+ client.queue_service_action_call('media', 'reject', kparams);
3377
+ if (client.is_multirequest)
3378
+ return nil;
3379
+ end
3380
+ return client.do_queue();
3381
+ end
3382
+
3383
+ def approve(entry_id)
3384
+ kparams = {}
3385
+ client.add_param(kparams, 'entryId', entry_id);
3386
+ client.queue_service_action_call('media', 'approve', kparams);
3387
+ if (client.is_multirequest)
3388
+ return nil;
3389
+ end
3390
+ return client.do_queue();
3391
+ end
3392
+
3393
+ def list_flags(entry_id, pager=nil)
3394
+ kparams = {}
3395
+ client.add_param(kparams, 'entryId', entry_id);
3396
+ client.add_param(kparams, 'pager', pager);
3397
+ client.queue_service_action_call('media', 'listFlags', kparams);
3398
+ if (client.is_multirequest)
3399
+ return nil;
3400
+ end
3401
+ return client.do_queue();
3402
+ end
3403
+
3404
+ def anonymous_rank(entry_id, rank)
3405
+ kparams = {}
3406
+ client.add_param(kparams, 'entryId', entry_id);
3407
+ client.add_param(kparams, 'rank', rank);
3408
+ client.queue_service_action_call('media', 'anonymousRank', kparams);
3409
+ if (client.is_multirequest)
3410
+ return nil;
3411
+ end
3412
+ return client.do_queue();
3413
+ end
3414
+ end
3415
+
3416
+ class KalturaMixingService < KalturaServiceBase
3417
+ def initialize(client)
3418
+ super(client)
3419
+ end
3420
+
3421
+ def add(mix_entry)
3422
+ kparams = {}
3423
+ client.add_param(kparams, 'mixEntry', mix_entry);
3424
+ client.queue_service_action_call('mixing', 'add', kparams);
3425
+ if (client.is_multirequest)
3426
+ return nil;
3427
+ end
3428
+ return client.do_queue();
3429
+ end
3430
+
3431
+ def get(entry_id, version=-1)
3432
+ kparams = {}
3433
+ client.add_param(kparams, 'entryId', entry_id);
3434
+ client.add_param(kparams, 'version', version);
3435
+ client.queue_service_action_call('mixing', 'get', kparams);
3436
+ if (client.is_multirequest)
3437
+ return nil;
3438
+ end
3439
+ return client.do_queue();
3440
+ end
3441
+
3442
+ def update(entry_id, mix_entry)
3443
+ kparams = {}
3444
+ client.add_param(kparams, 'entryId', entry_id);
3445
+ client.add_param(kparams, 'mixEntry', mix_entry);
3446
+ client.queue_service_action_call('mixing', 'update', kparams);
3447
+ if (client.is_multirequest)
3448
+ return nil;
3449
+ end
3450
+ return client.do_queue();
3451
+ end
3452
+
3453
+ def delete(entry_id)
3454
+ kparams = {}
3455
+ client.add_param(kparams, 'entryId', entry_id);
3456
+ client.queue_service_action_call('mixing', 'delete', kparams);
3457
+ if (client.is_multirequest)
3458
+ return nil;
3459
+ end
3460
+ return client.do_queue();
3461
+ end
3462
+
3463
+ def list(filter=nil, pager=nil)
3464
+ kparams = {}
3465
+ client.add_param(kparams, 'filter', filter);
3466
+ client.add_param(kparams, 'pager', pager);
3467
+ client.queue_service_action_call('mixing', 'list', kparams);
3468
+ if (client.is_multirequest)
3469
+ return nil;
3470
+ end
3471
+ return client.do_queue();
3472
+ end
3473
+
3474
+ def count(filter=nil)
3475
+ kparams = {}
3476
+ client.add_param(kparams, 'filter', filter);
3477
+ client.queue_service_action_call('mixing', 'count', kparams);
3478
+ if (client.is_multirequest)
3479
+ return nil;
3480
+ end
3481
+ return client.do_queue();
3482
+ end
3483
+
3484
+ def clone(entry_id)
3485
+ kparams = {}
3486
+ client.add_param(kparams, 'entryId', entry_id);
3487
+ client.queue_service_action_call('mixing', 'clone', kparams);
3488
+ if (client.is_multirequest)
3489
+ return nil;
3490
+ end
3491
+ return client.do_queue();
3492
+ end
3493
+
3494
+ def append_media_entry(mix_entry_id, media_entry_id)
3495
+ kparams = {}
3496
+ client.add_param(kparams, 'mixEntryId', mix_entry_id);
3497
+ client.add_param(kparams, 'mediaEntryId', media_entry_id);
3498
+ client.queue_service_action_call('mixing', 'appendMediaEntry', kparams);
3499
+ if (client.is_multirequest)
3500
+ return nil;
3501
+ end
3502
+ return client.do_queue();
3503
+ end
3504
+
3505
+ def request_flattening(entry_id, file_format, version=-1)
3506
+ kparams = {}
3507
+ client.add_param(kparams, 'entryId', entry_id);
3508
+ client.add_param(kparams, 'fileFormat', file_format);
3509
+ client.add_param(kparams, 'version', version);
3510
+ client.queue_service_action_call('mixing', 'requestFlattening', kparams);
3511
+ if (client.is_multirequest)
3512
+ return nil;
3513
+ end
3514
+ return client.do_queue();
3515
+ end
3516
+
3517
+ def get_mixes_by_media_id(media_entry_id)
3518
+ kparams = {}
3519
+ client.add_param(kparams, 'mediaEntryId', media_entry_id);
3520
+ client.queue_service_action_call('mixing', 'getMixesByMediaId', kparams);
3521
+ if (client.is_multirequest)
3522
+ return nil;
3523
+ end
3524
+ return client.do_queue();
3525
+ end
3526
+
3527
+ def get_ready_media_entries(mix_id, version=-1)
3528
+ kparams = {}
3529
+ client.add_param(kparams, 'mixId', mix_id);
3530
+ client.add_param(kparams, 'version', version);
3531
+ client.queue_service_action_call('mixing', 'getReadyMediaEntries', kparams);
3532
+ if (client.is_multirequest)
3533
+ return nil;
3534
+ end
3535
+ return client.do_queue();
3536
+ end
3537
+
3538
+ def anonymous_rank(entry_id, rank)
3539
+ kparams = {}
3540
+ client.add_param(kparams, 'entryId', entry_id);
3541
+ client.add_param(kparams, 'rank', rank);
3542
+ client.queue_service_action_call('mixing', 'anonymousRank', kparams);
3543
+ if (client.is_multirequest)
3544
+ return nil;
3545
+ end
3546
+ return client.do_queue();
3547
+ end
3548
+ end
3549
+
3550
+ class KalturaNotificationService < KalturaServiceBase
3551
+ def initialize(client)
3552
+ super(client)
3553
+ end
3554
+
3555
+ def get_client_notification(entry_id, type)
3556
+ kparams = {}
3557
+ client.add_param(kparams, 'entryId', entry_id);
3558
+ client.add_param(kparams, 'type', type);
3559
+ client.queue_service_action_call('notification', 'getClientNotification', kparams);
3560
+ if (client.is_multirequest)
3561
+ return nil;
3562
+ end
3563
+ return client.do_queue();
3564
+ end
3565
+ end
3566
+
3567
+ class KalturaPartnerService < KalturaServiceBase
3568
+ def initialize(client)
3569
+ super(client)
3570
+ end
3571
+
3572
+ def register(partner, cms_password='')
3573
+ kparams = {}
3574
+ client.add_param(kparams, 'partner', partner);
3575
+ client.add_param(kparams, 'cmsPassword', cms_password);
3576
+ client.queue_service_action_call('partner', 'register', kparams);
3577
+ if (client.is_multirequest)
3578
+ return nil;
3579
+ end
3580
+ return client.do_queue();
3581
+ end
3582
+
3583
+ def update(partner, allow_empty=false)
3584
+ kparams = {}
3585
+ client.add_param(kparams, 'partner', partner);
3586
+ client.add_param(kparams, 'allowEmpty', allow_empty);
3587
+ client.queue_service_action_call('partner', 'update', kparams);
3588
+ if (client.is_multirequest)
3589
+ return nil;
3590
+ end
3591
+ return client.do_queue();
3592
+ end
3593
+
3594
+ def get_secrets(partner_id, admin_email, cms_password)
3595
+ kparams = {}
3596
+ client.add_param(kparams, 'partnerId', partner_id);
3597
+ client.add_param(kparams, 'adminEmail', admin_email);
3598
+ client.add_param(kparams, 'cmsPassword', cms_password);
3599
+ client.queue_service_action_call('partner', 'getSecrets', kparams);
3600
+ if (client.is_multirequest)
3601
+ return nil;
3602
+ end
3603
+ return client.do_queue();
3604
+ end
3605
+
3606
+ def get_info()
3607
+ kparams = {}
3608
+ client.queue_service_action_call('partner', 'getInfo', kparams);
3609
+ if (client.is_multirequest)
3610
+ return nil;
3611
+ end
3612
+ return client.do_queue();
3613
+ end
3614
+
3615
+ def get_usage(year='', month=1, resolution='days')
3616
+ kparams = {}
3617
+ client.add_param(kparams, 'year', year);
3618
+ client.add_param(kparams, 'month', month);
3619
+ client.add_param(kparams, 'resolution', resolution);
3620
+ client.queue_service_action_call('partner', 'getUsage', kparams);
3621
+ if (client.is_multirequest)
3622
+ return nil;
3623
+ end
3624
+ return client.do_queue();
3625
+ end
3626
+ end
3627
+
3628
+ class KalturaPlaylistService < KalturaServiceBase
3629
+ def initialize(client)
3630
+ super(client)
3631
+ end
3632
+
3633
+ def add(playlist, update_stats=false)
3634
+ kparams = {}
3635
+ client.add_param(kparams, 'playlist', playlist);
3636
+ client.add_param(kparams, 'updateStats', update_stats);
3637
+ client.queue_service_action_call('playlist', 'add', kparams);
3638
+ if (client.is_multirequest)
3639
+ return nil;
3640
+ end
3641
+ return client.do_queue();
3642
+ end
3643
+
3644
+ def get(id, version=-1)
3645
+ kparams = {}
3646
+ client.add_param(kparams, 'id', id);
3647
+ client.add_param(kparams, 'version', version);
3648
+ client.queue_service_action_call('playlist', 'get', kparams);
3649
+ if (client.is_multirequest)
3650
+ return nil;
3651
+ end
3652
+ return client.do_queue();
3653
+ end
3654
+
3655
+ def update(id, playlist, update_stats=false)
3656
+ kparams = {}
3657
+ client.add_param(kparams, 'id', id);
3658
+ client.add_param(kparams, 'playlist', playlist);
3659
+ client.add_param(kparams, 'updateStats', update_stats);
3660
+ client.queue_service_action_call('playlist', 'update', kparams);
3661
+ if (client.is_multirequest)
3662
+ return nil;
3663
+ end
3664
+ return client.do_queue();
3665
+ end
3666
+
3667
+ def delete(id)
3668
+ kparams = {}
3669
+ client.add_param(kparams, 'id', id);
3670
+ client.queue_service_action_call('playlist', 'delete', kparams);
3671
+ if (client.is_multirequest)
3672
+ return nil;
3673
+ end
3674
+ return client.do_queue();
3675
+ end
3676
+
3677
+ def list(filter=nil, pager=nil)
3678
+ kparams = {}
3679
+ client.add_param(kparams, 'filter', filter);
3680
+ client.add_param(kparams, 'pager', pager);
3681
+ client.queue_service_action_call('playlist', 'list', kparams);
3682
+ if (client.is_multirequest)
3683
+ return nil;
3684
+ end
3685
+ return client.do_queue();
3686
+ end
3687
+
3688
+ def execute(id, detailed='')
3689
+ kparams = {}
3690
+ client.add_param(kparams, 'id', id);
3691
+ client.add_param(kparams, 'detailed', detailed);
3692
+ client.queue_service_action_call('playlist', 'execute', kparams);
3693
+ if (client.is_multirequest)
3694
+ return nil;
3695
+ end
3696
+ return client.do_queue();
3697
+ end
3698
+
3699
+ def execute_from_content(playlist_type, playlist_content, detailed='')
3700
+ kparams = {}
3701
+ client.add_param(kparams, 'playlistType', playlist_type);
3702
+ client.add_param(kparams, 'playlistContent', playlist_content);
3703
+ client.add_param(kparams, 'detailed', detailed);
3704
+ client.queue_service_action_call('playlist', 'executeFromContent', kparams);
3705
+ if (client.is_multirequest)
3706
+ return nil;
3707
+ end
3708
+ return client.do_queue();
3709
+ end
3710
+
3711
+ def execute_from_filters(filters, total_results, detailed='')
3712
+ kparams = {}
3713
+ filters.each do |obj|
3714
+ client.add_param(kparams, 'filters', obj);
3715
+ end
3716
+ client.add_param(kparams, 'totalResults', total_results);
3717
+ client.add_param(kparams, 'detailed', detailed);
3718
+ client.queue_service_action_call('playlist', 'executeFromFilters', kparams);
3719
+ if (client.is_multirequest)
3720
+ return nil;
3721
+ end
3722
+ return client.do_queue();
3723
+ end
3724
+
3725
+ def get_stats_from_content(playlist_type, playlist_content)
3726
+ kparams = {}
3727
+ client.add_param(kparams, 'playlistType', playlist_type);
3728
+ client.add_param(kparams, 'playlistContent', playlist_content);
3729
+ client.queue_service_action_call('playlist', 'getStatsFromContent', kparams);
3730
+ if (client.is_multirequest)
3731
+ return nil;
3732
+ end
3733
+ return client.do_queue();
3734
+ end
3735
+ end
3736
+
3737
+ class KalturaReportService < KalturaServiceBase
3738
+ def initialize(client)
3739
+ super(client)
3740
+ end
3741
+
3742
+ def get_graphs(report_type, report_input_filter, dimension='', object_ids='')
3743
+ kparams = {}
3744
+ client.add_param(kparams, 'reportType', report_type);
3745
+ client.add_param(kparams, 'reportInputFilter', report_input_filter);
3746
+ client.add_param(kparams, 'dimension', dimension);
3747
+ client.add_param(kparams, 'objectIds', object_ids);
3748
+ client.queue_service_action_call('report', 'getGraphs', kparams);
3749
+ if (client.is_multirequest)
3750
+ return nil;
3751
+ end
3752
+ return client.do_queue();
3753
+ end
3754
+
3755
+ def get_total(report_type, report_input_filter, object_ids='')
3756
+ kparams = {}
3757
+ client.add_param(kparams, 'reportType', report_type);
3758
+ client.add_param(kparams, 'reportInputFilter', report_input_filter);
3759
+ client.add_param(kparams, 'objectIds', object_ids);
3760
+ client.queue_service_action_call('report', 'getTotal', kparams);
3761
+ if (client.is_multirequest)
3762
+ return nil;
3763
+ end
3764
+ return client.do_queue();
3765
+ end
3766
+
3767
+ def get_table(report_type, report_input_filter, pager, order='', object_ids='')
3768
+ kparams = {}
3769
+ client.add_param(kparams, 'reportType', report_type);
3770
+ client.add_param(kparams, 'reportInputFilter', report_input_filter);
3771
+ client.add_param(kparams, 'pager', pager);
3772
+ client.add_param(kparams, 'order', order);
3773
+ client.add_param(kparams, 'objectIds', object_ids);
3774
+ client.queue_service_action_call('report', 'getTable', kparams);
3775
+ if (client.is_multirequest)
3776
+ return nil;
3777
+ end
3778
+ return client.do_queue();
3779
+ end
3780
+
3781
+ def get_url_for_report_as_csv(report_title, report_text, headers, report_type, report_input_filter, dimension='', pager=nil, order='', object_ids='')
3782
+ kparams = {}
3783
+ client.add_param(kparams, 'reportTitle', report_title);
3784
+ client.add_param(kparams, 'reportText', report_text);
3785
+ client.add_param(kparams, 'headers', headers);
3786
+ client.add_param(kparams, 'reportType', report_type);
3787
+ client.add_param(kparams, 'reportInputFilter', report_input_filter);
3788
+ client.add_param(kparams, 'dimension', dimension);
3789
+ client.add_param(kparams, 'pager', pager);
3790
+ client.add_param(kparams, 'order', order);
3791
+ client.add_param(kparams, 'objectIds', object_ids);
3792
+ client.queue_service_action_call('report', 'getUrlForReportAsCsv', kparams);
3793
+ if (client.is_multirequest)
3794
+ return nil;
3795
+ end
3796
+ return client.do_queue();
3797
+ end
3798
+ end
3799
+
3800
+ class KalturaSearchService < KalturaServiceBase
3801
+ def initialize(client)
3802
+ super(client)
3803
+ end
3804
+
3805
+ def search(search, pager=nil)
3806
+ kparams = {}
3807
+ client.add_param(kparams, 'search', search);
3808
+ client.add_param(kparams, 'pager', pager);
3809
+ client.queue_service_action_call('search', 'search', kparams);
3810
+ if (client.is_multirequest)
3811
+ return nil;
3812
+ end
3813
+ return client.do_queue();
3814
+ end
3815
+
3816
+ def get_media_info(search_result)
3817
+ kparams = {}
3818
+ client.add_param(kparams, 'searchResult', search_result);
3819
+ client.queue_service_action_call('search', 'getMediaInfo', kparams);
3820
+ if (client.is_multirequest)
3821
+ return nil;
3822
+ end
3823
+ return client.do_queue();
3824
+ end
3825
+
3826
+ def search_url(media_type, url)
3827
+ kparams = {}
3828
+ client.add_param(kparams, 'mediaType', media_type);
3829
+ client.add_param(kparams, 'url', url);
3830
+ client.queue_service_action_call('search', 'searchUrl', kparams);
3831
+ if (client.is_multirequest)
3832
+ return nil;
3833
+ end
3834
+ return client.do_queue();
3835
+ end
3836
+
3837
+ def external_login(search_source, user_name, password)
3838
+ kparams = {}
3839
+ client.add_param(kparams, 'searchSource', search_source);
3840
+ client.add_param(kparams, 'userName', user_name);
3841
+ client.add_param(kparams, 'password', password);
3842
+ client.queue_service_action_call('search', 'externalLogin', kparams);
3843
+ if (client.is_multirequest)
3844
+ return nil;
3845
+ end
3846
+ return client.do_queue();
3847
+ end
3848
+ end
3849
+
3850
+ class KalturaSessionService < KalturaServiceBase
3851
+ def initialize(client)
3852
+ super(client)
3853
+ end
3854
+
3855
+ def start(secret, user_id='', type=0, partner_id=-1, expiry=86400, privileges='')
3856
+ kparams = {}
3857
+ client.add_param(kparams, 'secret', secret);
3858
+ client.add_param(kparams, 'userId', user_id);
3859
+ client.add_param(kparams, 'type', type);
3860
+ client.add_param(kparams, 'partnerId', partner_id);
3861
+ client.add_param(kparams, 'expiry', expiry);
3862
+ client.add_param(kparams, 'privileges', privileges);
3863
+ client.queue_service_action_call('session', 'start', kparams);
3864
+ if (client.is_multirequest)
3865
+ return nil;
3866
+ end
3867
+ return client.do_queue();
3868
+ end
3869
+
3870
+ def start_widget_session(widget_id, expiry=86400)
3871
+ kparams = {}
3872
+ client.add_param(kparams, 'widgetId', widget_id);
3873
+ client.add_param(kparams, 'expiry', expiry);
3874
+ client.queue_service_action_call('session', 'startWidgetSession', kparams);
3875
+ if (client.is_multirequest)
3876
+ return nil;
3877
+ end
3878
+ return client.do_queue();
3879
+ end
3880
+ end
3881
+
3882
+ class KalturaStatsService < KalturaServiceBase
3883
+ def initialize(client)
3884
+ super(client)
3885
+ end
3886
+
3887
+ def collect(event)
3888
+ kparams = {}
3889
+ client.add_param(kparams, 'event', event);
3890
+ client.queue_service_action_call('stats', 'collect', kparams);
3891
+ if (client.is_multirequest)
3892
+ return nil;
3893
+ end
3894
+ return client.do_queue();
3895
+ end
3896
+
3897
+ def kmc_collect(kmc_event)
3898
+ kparams = {}
3899
+ client.add_param(kparams, 'kmcEvent', kmc_event);
3900
+ client.queue_service_action_call('stats', 'kmcCollect', kparams);
3901
+ if (client.is_multirequest)
3902
+ return nil;
3903
+ end
3904
+ return client.do_queue();
3905
+ end
3906
+
3907
+ def report_kce_error(kaltura_ce_error)
3908
+ kparams = {}
3909
+ client.add_param(kparams, 'kalturaCEError', kaltura_ce_error);
3910
+ client.queue_service_action_call('stats', 'reportKceError', kparams);
3911
+ if (client.is_multirequest)
3912
+ return nil;
3913
+ end
3914
+ return client.do_queue();
3915
+ end
3916
+ end
3917
+
3918
+ class KalturaSyndicationFeedService < KalturaServiceBase
3919
+ def initialize(client)
3920
+ super(client)
3921
+ end
3922
+
3923
+ def add(syndication_feed)
3924
+ kparams = {}
3925
+ client.add_param(kparams, 'syndicationFeed', syndication_feed);
3926
+ client.queue_service_action_call('syndicationFeed', 'add', kparams);
3927
+ if (client.is_multirequest)
3928
+ return nil;
3929
+ end
3930
+ return client.do_queue();
3931
+ end
3932
+
3933
+ def get(id)
3934
+ kparams = {}
3935
+ client.add_param(kparams, 'id', id);
3936
+ client.queue_service_action_call('syndicationFeed', 'get', kparams);
3937
+ if (client.is_multirequest)
3938
+ return nil;
3939
+ end
3940
+ return client.do_queue();
3941
+ end
3942
+
3943
+ def update(id, syndication_feed)
3944
+ kparams = {}
3945
+ client.add_param(kparams, 'id', id);
3946
+ client.add_param(kparams, 'syndicationFeed', syndication_feed);
3947
+ client.queue_service_action_call('syndicationFeed', 'update', kparams);
3948
+ if (client.is_multirequest)
3949
+ return nil;
3950
+ end
3951
+ return client.do_queue();
3952
+ end
3953
+
3954
+ def delete(id)
3955
+ kparams = {}
3956
+ client.add_param(kparams, 'id', id);
3957
+ client.queue_service_action_call('syndicationFeed', 'delete', kparams);
3958
+ if (client.is_multirequest)
3959
+ return nil;
3960
+ end
3961
+ return client.do_queue();
3962
+ end
3963
+
3964
+ def list(filter=nil, pager=nil)
3965
+ kparams = {}
3966
+ client.add_param(kparams, 'filter', filter);
3967
+ client.add_param(kparams, 'pager', pager);
3968
+ client.queue_service_action_call('syndicationFeed', 'list', kparams);
3969
+ if (client.is_multirequest)
3970
+ return nil;
3971
+ end
3972
+ return client.do_queue();
3973
+ end
3974
+
3975
+ def get_entry_count(feed_id)
3976
+ kparams = {}
3977
+ client.add_param(kparams, 'feedId', feed_id);
3978
+ client.queue_service_action_call('syndicationFeed', 'getEntryCount', kparams);
3979
+ if (client.is_multirequest)
3980
+ return nil;
3981
+ end
3982
+ return client.do_queue();
3983
+ end
3984
+
3985
+ def request_conversion(feed_id)
3986
+ kparams = {}
3987
+ client.add_param(kparams, 'feedId', feed_id);
3988
+ client.queue_service_action_call('syndicationFeed', 'requestConversion', kparams);
3989
+ if (client.is_multirequest)
3990
+ return nil;
3991
+ end
3992
+ return client.do_queue();
3993
+ end
3994
+ end
3995
+
3996
+ class KalturaSystemService < KalturaServiceBase
3997
+ def initialize(client)
3998
+ super(client)
3999
+ end
4000
+
4001
+ def ping()
4002
+ kparams = {}
4003
+ client.queue_service_action_call('system', 'ping', kparams);
4004
+ if (client.is_multirequest)
4005
+ return nil;
4006
+ end
4007
+ return client.do_queue();
4008
+ end
4009
+ end
4010
+
4011
+ class KalturaUiConfService < KalturaServiceBase
4012
+ def initialize(client)
4013
+ super(client)
4014
+ end
4015
+
4016
+ def add(ui_conf)
4017
+ kparams = {}
4018
+ client.add_param(kparams, 'uiConf', ui_conf);
4019
+ client.queue_service_action_call('uiConf', 'add', kparams);
4020
+ if (client.is_multirequest)
4021
+ return nil;
4022
+ end
4023
+ return client.do_queue();
4024
+ end
4025
+
4026
+ def update(id, ui_conf)
4027
+ kparams = {}
4028
+ client.add_param(kparams, 'id', id);
4029
+ client.add_param(kparams, 'uiConf', ui_conf);
4030
+ client.queue_service_action_call('uiConf', 'update', kparams);
4031
+ if (client.is_multirequest)
4032
+ return nil;
4033
+ end
4034
+ return client.do_queue();
4035
+ end
4036
+
4037
+ def get(id)
4038
+ kparams = {}
4039
+ client.add_param(kparams, 'id', id);
4040
+ client.queue_service_action_call('uiConf', 'get', kparams);
4041
+ if (client.is_multirequest)
4042
+ return nil;
4043
+ end
4044
+ return client.do_queue();
4045
+ end
4046
+
4047
+ def delete(id)
4048
+ kparams = {}
4049
+ client.add_param(kparams, 'id', id);
4050
+ client.queue_service_action_call('uiConf', 'delete', kparams);
4051
+ if (client.is_multirequest)
4052
+ return nil;
4053
+ end
4054
+ return client.do_queue();
4055
+ end
4056
+
4057
+ def clone(id)
4058
+ kparams = {}
4059
+ client.add_param(kparams, 'id', id);
4060
+ client.queue_service_action_call('uiConf', 'clone', kparams);
4061
+ if (client.is_multirequest)
4062
+ return nil;
4063
+ end
4064
+ return client.do_queue();
4065
+ end
4066
+
4067
+ def list_templates(filter=nil, pager=nil)
4068
+ kparams = {}
4069
+ client.add_param(kparams, 'filter', filter);
4070
+ client.add_param(kparams, 'pager', pager);
4071
+ client.queue_service_action_call('uiConf', 'listTemplates', kparams);
4072
+ if (client.is_multirequest)
4073
+ return nil;
4074
+ end
4075
+ return client.do_queue();
4076
+ end
4077
+
4078
+ def list(filter=nil, pager=nil)
4079
+ kparams = {}
4080
+ client.add_param(kparams, 'filter', filter);
4081
+ client.add_param(kparams, 'pager', pager);
4082
+ client.queue_service_action_call('uiConf', 'list', kparams);
4083
+ if (client.is_multirequest)
4084
+ return nil;
4085
+ end
4086
+ return client.do_queue();
4087
+ end
4088
+ end
4089
+
4090
+ class KalturaUploadService < KalturaServiceBase
4091
+ def initialize(client)
4092
+ super(client)
4093
+ end
4094
+
4095
+ def upload(file_data)
4096
+ kparams = {}
4097
+ client.add_param(kparams, 'fileData', file_data);
4098
+ client.queue_service_action_call('upload', 'upload', kparams);
4099
+ if (client.is_multirequest)
4100
+ return nil;
4101
+ end
4102
+ return client.do_queue();
4103
+ end
4104
+
4105
+ def get_uploaded_file_token_by_file_name(file_name)
4106
+ kparams = {}
4107
+ client.add_param(kparams, 'fileName', file_name);
4108
+ client.queue_service_action_call('upload', 'getUploadedFileTokenByFileName', kparams);
4109
+ if (client.is_multirequest)
4110
+ return nil;
4111
+ end
4112
+ return client.do_queue();
4113
+ end
4114
+ end
4115
+
4116
+ class KalturaUserService < KalturaServiceBase
4117
+ def initialize(client)
4118
+ super(client)
4119
+ end
4120
+
4121
+ def add(user)
4122
+ kparams = {}
4123
+ client.add_param(kparams, 'user', user);
4124
+ client.queue_service_action_call('user', 'add', kparams);
4125
+ if (client.is_multirequest)
4126
+ return nil;
4127
+ end
4128
+ return client.do_queue();
4129
+ end
4130
+
4131
+ def update(user_id, user)
4132
+ kparams = {}
4133
+ client.add_param(kparams, 'userId', user_id);
4134
+ client.add_param(kparams, 'user', user);
4135
+ client.queue_service_action_call('user', 'update', kparams);
4136
+ if (client.is_multirequest)
4137
+ return nil;
4138
+ end
4139
+ return client.do_queue();
4140
+ end
4141
+
4142
+ def get(user_id)
4143
+ kparams = {}
4144
+ client.add_param(kparams, 'userId', user_id);
4145
+ client.queue_service_action_call('user', 'get', kparams);
4146
+ if (client.is_multirequest)
4147
+ return nil;
4148
+ end
4149
+ return client.do_queue();
4150
+ end
4151
+
4152
+ def delete(user_id)
4153
+ kparams = {}
4154
+ client.add_param(kparams, 'userId', user_id);
4155
+ client.queue_service_action_call('user', 'delete', kparams);
4156
+ if (client.is_multirequest)
4157
+ return nil;
4158
+ end
4159
+ return client.do_queue();
4160
+ end
4161
+
4162
+ def list(filter=nil, pager=nil)
4163
+ kparams = {}
4164
+ client.add_param(kparams, 'filter', filter);
4165
+ client.add_param(kparams, 'pager', pager);
4166
+ client.queue_service_action_call('user', 'list', kparams);
4167
+ if (client.is_multirequest)
4168
+ return nil;
4169
+ end
4170
+ return client.do_queue();
4171
+ end
4172
+
4173
+ def notify_ban(user_id)
4174
+ kparams = {}
4175
+ client.add_param(kparams, 'userId', user_id);
4176
+ client.queue_service_action_call('user', 'notifyBan', kparams);
4177
+ if (client.is_multirequest)
4178
+ return nil;
4179
+ end
4180
+ return client.do_queue();
4181
+ end
4182
+ end
4183
+
4184
+ class KalturaWidgetService < KalturaServiceBase
4185
+ def initialize(client)
4186
+ super(client)
4187
+ end
4188
+
4189
+ def add(widget)
4190
+ kparams = {}
4191
+ client.add_param(kparams, 'widget', widget);
4192
+ client.queue_service_action_call('widget', 'add', kparams);
4193
+ if (client.is_multirequest)
4194
+ return nil;
4195
+ end
4196
+ return client.do_queue();
4197
+ end
4198
+
4199
+ def update(id, widget)
4200
+ kparams = {}
4201
+ client.add_param(kparams, 'id', id);
4202
+ client.add_param(kparams, 'widget', widget);
4203
+ client.queue_service_action_call('widget', 'update', kparams);
4204
+ if (client.is_multirequest)
4205
+ return nil;
4206
+ end
4207
+ return client.do_queue();
4208
+ end
4209
+
4210
+ def get(id)
4211
+ kparams = {}
4212
+ client.add_param(kparams, 'id', id);
4213
+ client.queue_service_action_call('widget', 'get', kparams);
4214
+ if (client.is_multirequest)
4215
+ return nil;
4216
+ end
4217
+ return client.do_queue();
4218
+ end
4219
+
4220
+ def clone(widget)
4221
+ kparams = {}
4222
+ client.add_param(kparams, 'widget', widget);
4223
+ client.queue_service_action_call('widget', 'clone', kparams);
4224
+ if (client.is_multirequest)
4225
+ return nil;
4226
+ end
4227
+ return client.do_queue();
4228
+ end
4229
+
4230
+ def list(filter=nil, pager=nil)
4231
+ kparams = {}
4232
+ client.add_param(kparams, 'filter', filter);
4233
+ client.add_param(kparams, 'pager', pager);
4234
+ client.queue_service_action_call('widget', 'list', kparams);
4235
+ if (client.is_multirequest)
4236
+ return nil;
4237
+ end
4238
+ return client.do_queue();
4239
+ end
4240
+ end
4241
+
4242
+ class KalturaXInternalService < KalturaServiceBase
4243
+ def initialize(client)
4244
+ super(client)
4245
+ end
4246
+
4247
+ def x_add_bulk_download(entry_ids, flavor_params_id='')
4248
+ kparams = {}
4249
+ client.add_param(kparams, 'entryIds', entry_ids);
4250
+ client.add_param(kparams, 'flavorParamsId', flavor_params_id);
4251
+ client.queue_service_action_call('xInternal', 'xAddBulkDownload', kparams);
4252
+ if (client.is_multirequest)
4253
+ return nil;
4254
+ end
4255
+ return client.do_queue();
4256
+ end
4257
+ end
4258
+
4259
+ class KalturaSystemUserService < KalturaServiceBase
4260
+ def initialize(client)
4261
+ super(client)
4262
+ end
4263
+
4264
+ def verify_password(email, password)
4265
+ kparams = {}
4266
+ client.add_param(kparams, 'email', email);
4267
+ client.add_param(kparams, 'password', password);
4268
+ client.queue_service_action_call('systemUser', 'verifyPassword', kparams);
4269
+ if (client.is_multirequest)
4270
+ return nil;
4271
+ end
4272
+ return client.do_queue();
4273
+ end
4274
+
4275
+ def generate_new_password()
4276
+ kparams = {}
4277
+ client.queue_service_action_call('systemUser', 'generateNewPassword', kparams);
4278
+ if (client.is_multirequest)
4279
+ return nil;
4280
+ end
4281
+ return client.do_queue();
4282
+ end
4283
+
4284
+ def set_new_password(user_id, password)
4285
+ kparams = {}
4286
+ client.add_param(kparams, 'userId', user_id);
4287
+ client.add_param(kparams, 'password', password);
4288
+ client.queue_service_action_call('systemUser', 'setNewPassword', kparams);
4289
+ if (client.is_multirequest)
4290
+ return nil;
4291
+ end
4292
+ return client.do_queue();
4293
+ end
4294
+
4295
+ def add(system_user)
4296
+ kparams = {}
4297
+ client.add_param(kparams, 'systemUser', system_user);
4298
+ client.queue_service_action_call('systemUser', 'add', kparams);
4299
+ if (client.is_multirequest)
4300
+ return nil;
4301
+ end
4302
+ return client.do_queue();
4303
+ end
4304
+
4305
+ def get(user_id)
4306
+ kparams = {}
4307
+ client.add_param(kparams, 'userId', user_id);
4308
+ client.queue_service_action_call('systemUser', 'get', kparams);
4309
+ if (client.is_multirequest)
4310
+ return nil;
4311
+ end
4312
+ return client.do_queue();
4313
+ end
4314
+
4315
+ def get_by_email(email)
4316
+ kparams = {}
4317
+ client.add_param(kparams, 'email', email);
4318
+ client.queue_service_action_call('systemUser', 'getByEmail', kparams);
4319
+ if (client.is_multirequest)
4320
+ return nil;
4321
+ end
4322
+ return client.do_queue();
4323
+ end
4324
+
4325
+ def update(user_id, system_user)
4326
+ kparams = {}
4327
+ client.add_param(kparams, 'userId', user_id);
4328
+ client.add_param(kparams, 'systemUser', system_user);
4329
+ client.queue_service_action_call('systemUser', 'update', kparams);
4330
+ if (client.is_multirequest)
4331
+ return nil;
4332
+ end
4333
+ return client.do_queue();
4334
+ end
4335
+
4336
+ def delete(user_id)
4337
+ kparams = {}
4338
+ client.add_param(kparams, 'userId', user_id);
4339
+ client.queue_service_action_call('systemUser', 'delete', kparams);
4340
+ if (client.is_multirequest)
4341
+ return nil;
4342
+ end
4343
+ return client.do_queue();
4344
+ end
4345
+
4346
+ def list(filter=nil, pager=nil)
4347
+ kparams = {}
4348
+ client.add_param(kparams, 'filter', filter);
4349
+ client.add_param(kparams, 'pager', pager);
4350
+ client.queue_service_action_call('systemUser', 'list', kparams);
4351
+ if (client.is_multirequest)
4352
+ return nil;
4353
+ end
4354
+ return client.do_queue();
4355
+ end
4356
+ end
4357
+
4358
+ class KalturaSystemPartnerService < KalturaServiceBase
4359
+ def initialize(client)
4360
+ super(client)
4361
+ end
4362
+
4363
+ def get(partner_id)
4364
+ kparams = {}
4365
+ client.add_param(kparams, 'partnerId', partner_id);
4366
+ client.queue_service_action_call('systemPartner', 'get', kparams);
4367
+ if (client.is_multirequest)
4368
+ return nil;
4369
+ end
4370
+ return client.do_queue();
4371
+ end
4372
+
4373
+ def get_usage(partner_filter=nil, usage_filter=nil, pager=nil)
4374
+ kparams = {}
4375
+ client.add_param(kparams, 'partnerFilter', partner_filter);
4376
+ client.add_param(kparams, 'usageFilter', usage_filter);
4377
+ client.add_param(kparams, 'pager', pager);
4378
+ client.queue_service_action_call('systemPartner', 'getUsage', kparams);
4379
+ if (client.is_multirequest)
4380
+ return nil;
4381
+ end
4382
+ return client.do_queue();
4383
+ end
4384
+
4385
+ def list(filter=nil, pager=nil)
4386
+ kparams = {}
4387
+ client.add_param(kparams, 'filter', filter);
4388
+ client.add_param(kparams, 'pager', pager);
4389
+ client.queue_service_action_call('systemPartner', 'list', kparams);
4390
+ if (client.is_multirequest)
4391
+ return nil;
4392
+ end
4393
+ return client.do_queue();
4394
+ end
4395
+
4396
+ def update_status(partner_id, status)
4397
+ kparams = {}
4398
+ client.add_param(kparams, 'partnerId', partner_id);
4399
+ client.add_param(kparams, 'status', status);
4400
+ client.queue_service_action_call('systemPartner', 'updateStatus', kparams);
4401
+ if (client.is_multirequest)
4402
+ return nil;
4403
+ end
4404
+ return client.do_queue();
4405
+ end
4406
+
4407
+ def get_admin_session(partner_id)
4408
+ kparams = {}
4409
+ client.add_param(kparams, 'partnerId', partner_id);
4410
+ client.queue_service_action_call('systemPartner', 'getAdminSession', kparams);
4411
+ if (client.is_multirequest)
4412
+ return nil;
4413
+ end
4414
+ return client.do_queue();
4415
+ end
4416
+
4417
+ def update_configuration(partner_id, configuration)
4418
+ kparams = {}
4419
+ client.add_param(kparams, 'partnerId', partner_id);
4420
+ client.add_param(kparams, 'configuration', configuration);
4421
+ client.queue_service_action_call('systemPartner', 'updateConfiguration', kparams);
4422
+ if (client.is_multirequest)
4423
+ return nil;
4424
+ end
4425
+ return client.do_queue();
4426
+ end
4427
+
4428
+ def get_configuration(partner_id)
4429
+ kparams = {}
4430
+ client.add_param(kparams, 'partnerId', partner_id);
4431
+ client.queue_service_action_call('systemPartner', 'getConfiguration', kparams);
4432
+ if (client.is_multirequest)
4433
+ return nil;
4434
+ end
4435
+ return client.do_queue();
4436
+ end
4437
+
4438
+ def get_packages()
4439
+ kparams = {}
4440
+ client.queue_service_action_call('systemPartner', 'getPackages', kparams);
4441
+ if (client.is_multirequest)
4442
+ return nil;
4443
+ end
4444
+ return client.do_queue();
4445
+ end
4446
+ end
4447
+
4448
+ class KalturaFileSyncService < KalturaServiceBase
4449
+ def initialize(client)
4450
+ super(client)
4451
+ end
4452
+
4453
+ def list(filter=nil, pager=nil)
4454
+ kparams = {}
4455
+ client.add_param(kparams, 'filter', filter);
4456
+ client.add_param(kparams, 'pager', pager);
4457
+ client.queue_service_action_call('fileSync', 'list', kparams);
4458
+ if (client.is_multirequest)
4459
+ return nil;
4460
+ end
4461
+ return client.do_queue();
4462
+ end
4463
+ end
4464
+
4465
+ class KalturaFlavorParamsOutputService < KalturaServiceBase
4466
+ def initialize(client)
4467
+ super(client)
4468
+ end
4469
+
4470
+ def list(filter=nil, pager=nil)
4471
+ kparams = {}
4472
+ client.add_param(kparams, 'filter', filter);
4473
+ client.add_param(kparams, 'pager', pager);
4474
+ client.queue_service_action_call('flavorParamsOutput', 'list', kparams);
4475
+ if (client.is_multirequest)
4476
+ return nil;
4477
+ end
4478
+ return client.do_queue();
4479
+ end
4480
+ end
4481
+
4482
+ class KalturaMediaInfoService < KalturaServiceBase
4483
+ def initialize(client)
4484
+ super(client)
4485
+ end
4486
+
4487
+ def list(filter=nil, pager=nil)
4488
+ kparams = {}
4489
+ client.add_param(kparams, 'filter', filter);
4490
+ client.add_param(kparams, 'pager', pager);
4491
+ client.queue_service_action_call('mediaInfo', 'list', kparams);
4492
+ if (client.is_multirequest)
4493
+ return nil;
4494
+ end
4495
+ return client.do_queue();
4496
+ end
4497
+ end
4498
+
4499
+ class KalturaEntryAdminService < KalturaServiceBase
4500
+ def initialize(client)
4501
+ super(client)
4502
+ end
4503
+
4504
+ def get(entry_id, version=-1)
4505
+ kparams = {}
4506
+ client.add_param(kparams, 'entryId', entry_id);
4507
+ client.add_param(kparams, 'version', version);
4508
+ client.queue_service_action_call('entryAdmin', 'get', kparams);
4509
+ if (client.is_multirequest)
4510
+ return nil;
4511
+ end
4512
+ return client.do_queue();
4513
+ end
4514
+ end
4515
+
4516
+ class KalturaClient < KalturaClientBase
4517
+ attr_reader :access_control_service
4518
+ def access_control_service
4519
+ if (@access_control_service == nil)
4520
+ @access_control_service = KalturaAccessControlService.new(self)
4521
+ end
4522
+ return @access_control_service
4523
+ end
4524
+ attr_reader :admin_user_service
4525
+ def admin_user_service
4526
+ if (@admin_user_service == nil)
4527
+ @admin_user_service = KalturaAdminUserService.new(self)
4528
+ end
4529
+ return @admin_user_service
4530
+ end
4531
+ attr_reader :base_entry_service
4532
+ def base_entry_service
4533
+ if (@base_entry_service == nil)
4534
+ @base_entry_service = KalturaBaseEntryService.new(self)
4535
+ end
4536
+ return @base_entry_service
4537
+ end
4538
+ attr_reader :bulk_upload_service
4539
+ def bulk_upload_service
4540
+ if (@bulk_upload_service == nil)
4541
+ @bulk_upload_service = KalturaBulkUploadService.new(self)
4542
+ end
4543
+ return @bulk_upload_service
4544
+ end
4545
+ attr_reader :category_service
4546
+ def category_service
4547
+ if (@category_service == nil)
4548
+ @category_service = KalturaCategoryService.new(self)
4549
+ end
4550
+ return @category_service
4551
+ end
4552
+ attr_reader :conversion_profile_service
4553
+ def conversion_profile_service
4554
+ if (@conversion_profile_service == nil)
4555
+ @conversion_profile_service = KalturaConversionProfileService.new(self)
4556
+ end
4557
+ return @conversion_profile_service
4558
+ end
4559
+ attr_reader :data_service
4560
+ def data_service
4561
+ if (@data_service == nil)
4562
+ @data_service = KalturaDataService.new(self)
4563
+ end
4564
+ return @data_service
4565
+ end
4566
+ attr_reader :email_ingestion_profile_service
4567
+ def email_ingestion_profile_service
4568
+ if (@email_ingestion_profile_service == nil)
4569
+ @email_ingestion_profile_service = KalturaEmailIngestionProfileService.new(self)
4570
+ end
4571
+ return @email_ingestion_profile_service
4572
+ end
4573
+ attr_reader :flavor_asset_service
4574
+ def flavor_asset_service
4575
+ if (@flavor_asset_service == nil)
4576
+ @flavor_asset_service = KalturaFlavorAssetService.new(self)
4577
+ end
4578
+ return @flavor_asset_service
4579
+ end
4580
+ attr_reader :flavor_params_service
4581
+ def flavor_params_service
4582
+ if (@flavor_params_service == nil)
4583
+ @flavor_params_service = KalturaFlavorParamsService.new(self)
4584
+ end
4585
+ return @flavor_params_service
4586
+ end
4587
+ attr_reader :live_stream_service
4588
+ def live_stream_service
4589
+ if (@live_stream_service == nil)
4590
+ @live_stream_service = KalturaLiveStreamService.new(self)
4591
+ end
4592
+ return @live_stream_service
4593
+ end
4594
+ attr_reader :media_service
4595
+ def media_service
4596
+ if (@media_service == nil)
4597
+ @media_service = KalturaMediaService.new(self)
4598
+ end
4599
+ return @media_service
4600
+ end
4601
+ attr_reader :mixing_service
4602
+ def mixing_service
4603
+ if (@mixing_service == nil)
4604
+ @mixing_service = KalturaMixingService.new(self)
4605
+ end
4606
+ return @mixing_service
4607
+ end
4608
+ attr_reader :notification_service
4609
+ def notification_service
4610
+ if (@notification_service == nil)
4611
+ @notification_service = KalturaNotificationService.new(self)
4612
+ end
4613
+ return @notification_service
4614
+ end
4615
+ attr_reader :partner_service
4616
+ def partner_service
4617
+ if (@partner_service == nil)
4618
+ @partner_service = KalturaPartnerService.new(self)
4619
+ end
4620
+ return @partner_service
4621
+ end
4622
+ attr_reader :playlist_service
4623
+ def playlist_service
4624
+ if (@playlist_service == nil)
4625
+ @playlist_service = KalturaPlaylistService.new(self)
4626
+ end
4627
+ return @playlist_service
4628
+ end
4629
+ attr_reader :report_service
4630
+ def report_service
4631
+ if (@report_service == nil)
4632
+ @report_service = KalturaReportService.new(self)
4633
+ end
4634
+ return @report_service
4635
+ end
4636
+ attr_reader :search_service
4637
+ def search_service
4638
+ if (@search_service == nil)
4639
+ @search_service = KalturaSearchService.new(self)
4640
+ end
4641
+ return @search_service
4642
+ end
4643
+ attr_reader :session_service
4644
+ def session_service
4645
+ if (@session_service == nil)
4646
+ @session_service = KalturaSessionService.new(self)
4647
+ end
4648
+ return @session_service
4649
+ end
4650
+ attr_reader :stats_service
4651
+ def stats_service
4652
+ if (@stats_service == nil)
4653
+ @stats_service = KalturaStatsService.new(self)
4654
+ end
4655
+ return @stats_service
4656
+ end
4657
+ attr_reader :syndication_feed_service
4658
+ def syndication_feed_service
4659
+ if (@syndication_feed_service == nil)
4660
+ @syndication_feed_service = KalturaSyndicationFeedService.new(self)
4661
+ end
4662
+ return @syndication_feed_service
4663
+ end
4664
+ attr_reader :system_service
4665
+ def system_service
4666
+ if (@system_service == nil)
4667
+ @system_service = KalturaSystemService.new(self)
4668
+ end
4669
+ return @system_service
4670
+ end
4671
+ attr_reader :ui_conf_service
4672
+ def ui_conf_service
4673
+ if (@ui_conf_service == nil)
4674
+ @ui_conf_service = KalturaUiConfService.new(self)
4675
+ end
4676
+ return @ui_conf_service
4677
+ end
4678
+ attr_reader :upload_service
4679
+ def upload_service
4680
+ if (@upload_service == nil)
4681
+ @upload_service = KalturaUploadService.new(self)
4682
+ end
4683
+ return @upload_service
4684
+ end
4685
+ attr_reader :user_service
4686
+ def user_service
4687
+ if (@user_service == nil)
4688
+ @user_service = KalturaUserService.new(self)
4689
+ end
4690
+ return @user_service
4691
+ end
4692
+ attr_reader :widget_service
4693
+ def widget_service
4694
+ if (@widget_service == nil)
4695
+ @widget_service = KalturaWidgetService.new(self)
4696
+ end
4697
+ return @widget_service
4698
+ end
4699
+ attr_reader :x_internal_service
4700
+ def x_internal_service
4701
+ if (@x_internal_service == nil)
4702
+ @x_internal_service = KalturaXInternalService.new(self)
4703
+ end
4704
+ return @x_internal_service
4705
+ end
4706
+ attr_reader :system_user_service
4707
+ def system_user_service
4708
+ if (@system_user_service == nil)
4709
+ @system_user_service = KalturaSystemUserService.new(self)
4710
+ end
4711
+ return @system_user_service
4712
+ end
4713
+ attr_reader :system_partner_service
4714
+ def system_partner_service
4715
+ if (@system_partner_service == nil)
4716
+ @system_partner_service = KalturaSystemPartnerService.new(self)
4717
+ end
4718
+ return @system_partner_service
4719
+ end
4720
+ attr_reader :file_sync_service
4721
+ def file_sync_service
4722
+ if (@file_sync_service == nil)
4723
+ @file_sync_service = KalturaFileSyncService.new(self)
4724
+ end
4725
+ return @file_sync_service
4726
+ end
4727
+ attr_reader :flavor_params_output_service
4728
+ def flavor_params_output_service
4729
+ if (@flavor_params_output_service == nil)
4730
+ @flavor_params_output_service = KalturaFlavorParamsOutputService.new(self)
4731
+ end
4732
+ return @flavor_params_output_service
4733
+ end
4734
+ attr_reader :media_info_service
4735
+ def media_info_service
4736
+ if (@media_info_service == nil)
4737
+ @media_info_service = KalturaMediaInfoService.new(self)
4738
+ end
4739
+ return @media_info_service
4740
+ end
4741
+ attr_reader :entry_admin_service
4742
+ def entry_admin_service
4743
+ if (@entry_admin_service == nil)
4744
+ @entry_admin_service = KalturaEntryAdminService.new(self)
4745
+ end
4746
+ return @entry_admin_service
4747
+ end
4748
+ end
4749
+
4750
+ end