kaltura-ruby-client 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/README +20 -0
  3. data/Rakefile +19 -0
  4. data/agpl.txt +674 -0
  5. data/kaltura.yml +7 -0
  6. data/lib/kaltura.rb +31 -0
  7. data/lib/kaltura_client.rb +14450 -0
  8. data/lib/kaltura_client_base.rb +432 -0
  9. data/lib/kaltura_plugins/kaltura_abc_screeners_watermark_access_control_client_plugin.rb +37 -0
  10. data/lib/kaltura_plugins/kaltura_ad_cue_point_client_plugin.rb +108 -0
  11. data/lib/kaltura_plugins/kaltura_annotation_client_plugin.rb +237 -0
  12. data/lib/kaltura_plugins/kaltura_aspera_client_plugin.rb +61 -0
  13. data/lib/kaltura_plugins/kaltura_attachment_client_plugin.rb +227 -0
  14. data/lib/kaltura_plugins/kaltura_audit_client_plugin.rb +349 -0
  15. data/lib/kaltura_plugins/kaltura_bulk_upload_client_plugin.rb +109 -0
  16. data/lib/kaltura_plugins/kaltura_bulk_upload_csv_client_plugin.rb +55 -0
  17. data/lib/kaltura_plugins/kaltura_bulk_upload_filter_client_plugin.rb +46 -0
  18. data/lib/kaltura_plugins/kaltura_bulk_upload_xml_client_plugin.rb +40 -0
  19. data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +406 -0
  20. data/lib/kaltura_plugins/kaltura_caption_search_client_plugin.rb +138 -0
  21. data/lib/kaltura_plugins/kaltura_code_cue_point_client_plugin.rb +97 -0
  22. data/lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb +1717 -0
  23. data/lib/kaltura_plugins/kaltura_cue_point_client_plugin.rb +290 -0
  24. data/lib/kaltura_plugins/kaltura_document_client_plugin.rb +522 -0
  25. data/lib/kaltura_plugins/kaltura_drm_client_plugin.rb +204 -0
  26. data/lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb +810 -0
  27. data/lib/kaltura_plugins/kaltura_drop_folder_xml_bulk_upload_client_plugin.rb +39 -0
  28. data/lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb +276 -0
  29. data/lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb +405 -0
  30. data/lib/kaltura_plugins/kaltura_external_media_client_plugin.rb +203 -0
  31. data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +151 -0
  32. data/lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb +309 -0
  33. data/lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb +72 -0
  34. data/lib/kaltura_plugins/kaltura_like_client_plugin.rb +82 -0
  35. data/lib/kaltura_plugins/kaltura_metadata_client_plugin.rb +788 -0
  36. data/lib/kaltura_plugins/kaltura_multi_centers_client_plugin.rb +45 -0
  37. data/lib/kaltura_plugins/kaltura_short_link_client_plugin.rb +231 -0
  38. data/lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb +145 -0
  39. data/lib/kaltura_plugins/kaltura_var_console_client_plugin.rb +238 -0
  40. data/lib/kaltura_plugins/kaltura_velocix_client_plugin.rb +40 -0
  41. data/lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb +263 -0
  42. data/lib/kaltura_plugins/kaltura_webex_drop_folder_client_plugin.rb +121 -0
  43. data/lib/kaltura_plugins/kaltura_widevine_client_plugin.rb +195 -0
  44. data/license.txt +674 -0
  45. data/test/access_control_service_test.rb +75 -0
  46. data/test/base_entry_service_test.rb +267 -0
  47. data/test/configuration_test.rb +178 -0
  48. data/test/cue_point_service_test.rb +67 -0
  49. data/test/data_service_test.rb +76 -0
  50. data/test/document_service_test.rb +41 -0
  51. data/test/media/test.mov +0 -0
  52. data/test/media/test.pdf +0 -0
  53. data/test/media/test.png +0 -0
  54. data/test/media/test.swf +0 -0
  55. data/test/media/test.wmv +0 -0
  56. data/test/media_service_test.rb +294 -0
  57. data/test/metadata_profile_service_test.rb +63 -0
  58. data/test/test_helper.rb +59 -0
  59. metadata +127 -0
@@ -0,0 +1,55 @@
1
+ # ===================================================================================================
2
+ # _ __ _ _
3
+ # | |/ /__ _| | |_ _ _ _ _ __ _
4
+ # | ' </ _` | | _| || | '_/ _` |
5
+ # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
+ #
7
+ # This file is part of the Kaltura Collaborative Media Suite which allows users
8
+ # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
+ # text.
10
+ #
11
+ # Copyright (C) 2006-2011 Kaltura Inc.
12
+ #
13
+ # This program is free software: you can redistribute it and/or modify
14
+ # it under the terms of the GNU Affero General Public License as
15
+ # published by the Free Software Foundation, either version 3 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU Affero General Public License for more details.
22
+ #
23
+ # You should have received a copy of the GNU Affero General Public License
24
+ # along with this program. If not, see <http:#www.gnu.org/licenses/>.
25
+ #
26
+ # @ignore
27
+ # ===================================================================================================
28
+ require 'kaltura_client.rb'
29
+ require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb'
30
+
31
+ module Kaltura
32
+
33
+ class KalturaBulkUploadCsvVersion
34
+ V1 = 1
35
+ V2 = 2
36
+ V3 = 3
37
+ end
38
+
39
+ # Represents the Bulk upload job data for xml bulk upload
40
+ #
41
+ class KalturaBulkUploadCsvJobData < KalturaBulkUploadJobData
42
+ # The version of the csv file
43
+ #
44
+ attr_accessor :csv_version
45
+ # Array containing CSV headers
46
+ #
47
+ attr_accessor :columns
48
+
49
+ def csv_version=(val)
50
+ @csv_version = val.to_i
51
+ end
52
+ end
53
+
54
+
55
+ end
@@ -0,0 +1,46 @@
1
+ # ===================================================================================================
2
+ # _ __ _ _
3
+ # | |/ /__ _| | |_ _ _ _ _ __ _
4
+ # | ' </ _` | | _| || | '_/ _` |
5
+ # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
+ #
7
+ # This file is part of the Kaltura Collaborative Media Suite which allows users
8
+ # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
+ # text.
10
+ #
11
+ # Copyright (C) 2006-2011 Kaltura Inc.
12
+ #
13
+ # This program is free software: you can redistribute it and/or modify
14
+ # it under the terms of the GNU Affero General Public License as
15
+ # published by the Free Software Foundation, either version 3 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU Affero General Public License for more details.
22
+ #
23
+ # You should have received a copy of the GNU Affero General Public License
24
+ # along with this program. If not, see <http:#www.gnu.org/licenses/>.
25
+ #
26
+ # @ignore
27
+ # ===================================================================================================
28
+ require 'kaltura_client.rb'
29
+ require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb'
30
+
31
+ module Kaltura
32
+
33
+ # Represents the Bulk upload job data for filter bulk upload
34
+ #
35
+ class KalturaBulkUploadFilterJobData < KalturaBulkUploadJobData
36
+ # Filter for extracting the objects list to upload
37
+ #
38
+ attr_accessor :filter
39
+ # Template object for new object creation
40
+ #
41
+ attr_accessor :template_object
42
+
43
+ end
44
+
45
+
46
+ end
@@ -0,0 +1,40 @@
1
+ # ===================================================================================================
2
+ # _ __ _ _
3
+ # | |/ /__ _| | |_ _ _ _ _ __ _
4
+ # | ' </ _` | | _| || | '_/ _` |
5
+ # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
+ #
7
+ # This file is part of the Kaltura Collaborative Media Suite which allows users
8
+ # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
+ # text.
10
+ #
11
+ # Copyright (C) 2006-2011 Kaltura Inc.
12
+ #
13
+ # This program is free software: you can redistribute it and/or modify
14
+ # it under the terms of the GNU Affero General Public License as
15
+ # published by the Free Software Foundation, either version 3 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU Affero General Public License for more details.
22
+ #
23
+ # You should have received a copy of the GNU Affero General Public License
24
+ # along with this program. If not, see <http:#www.gnu.org/licenses/>.
25
+ #
26
+ # @ignore
27
+ # ===================================================================================================
28
+ require 'kaltura_client.rb'
29
+ require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb'
30
+
31
+ module Kaltura
32
+
33
+ # Represents the Bulk upload job data for xml bulk upload
34
+ #
35
+ class KalturaBulkUploadXmlJobData < KalturaBulkUploadJobData
36
+
37
+ end
38
+
39
+
40
+ end
@@ -0,0 +1,406 @@
1
+ # ===================================================================================================
2
+ # _ __ _ _
3
+ # | |/ /__ _| | |_ _ _ _ _ __ _
4
+ # | ' </ _` | | _| || | '_/ _` |
5
+ # |_|\_\__,_|_|\__|\_,_|_| \__,_|
6
+ #
7
+ # This file is part of the Kaltura Collaborative Media Suite which allows users
8
+ # to do with audio, video, and animation what Wiki platfroms allow them to do with
9
+ # text.
10
+ #
11
+ # Copyright (C) 2006-2011 Kaltura Inc.
12
+ #
13
+ # This program is free software: you can redistribute it and/or modify
14
+ # it under the terms of the GNU Affero General Public License as
15
+ # published by the Free Software Foundation, either version 3 of the
16
+ # License, or (at your option) any later version.
17
+ #
18
+ # This program is distributed in the hope that it will be useful,
19
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ # GNU Affero General Public License for more details.
22
+ #
23
+ # You should have received a copy of the GNU Affero General Public License
24
+ # along with this program. If not, see <http:#www.gnu.org/licenses/>.
25
+ #
26
+ # @ignore
27
+ # ===================================================================================================
28
+ require 'kaltura_client.rb'
29
+
30
+ module Kaltura
31
+
32
+ class KalturaCaptionAssetStatus
33
+ ERROR = -1
34
+ QUEUED = 0
35
+ READY = 2
36
+ DELETED = 3
37
+ IMPORTING = 7
38
+ EXPORTING = 9
39
+ end
40
+
41
+ class KalturaCaptionAssetOrderBy
42
+ CREATED_AT_ASC = "+createdAt"
43
+ DELETED_AT_ASC = "+deletedAt"
44
+ SIZE_ASC = "+size"
45
+ UPDATED_AT_ASC = "+updatedAt"
46
+ CREATED_AT_DESC = "-createdAt"
47
+ DELETED_AT_DESC = "-deletedAt"
48
+ SIZE_DESC = "-size"
49
+ UPDATED_AT_DESC = "-updatedAt"
50
+ end
51
+
52
+ class KalturaCaptionParamsOrderBy
53
+ end
54
+
55
+ class KalturaCaptionType
56
+ SRT = "1"
57
+ DFXP = "2"
58
+ WEBVTT = "3"
59
+ end
60
+
61
+ class KalturaCaptionAsset < KalturaAsset
62
+ # The Caption Params used to create this Caption Asset
63
+ #
64
+ attr_accessor :caption_params_id
65
+ # The language of the caption asset content
66
+ #
67
+ attr_accessor :language
68
+ # The language of the caption asset content
69
+ #
70
+ attr_accessor :language_code
71
+ # Is default caption asset of the entry
72
+ #
73
+ attr_accessor :is_default
74
+ # Friendly label
75
+ #
76
+ attr_accessor :label
77
+ # The caption format
78
+ #
79
+ attr_accessor :format
80
+ # The status of the asset
81
+ #
82
+ attr_accessor :status
83
+
84
+ def caption_params_id=(val)
85
+ @caption_params_id = val.to_i
86
+ end
87
+ def is_default=(val)
88
+ @is_default = val.to_i
89
+ end
90
+ def status=(val)
91
+ @status = val.to_i
92
+ end
93
+ end
94
+
95
+ class KalturaCaptionAssetListResponse < KalturaObjectBase
96
+ attr_accessor :objects
97
+ attr_accessor :total_count
98
+
99
+ def total_count=(val)
100
+ @total_count = val.to_i
101
+ end
102
+ end
103
+
104
+ class KalturaCaptionParams < KalturaAssetParams
105
+ # The language of the caption content
106
+ #
107
+ attr_accessor :language
108
+ # Is default caption asset of the entry
109
+ #
110
+ attr_accessor :is_default
111
+ # Friendly label
112
+ #
113
+ attr_accessor :label
114
+ # The caption format
115
+ #
116
+ attr_accessor :format
117
+ # Id of the caption params or the flavor params to be used as source for the caption creation
118
+ #
119
+ attr_accessor :source_params_id
120
+
121
+ def is_default=(val)
122
+ @is_default = val.to_i
123
+ end
124
+ def source_params_id=(val)
125
+ @source_params_id = val.to_i
126
+ end
127
+ end
128
+
129
+ class KalturaCaptionParamsListResponse < KalturaObjectBase
130
+ attr_accessor :objects
131
+ attr_accessor :total_count
132
+
133
+ def total_count=(val)
134
+ @total_count = val.to_i
135
+ end
136
+ end
137
+
138
+ class KalturaCaptionAssetBaseFilter < KalturaAssetFilter
139
+ attr_accessor :caption_params_id_equal
140
+ attr_accessor :caption_params_id_in
141
+ attr_accessor :format_equal
142
+ attr_accessor :format_in
143
+ attr_accessor :status_equal
144
+ attr_accessor :status_in
145
+ attr_accessor :status_not_in
146
+
147
+ def caption_params_id_equal=(val)
148
+ @caption_params_id_equal = val.to_i
149
+ end
150
+ def status_equal=(val)
151
+ @status_equal = val.to_i
152
+ end
153
+ end
154
+
155
+ class KalturaCaptionParamsBaseFilter < KalturaAssetParamsFilter
156
+ attr_accessor :format_equal
157
+ attr_accessor :format_in
158
+
159
+ end
160
+
161
+ class KalturaCaptionAssetFilter < KalturaCaptionAssetBaseFilter
162
+
163
+ end
164
+
165
+ class KalturaCaptionParamsFilter < KalturaCaptionParamsBaseFilter
166
+
167
+ end
168
+
169
+
170
+ # Retrieve information and invoke actions on caption Asset
171
+ #
172
+ class KalturaCaptionAssetService < KalturaServiceBase
173
+ def initialize(client)
174
+ super(client)
175
+ end
176
+
177
+ # Add caption asset
178
+ #
179
+ def add(entry_id, caption_asset)
180
+ kparams = {}
181
+ client.add_param(kparams, 'entryId', entry_id);
182
+ client.add_param(kparams, 'captionAsset', caption_asset);
183
+ client.queue_service_action_call('caption_captionasset', 'add', kparams);
184
+ if (client.is_multirequest)
185
+ return nil;
186
+ end
187
+ return client.do_queue();
188
+ end
189
+
190
+ # Update content of caption asset
191
+ #
192
+ def set_content(id, content_resource)
193
+ kparams = {}
194
+ client.add_param(kparams, 'id', id);
195
+ client.add_param(kparams, 'contentResource', content_resource);
196
+ client.queue_service_action_call('caption_captionasset', 'setContent', kparams);
197
+ if (client.is_multirequest)
198
+ return nil;
199
+ end
200
+ return client.do_queue();
201
+ end
202
+
203
+ # Update caption asset
204
+ #
205
+ def update(id, caption_asset)
206
+ kparams = {}
207
+ client.add_param(kparams, 'id', id);
208
+ client.add_param(kparams, 'captionAsset', caption_asset);
209
+ client.queue_service_action_call('caption_captionasset', 'update', kparams);
210
+ if (client.is_multirequest)
211
+ return nil;
212
+ end
213
+ return client.do_queue();
214
+ end
215
+
216
+ # Serves caption by entry id and thumnail params id
217
+ #
218
+ def serve_by_entry_id(entry_id, caption_param_id=KalturaNotImplemented)
219
+ kparams = {}
220
+ client.add_param(kparams, 'entryId', entry_id);
221
+ # if not set, default caption will be used.
222
+ client.add_param(kparams, 'captionParamId', caption_param_id);
223
+ client.queue_service_action_call('caption_captionasset', 'serveByEntryId', kparams);
224
+ return client.get_serve_url();
225
+ end
226
+
227
+ # Get download URL for the asset
228
+ #
229
+ def get_url(id, storage_id=KalturaNotImplemented)
230
+ kparams = {}
231
+ client.add_param(kparams, 'id', id);
232
+ client.add_param(kparams, 'storageId', storage_id);
233
+ client.queue_service_action_call('caption_captionasset', 'getUrl', kparams);
234
+ if (client.is_multirequest)
235
+ return nil;
236
+ end
237
+ return client.do_queue();
238
+ end
239
+
240
+ # Get remote storage existing paths for the asset
241
+ #
242
+ def get_remote_paths(id)
243
+ kparams = {}
244
+ client.add_param(kparams, 'id', id);
245
+ client.queue_service_action_call('caption_captionasset', 'getRemotePaths', kparams);
246
+ if (client.is_multirequest)
247
+ return nil;
248
+ end
249
+ return client.do_queue();
250
+ end
251
+
252
+ # Serves caption by its id
253
+ #
254
+ def serve(caption_asset_id)
255
+ kparams = {}
256
+ client.add_param(kparams, 'captionAssetId', caption_asset_id);
257
+ client.queue_service_action_call('caption_captionasset', 'serve', kparams);
258
+ return client.get_serve_url();
259
+ end
260
+
261
+ # Serves caption by its id converting it to segmented WebVTT
262
+ #
263
+ def serve_web_vtt(caption_asset_id, segment_duration=30, segment_index=KalturaNotImplemented, local_timestamp=10000)
264
+ kparams = {}
265
+ client.add_param(kparams, 'captionAssetId', caption_asset_id);
266
+ client.add_param(kparams, 'segmentDuration', segment_duration);
267
+ client.add_param(kparams, 'segmentIndex', segment_index);
268
+ client.add_param(kparams, 'localTimestamp', local_timestamp);
269
+ client.queue_service_action_call('caption_captionasset', 'serveWebVTT', kparams);
270
+ return client.get_serve_url();
271
+ end
272
+
273
+ # Markss the caption as default and removes that mark from all other caption assets of the entry.
274
+ #
275
+ def set_as_default(caption_asset_id)
276
+ kparams = {}
277
+ client.add_param(kparams, 'captionAssetId', caption_asset_id);
278
+ client.queue_service_action_call('caption_captionasset', 'setAsDefault', kparams);
279
+ if (client.is_multirequest)
280
+ return nil;
281
+ end
282
+ return client.do_queue();
283
+ end
284
+
285
+ def get(caption_asset_id)
286
+ kparams = {}
287
+ client.add_param(kparams, 'captionAssetId', caption_asset_id);
288
+ client.queue_service_action_call('caption_captionasset', 'get', kparams);
289
+ if (client.is_multirequest)
290
+ return nil;
291
+ end
292
+ return client.do_queue();
293
+ end
294
+
295
+ # List caption Assets by filter and pager
296
+ #
297
+ def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
298
+ kparams = {}
299
+ client.add_param(kparams, 'filter', filter);
300
+ client.add_param(kparams, 'pager', pager);
301
+ client.queue_service_action_call('caption_captionasset', 'list', kparams);
302
+ if (client.is_multirequest)
303
+ return nil;
304
+ end
305
+ return client.do_queue();
306
+ end
307
+
308
+ def delete(caption_asset_id)
309
+ kparams = {}
310
+ client.add_param(kparams, 'captionAssetId', caption_asset_id);
311
+ client.queue_service_action_call('caption_captionasset', 'delete', kparams);
312
+ if (client.is_multirequest)
313
+ return nil;
314
+ end
315
+ return client.do_queue();
316
+ end
317
+ end
318
+
319
+ # Add & Manage Caption Params
320
+ #
321
+ class KalturaCaptionParamsService < KalturaServiceBase
322
+ def initialize(client)
323
+ super(client)
324
+ end
325
+
326
+ # Add new Caption Params
327
+ #
328
+ def add(caption_params)
329
+ kparams = {}
330
+ client.add_param(kparams, 'captionParams', caption_params);
331
+ client.queue_service_action_call('caption_captionparams', 'add', kparams);
332
+ if (client.is_multirequest)
333
+ return nil;
334
+ end
335
+ return client.do_queue();
336
+ end
337
+
338
+ # Get Caption Params by ID
339
+ #
340
+ def get(id)
341
+ kparams = {}
342
+ client.add_param(kparams, 'id', id);
343
+ client.queue_service_action_call('caption_captionparams', 'get', kparams);
344
+ if (client.is_multirequest)
345
+ return nil;
346
+ end
347
+ return client.do_queue();
348
+ end
349
+
350
+ # Update Caption Params by ID
351
+ #
352
+ def update(id, caption_params)
353
+ kparams = {}
354
+ client.add_param(kparams, 'id', id);
355
+ client.add_param(kparams, 'captionParams', caption_params);
356
+ client.queue_service_action_call('caption_captionparams', 'update', kparams);
357
+ if (client.is_multirequest)
358
+ return nil;
359
+ end
360
+ return client.do_queue();
361
+ end
362
+
363
+ # Delete Caption Params by ID
364
+ #
365
+ def delete(id)
366
+ kparams = {}
367
+ client.add_param(kparams, 'id', id);
368
+ client.queue_service_action_call('caption_captionparams', 'delete', kparams);
369
+ if (client.is_multirequest)
370
+ return nil;
371
+ end
372
+ return client.do_queue();
373
+ end
374
+
375
+ # List Caption Params by filter with paging support (By default - all system default params will be listed too)
376
+ #
377
+ def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
378
+ kparams = {}
379
+ client.add_param(kparams, 'filter', filter);
380
+ client.add_param(kparams, 'pager', pager);
381
+ client.queue_service_action_call('caption_captionparams', 'list', kparams);
382
+ if (client.is_multirequest)
383
+ return nil;
384
+ end
385
+ return client.do_queue();
386
+ end
387
+ end
388
+
389
+ class KalturaClient < KalturaClientBase
390
+ attr_reader :caption_asset_service
391
+ def caption_asset_service
392
+ if (@caption_asset_service == nil)
393
+ @caption_asset_service = KalturaCaptionAssetService.new(self)
394
+ end
395
+ return @caption_asset_service
396
+ end
397
+ attr_reader :caption_params_service
398
+ def caption_params_service
399
+ if (@caption_params_service == nil)
400
+ @caption_params_service = KalturaCaptionParamsService.new(self)
401
+ end
402
+ return @caption_params_service
403
+ end
404
+ end
405
+
406
+ end