kaltura-client 16.0.0 → 16.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +1 -1
- data/lib/kaltura_client.rb +2 -2
- data/lib/kaltura_enums.rb +7 -0
- data/lib/kaltura_plugins/kaltura_audit_client_plugin.rb +1 -0
- data/lib/kaltura_plugins/kaltura_caption_client_plugin.rb +13 -0
- data/lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb +8 -0
- data/lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb +217 -0
- data/lib/kaltura_plugins/kaltura_reach_client_plugin.rb +48 -2
- data/lib/kaltura_types.rb +146 -6
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6ff0445a37009b280e81e6054031885e81e4cba51f30ca52c9cd025d18984fd
|
4
|
+
data.tar.gz: b83dcfd11779334e38df112e91feb3dc02c148040f1331ad97045a8158687254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c6d9336f8911a3b8ced6b638fea25823474ef668651261885a6a994f8e1f3893a9cad73372f87896d1519f4e7fbe048c6b0a76e1fd5684d5ab5285d387d0955
|
7
|
+
data.tar.gz: f88577186be57cb44fe4eeed8788b2ecd40c589cf77700984492b700fc5877a1d03ab61cbc835566ecc8fea5d21ef127d93984975e4163c5f438a1a05c2cbf00
|
data/README
CHANGED
data/lib/kaltura_client.rb
CHANGED
@@ -6281,8 +6281,8 @@ module Kaltura
|
|
6281
6281
|
|
6282
6282
|
def initialize(client)
|
6283
6283
|
super(client)
|
6284
|
-
self.client_tag = 'ruby:20-
|
6285
|
-
self.api_version = '16.
|
6284
|
+
self.client_tag = 'ruby:20-05-17'
|
6285
|
+
self.api_version = '16.2.0'
|
6286
6286
|
end
|
6287
6287
|
|
6288
6288
|
def client_tag=(value)
|
data/lib/kaltura_enums.rb
CHANGED
@@ -448,6 +448,7 @@ module Kaltura
|
|
448
448
|
STATIC_LIST = 3
|
449
449
|
DYNAMIC = 10
|
450
450
|
EXTERNAL = 101
|
451
|
+
PATH = 102
|
451
452
|
end
|
452
453
|
|
453
454
|
class KalturaPrivacyType
|
@@ -1131,6 +1132,7 @@ module Kaltura
|
|
1131
1132
|
REPORT_EXPORT = "50"
|
1132
1133
|
LIVE_ENTRY_ARCHIVE = "51"
|
1133
1134
|
STORAGE_UPDATE = "52"
|
1135
|
+
STORAGE_PERIODIC_EXPORT = "53"
|
1134
1136
|
end
|
1135
1137
|
|
1136
1138
|
class KalturaBulkUploadAction
|
@@ -1143,6 +1145,7 @@ module Kaltura
|
|
1143
1145
|
ADD_OR_UPDATE = "6"
|
1144
1146
|
ACTIVATE = "7"
|
1145
1147
|
REJECT = "8"
|
1148
|
+
UPDATE_STATUS = "9"
|
1146
1149
|
end
|
1147
1150
|
|
1148
1151
|
class KalturaBulkUploadObjectType
|
@@ -1155,6 +1158,7 @@ module Kaltura
|
|
1155
1158
|
CATEGORY_USER = "4"
|
1156
1159
|
CATEGORY_ENTRY = "5"
|
1157
1160
|
USER_ENTRY = "6"
|
1161
|
+
VENDOR_CATALOG_ITEM = "7"
|
1158
1162
|
end
|
1159
1163
|
|
1160
1164
|
class KalturaBulkUploadOrderBy
|
@@ -3520,6 +3524,9 @@ module Kaltura
|
|
3520
3524
|
INTERACTIVE_VIDEO_TOP_NODES = "50"
|
3521
3525
|
LATEST_PLAYED_ENTRIES = "51"
|
3522
3526
|
CATEGORY_HIGHLIGHTS = "52"
|
3527
|
+
SUB_CATEGORIES = "53"
|
3528
|
+
INTERACTIVE_VIDEO_NODE_TOP_HOTSPOTS = "54"
|
3529
|
+
INTERCATIVE_VIDEO_NODE_SWITCH_TOP_HOTSPOTS = "55"
|
3523
3530
|
PARTNER_USAGE = "201"
|
3524
3531
|
MAP_OVERLAY_COUNTRY_REALTIME = "10001"
|
3525
3532
|
MAP_OVERLAY_REGION_REALTIME = "10002"
|
@@ -434,6 +434,19 @@ module Kaltura
|
|
434
434
|
return client.do_queue()
|
435
435
|
end
|
436
436
|
|
437
|
+
# manually export an asset
|
438
|
+
# @return [KalturaFlavorAsset]
|
439
|
+
def export(asset_id, storage_profile_id)
|
440
|
+
kparams = {}
|
441
|
+
client.add_param(kparams, 'assetId', asset_id)
|
442
|
+
client.add_param(kparams, 'storageProfileId', storage_profile_id)
|
443
|
+
client.queue_service_action_call('caption_captionasset', 'export', 'KalturaFlavorAsset', kparams)
|
444
|
+
if (client.is_multirequest)
|
445
|
+
return nil
|
446
|
+
end
|
447
|
+
return client.do_queue()
|
448
|
+
end
|
449
|
+
|
437
450
|
# @return [KalturaCaptionAsset]
|
438
451
|
def get(caption_asset_id)
|
439
452
|
kparams = {}
|
@@ -84,6 +84,8 @@ module Kaltura
|
|
84
84
|
attr_accessor :is_current_dc
|
85
85
|
attr_accessor :is_dir
|
86
86
|
attr_accessor :original_id
|
87
|
+
attr_accessor :src_path
|
88
|
+
attr_accessor :src_enc_key
|
87
89
|
|
88
90
|
def id=(val)
|
89
91
|
@id = val.to_i
|
@@ -214,6 +216,12 @@ module Kaltura
|
|
214
216
|
if xml_element.elements['originalId'] != nil
|
215
217
|
self.original_id = xml_element.elements['originalId'].text
|
216
218
|
end
|
219
|
+
if xml_element.elements['srcPath'] != nil
|
220
|
+
self.src_path = xml_element.elements['srcPath'].text
|
221
|
+
end
|
222
|
+
if xml_element.elements['srcEncKey'] != nil
|
223
|
+
self.src_enc_key = xml_element.elements['srcEncKey'].text
|
224
|
+
end
|
217
225
|
end
|
218
226
|
|
219
227
|
end
|
@@ -0,0 +1,217 @@
|
|
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-2020 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_file_sync_client_plugin.rb'
|
30
|
+
|
31
|
+
module Kaltura
|
32
|
+
|
33
|
+
class KalturaBaseInteractivity < KalturaObjectBase
|
34
|
+
attr_accessor :data
|
35
|
+
attr_accessor :version
|
36
|
+
attr_accessor :entry_id
|
37
|
+
# Interactivity update date as Unix timestamp (In seconds)
|
38
|
+
attr_accessor :updated_at
|
39
|
+
|
40
|
+
def version=(val)
|
41
|
+
@version = val.to_i
|
42
|
+
end
|
43
|
+
def updated_at=(val)
|
44
|
+
@updated_at = val.to_i
|
45
|
+
end
|
46
|
+
|
47
|
+
def from_xml(xml_element)
|
48
|
+
super
|
49
|
+
if xml_element.elements['data'] != nil
|
50
|
+
self.data = xml_element.elements['data'].text
|
51
|
+
end
|
52
|
+
if xml_element.elements['version'] != nil
|
53
|
+
self.version = xml_element.elements['version'].text
|
54
|
+
end
|
55
|
+
if xml_element.elements['entryId'] != nil
|
56
|
+
self.entry_id = xml_element.elements['entryId'].text
|
57
|
+
end
|
58
|
+
if xml_element.elements['updatedAt'] != nil
|
59
|
+
self.updated_at = xml_element.elements['updatedAt'].text
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
class KalturaInteractivity < KalturaBaseInteractivity
|
66
|
+
|
67
|
+
|
68
|
+
def from_xml(xml_element)
|
69
|
+
super
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
class KalturaVolatileInteractivity < KalturaBaseInteractivity
|
75
|
+
|
76
|
+
|
77
|
+
def from_xml(xml_element)
|
78
|
+
super
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
|
83
|
+
|
84
|
+
class KalturaInteractivityService < KalturaServiceBase
|
85
|
+
def initialize(client)
|
86
|
+
super(client)
|
87
|
+
end
|
88
|
+
|
89
|
+
# Add a interactivity object
|
90
|
+
# @return [KalturaInteractivity]
|
91
|
+
def add(entry_id, kaltura_interactivity)
|
92
|
+
kparams = {}
|
93
|
+
client.add_param(kparams, 'entryId', entry_id)
|
94
|
+
client.add_param(kparams, 'kalturaInteractivity', kaltura_interactivity)
|
95
|
+
client.queue_service_action_call('interactivity_interactivity', 'add', 'KalturaInteractivity', kparams)
|
96
|
+
if (client.is_multirequest)
|
97
|
+
return nil
|
98
|
+
end
|
99
|
+
return client.do_queue()
|
100
|
+
end
|
101
|
+
|
102
|
+
# Delete a interactivity object by entry id
|
103
|
+
# @return []
|
104
|
+
def delete(entry_id)
|
105
|
+
kparams = {}
|
106
|
+
client.add_param(kparams, 'entryId', entry_id)
|
107
|
+
client.queue_service_action_call('interactivity_interactivity', 'delete', '', kparams)
|
108
|
+
if (client.is_multirequest)
|
109
|
+
return nil
|
110
|
+
end
|
111
|
+
return client.do_queue()
|
112
|
+
end
|
113
|
+
|
114
|
+
# Retrieve a interactivity object by entry id
|
115
|
+
# @return [KalturaInteractivity]
|
116
|
+
def get(entry_id)
|
117
|
+
kparams = {}
|
118
|
+
client.add_param(kparams, 'entryId', entry_id)
|
119
|
+
client.queue_service_action_call('interactivity_interactivity', 'get', 'KalturaInteractivity', kparams)
|
120
|
+
if (client.is_multirequest)
|
121
|
+
return nil
|
122
|
+
end
|
123
|
+
return client.do_queue()
|
124
|
+
end
|
125
|
+
|
126
|
+
# Update an existing interactivity object
|
127
|
+
# @return [KalturaInteractivity]
|
128
|
+
def update(entry_id, version, kaltura_interactivity)
|
129
|
+
kparams = {}
|
130
|
+
client.add_param(kparams, 'entryId', entry_id)
|
131
|
+
client.add_param(kparams, 'version', version)
|
132
|
+
client.add_param(kparams, 'kalturaInteractivity', kaltura_interactivity)
|
133
|
+
client.queue_service_action_call('interactivity_interactivity', 'update', 'KalturaInteractivity', kparams)
|
134
|
+
if (client.is_multirequest)
|
135
|
+
return nil
|
136
|
+
end
|
137
|
+
return client.do_queue()
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class KalturaVolatileInteractivityService < KalturaServiceBase
|
142
|
+
def initialize(client)
|
143
|
+
super(client)
|
144
|
+
end
|
145
|
+
|
146
|
+
# add a volatile interactivity object
|
147
|
+
# @return [KalturaVolatileInteractivity]
|
148
|
+
def add(entry_id, kaltura_volatile_interactivity)
|
149
|
+
kparams = {}
|
150
|
+
client.add_param(kparams, 'entryId', entry_id)
|
151
|
+
client.add_param(kparams, 'kalturaVolatileInteractivity', kaltura_volatile_interactivity)
|
152
|
+
client.queue_service_action_call('interactivity_volatileinteractivity', 'add', 'KalturaVolatileInteractivity', kparams)
|
153
|
+
if (client.is_multirequest)
|
154
|
+
return nil
|
155
|
+
end
|
156
|
+
return client.do_queue()
|
157
|
+
end
|
158
|
+
|
159
|
+
# Delete a volatile interactivity object by entry id
|
160
|
+
# @return []
|
161
|
+
def delete(entry_id)
|
162
|
+
kparams = {}
|
163
|
+
client.add_param(kparams, 'entryId', entry_id)
|
164
|
+
client.queue_service_action_call('interactivity_volatileinteractivity', 'delete', '', kparams)
|
165
|
+
if (client.is_multirequest)
|
166
|
+
return nil
|
167
|
+
end
|
168
|
+
return client.do_queue()
|
169
|
+
end
|
170
|
+
|
171
|
+
# Retrieve a volatile interactivity object by entry id
|
172
|
+
# @return [KalturaVolatileInteractivity]
|
173
|
+
def get(entry_id)
|
174
|
+
kparams = {}
|
175
|
+
client.add_param(kparams, 'entryId', entry_id)
|
176
|
+
client.queue_service_action_call('interactivity_volatileinteractivity', 'get', 'KalturaVolatileInteractivity', kparams)
|
177
|
+
if (client.is_multirequest)
|
178
|
+
return nil
|
179
|
+
end
|
180
|
+
return client.do_queue()
|
181
|
+
end
|
182
|
+
|
183
|
+
# Update a volatile interactivity object
|
184
|
+
# @return [KalturaVolatileInteractivity]
|
185
|
+
def update(entry_id, version, kaltura_volatile_interactivity)
|
186
|
+
kparams = {}
|
187
|
+
client.add_param(kparams, 'entryId', entry_id)
|
188
|
+
client.add_param(kparams, 'version', version)
|
189
|
+
client.add_param(kparams, 'kalturaVolatileInteractivity', kaltura_volatile_interactivity)
|
190
|
+
client.queue_service_action_call('interactivity_volatileinteractivity', 'update', 'KalturaVolatileInteractivity', kparams)
|
191
|
+
if (client.is_multirequest)
|
192
|
+
return nil
|
193
|
+
end
|
194
|
+
return client.do_queue()
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
class KalturaClient < KalturaClientBase
|
199
|
+
attr_reader :interactivity_service
|
200
|
+
def interactivity_service
|
201
|
+
if (@interactivity_service == nil)
|
202
|
+
@interactivity_service = KalturaInteractivityService.new(self)
|
203
|
+
end
|
204
|
+
return @interactivity_service
|
205
|
+
end
|
206
|
+
|
207
|
+
attr_reader :volatile_interactivity_service
|
208
|
+
def volatile_interactivity_service
|
209
|
+
if (@volatile_interactivity_service == nil)
|
210
|
+
@volatile_interactivity_service = KalturaVolatileInteractivityService.new(self)
|
211
|
+
end
|
212
|
+
return @volatile_interactivity_service
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
216
|
+
|
217
|
+
end
|
@@ -27,6 +27,7 @@
|
|
27
27
|
# ===================================================================================================
|
28
28
|
require 'kaltura_client.rb'
|
29
29
|
require File.dirname(__FILE__) + '/kaltura_event_notification_client_plugin.rb'
|
30
|
+
require File.dirname(__FILE__) + '/kaltura_bulk_upload_client_plugin.rb'
|
30
31
|
|
31
32
|
module Kaltura
|
32
33
|
|
@@ -87,6 +88,13 @@ module Kaltura
|
|
87
88
|
class KalturaVendorServiceTurnAroundTime
|
88
89
|
BEST_EFFORT = -1
|
89
90
|
IMMEDIATE = 0
|
91
|
+
ONE_BUSINESS_DAY = 1
|
92
|
+
TWO_BUSINESS_DAYS = 2
|
93
|
+
THREE_BUSINESS_DAYS = 3
|
94
|
+
FOUR_BUSINESS_DAYS = 4
|
95
|
+
FIVE_BUSINESS_DAYS = 5
|
96
|
+
SIX_BUSINESS_DAYS = 6
|
97
|
+
SEVEN_BUSINESS_DAYS = 7
|
90
98
|
THIRTY_MINUTES = 1800
|
91
99
|
TWO_HOURS = 7200
|
92
100
|
THREE_HOURS = 10800
|
@@ -94,9 +102,7 @@ module Kaltura
|
|
94
102
|
EIGHT_HOURS = 28800
|
95
103
|
TWELVE_HOURS = 43200
|
96
104
|
TWENTY_FOUR_HOURS = 86400
|
97
|
-
ONE_BUSINESS_DAY = 129600
|
98
105
|
FORTY_EIGHT_HOURS = 172800
|
99
|
-
TWO_BUSINESS_DAYS = 216000
|
100
106
|
FOUR_DAYS = 345600
|
101
107
|
FIVE_DAYS = 432000
|
102
108
|
TEN_DAYS = 864000
|
@@ -288,6 +294,7 @@ module Kaltura
|
|
288
294
|
attr_accessor :expected_finish_time
|
289
295
|
attr_accessor :service_type
|
290
296
|
attr_accessor :service_feature
|
297
|
+
attr_accessor :turn_around_time
|
291
298
|
|
292
299
|
def id=(val)
|
293
300
|
@id = val.to_i
|
@@ -337,6 +344,9 @@ module Kaltura
|
|
337
344
|
def service_feature=(val)
|
338
345
|
@service_feature = val.to_i
|
339
346
|
end
|
347
|
+
def turn_around_time=(val)
|
348
|
+
@turn_around_time = val.to_i
|
349
|
+
end
|
340
350
|
|
341
351
|
def from_xml(xml_element)
|
342
352
|
super
|
@@ -424,6 +434,9 @@ module Kaltura
|
|
424
434
|
if xml_element.elements['serviceFeature'] != nil
|
425
435
|
self.service_feature = xml_element.elements['serviceFeature'].text
|
426
436
|
end
|
437
|
+
if xml_element.elements['turnAroundTime'] != nil
|
438
|
+
self.turn_around_time = xml_element.elements['turnAroundTime'].text
|
439
|
+
end
|
427
440
|
end
|
428
441
|
|
429
442
|
end
|
@@ -1562,6 +1575,20 @@ module Kaltura
|
|
1562
1575
|
return client.do_queue()
|
1563
1576
|
end
|
1564
1577
|
|
1578
|
+
# @return [KalturaBulkUpload]
|
1579
|
+
def add_from_bulk_upload(file_data, bulk_upload_data=KalturaNotImplemented, bulk_upload_vendor_catalog_item_data=KalturaNotImplemented)
|
1580
|
+
kparams = {}
|
1581
|
+
kfiles = {}
|
1582
|
+
client.add_param(kfiles, 'fileData', file_data)
|
1583
|
+
client.add_param(kparams, 'bulkUploadData', bulk_upload_data)
|
1584
|
+
client.add_param(kparams, 'bulkUploadVendorCatalogItemData', bulk_upload_vendor_catalog_item_data)
|
1585
|
+
client.queue_service_action_call('reach_vendorcatalogitem', 'addFromBulkUpload', 'KalturaBulkUpload', kparams, kfiles)
|
1586
|
+
if (client.is_multirequest)
|
1587
|
+
return nil
|
1588
|
+
end
|
1589
|
+
return client.do_queue()
|
1590
|
+
end
|
1591
|
+
|
1565
1592
|
# Delete vedor catalog item object
|
1566
1593
|
# @return []
|
1567
1594
|
def delete(id)
|
@@ -1586,6 +1613,17 @@ module Kaltura
|
|
1586
1613
|
return client.do_queue()
|
1587
1614
|
end
|
1588
1615
|
|
1616
|
+
# @return [string]
|
1617
|
+
def get_serve_url(vendor_partner_id=KalturaNotImplemented)
|
1618
|
+
kparams = {}
|
1619
|
+
client.add_param(kparams, 'vendorPartnerId', vendor_partner_id)
|
1620
|
+
client.queue_service_action_call('reach_vendorcatalogitem', 'getServeUrl', 'string', kparams)
|
1621
|
+
if (client.is_multirequest)
|
1622
|
+
return nil
|
1623
|
+
end
|
1624
|
+
return client.do_queue()
|
1625
|
+
end
|
1626
|
+
|
1589
1627
|
# List KalturaVendorCatalogItem objects
|
1590
1628
|
# @return [KalturaVendorCatalogItemListResponse]
|
1591
1629
|
def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented)
|
@@ -1599,6 +1637,14 @@ module Kaltura
|
|
1599
1637
|
return client.do_queue()
|
1600
1638
|
end
|
1601
1639
|
|
1640
|
+
# @return [file]
|
1641
|
+
def serve(vendor_partner_id=KalturaNotImplemented)
|
1642
|
+
kparams = {}
|
1643
|
+
client.add_param(kparams, 'vendorPartnerId', vendor_partner_id)
|
1644
|
+
client.queue_service_action_call('reach_vendorcatalogitem', 'serve', 'file', kparams)
|
1645
|
+
return client.get_serve_url()
|
1646
|
+
end
|
1647
|
+
|
1602
1648
|
# Update an existing vedor catalog item object
|
1603
1649
|
# @return [KalturaVendorCatalogItem]
|
1604
1650
|
def update(id, vendor_catalog_item)
|
data/lib/kaltura_types.rb
CHANGED
@@ -8422,6 +8422,8 @@ module Kaltura
|
|
8422
8422
|
attr_accessor :application_version_in
|
8423
8423
|
# filter by node id
|
8424
8424
|
attr_accessor :node_ids_in
|
8425
|
+
# filter by categories ancestor
|
8426
|
+
attr_accessor :categories_ancestor_id_in
|
8425
8427
|
|
8426
8428
|
def search_in_tags=(val)
|
8427
8429
|
@search_in_tags = to_b(val)
|
@@ -8540,6 +8542,9 @@ module Kaltura
|
|
8540
8542
|
if xml_element.elements['nodeIdsIn'] != nil
|
8541
8543
|
self.node_ids_in = xml_element.elements['nodeIdsIn'].text
|
8542
8544
|
end
|
8545
|
+
if xml_element.elements['categoriesAncestorIdIn'] != nil
|
8546
|
+
self.categories_ancestor_id_in = xml_element.elements['categoriesAncestorIdIn'].text
|
8547
|
+
end
|
8543
8548
|
end
|
8544
8549
|
|
8545
8550
|
end
|
@@ -9474,8 +9479,10 @@ module Kaltura
|
|
9474
9479
|
attr_accessor :public_key
|
9475
9480
|
attr_accessor :pass_phrase
|
9476
9481
|
attr_accessor :should_export_thumbs
|
9477
|
-
attr_accessor :
|
9478
|
-
attr_accessor :
|
9482
|
+
attr_accessor :packager_url
|
9483
|
+
attr_accessor :export_periodically
|
9484
|
+
attr_accessor :excluded_flavor_params_ids
|
9485
|
+
attr_accessor :should_export_captions
|
9479
9486
|
|
9480
9487
|
def id=(val)
|
9481
9488
|
@id = val.to_i
|
@@ -9525,6 +9532,12 @@ module Kaltura
|
|
9525
9532
|
def should_export_thumbs=(val)
|
9526
9533
|
@should_export_thumbs = to_b(val)
|
9527
9534
|
end
|
9535
|
+
def export_periodically=(val)
|
9536
|
+
@export_periodically = to_b(val)
|
9537
|
+
end
|
9538
|
+
def should_export_captions=(val)
|
9539
|
+
@should_export_captions = to_b(val)
|
9540
|
+
end
|
9528
9541
|
|
9529
9542
|
def from_xml(xml_element)
|
9530
9543
|
super
|
@@ -9624,11 +9637,17 @@ module Kaltura
|
|
9624
9637
|
if xml_element.elements['shouldExportThumbs'] != nil
|
9625
9638
|
self.should_export_thumbs = xml_element.elements['shouldExportThumbs'].text
|
9626
9639
|
end
|
9627
|
-
if xml_element.elements['
|
9628
|
-
self.
|
9640
|
+
if xml_element.elements['packagerUrl'] != nil
|
9641
|
+
self.packager_url = xml_element.elements['packagerUrl'].text
|
9642
|
+
end
|
9643
|
+
if xml_element.elements['exportPeriodically'] != nil
|
9644
|
+
self.export_periodically = xml_element.elements['exportPeriodically'].text
|
9629
9645
|
end
|
9630
|
-
if xml_element.elements['
|
9631
|
-
self.
|
9646
|
+
if xml_element.elements['excludedFlavorParamsIds'] != nil
|
9647
|
+
self.excluded_flavor_params_ids = xml_element.elements['excludedFlavorParamsIds'].text
|
9648
|
+
end
|
9649
|
+
if xml_element.elements['shouldExportCaptions'] != nil
|
9650
|
+
self.should_export_captions = xml_element.elements['shouldExportCaptions'].text
|
9632
9651
|
end
|
9633
9652
|
end
|
9634
9653
|
|
@@ -11542,6 +11561,105 @@ module Kaltura
|
|
11542
11561
|
|
11543
11562
|
end
|
11544
11563
|
|
11564
|
+
class KalturaBulkUploadResultVendorCatalogItem < KalturaBulkUploadResult
|
11565
|
+
attr_accessor :vendor_catalog_item_id
|
11566
|
+
attr_accessor :vendor_partner_id
|
11567
|
+
attr_accessor :name
|
11568
|
+
attr_accessor :system_name
|
11569
|
+
attr_accessor :service_feature
|
11570
|
+
attr_accessor :service_type
|
11571
|
+
attr_accessor :turn_around_time
|
11572
|
+
attr_accessor :source_language
|
11573
|
+
attr_accessor :target_language
|
11574
|
+
attr_accessor :output_format
|
11575
|
+
attr_accessor :enable_speaker_id
|
11576
|
+
attr_accessor :fixed_price_addons
|
11577
|
+
attr_accessor :pricing
|
11578
|
+
attr_accessor :flavor_params_id
|
11579
|
+
attr_accessor :clear_audio_flavor_params_id
|
11580
|
+
|
11581
|
+
def vendor_catalog_item_id=(val)
|
11582
|
+
@vendor_catalog_item_id = val.to_i
|
11583
|
+
end
|
11584
|
+
def vendor_partner_id=(val)
|
11585
|
+
@vendor_partner_id = val.to_i
|
11586
|
+
end
|
11587
|
+
def service_feature=(val)
|
11588
|
+
@service_feature = val.to_i
|
11589
|
+
end
|
11590
|
+
def service_type=(val)
|
11591
|
+
@service_type = val.to_i
|
11592
|
+
end
|
11593
|
+
def turn_around_time=(val)
|
11594
|
+
@turn_around_time = val.to_i
|
11595
|
+
end
|
11596
|
+
def output_format=(val)
|
11597
|
+
@output_format = val.to_i
|
11598
|
+
end
|
11599
|
+
def enable_speaker_id=(val)
|
11600
|
+
@enable_speaker_id = val.to_i
|
11601
|
+
end
|
11602
|
+
def fixed_price_addons=(val)
|
11603
|
+
@fixed_price_addons = val.to_i
|
11604
|
+
end
|
11605
|
+
def flavor_params_id=(val)
|
11606
|
+
@flavor_params_id = val.to_i
|
11607
|
+
end
|
11608
|
+
def clear_audio_flavor_params_id=(val)
|
11609
|
+
@clear_audio_flavor_params_id = val.to_i
|
11610
|
+
end
|
11611
|
+
|
11612
|
+
def from_xml(xml_element)
|
11613
|
+
super
|
11614
|
+
if xml_element.elements['vendorCatalogItemId'] != nil
|
11615
|
+
self.vendor_catalog_item_id = xml_element.elements['vendorCatalogItemId'].text
|
11616
|
+
end
|
11617
|
+
if xml_element.elements['vendorPartnerId'] != nil
|
11618
|
+
self.vendor_partner_id = xml_element.elements['vendorPartnerId'].text
|
11619
|
+
end
|
11620
|
+
if xml_element.elements['name'] != nil
|
11621
|
+
self.name = xml_element.elements['name'].text
|
11622
|
+
end
|
11623
|
+
if xml_element.elements['systemName'] != nil
|
11624
|
+
self.system_name = xml_element.elements['systemName'].text
|
11625
|
+
end
|
11626
|
+
if xml_element.elements['serviceFeature'] != nil
|
11627
|
+
self.service_feature = xml_element.elements['serviceFeature'].text
|
11628
|
+
end
|
11629
|
+
if xml_element.elements['serviceType'] != nil
|
11630
|
+
self.service_type = xml_element.elements['serviceType'].text
|
11631
|
+
end
|
11632
|
+
if xml_element.elements['turnAroundTime'] != nil
|
11633
|
+
self.turn_around_time = xml_element.elements['turnAroundTime'].text
|
11634
|
+
end
|
11635
|
+
if xml_element.elements['sourceLanguage'] != nil
|
11636
|
+
self.source_language = xml_element.elements['sourceLanguage'].text
|
11637
|
+
end
|
11638
|
+
if xml_element.elements['targetLanguage'] != nil
|
11639
|
+
self.target_language = xml_element.elements['targetLanguage'].text
|
11640
|
+
end
|
11641
|
+
if xml_element.elements['outputFormat'] != nil
|
11642
|
+
self.output_format = xml_element.elements['outputFormat'].text
|
11643
|
+
end
|
11644
|
+
if xml_element.elements['enableSpeakerId'] != nil
|
11645
|
+
self.enable_speaker_id = xml_element.elements['enableSpeakerId'].text
|
11646
|
+
end
|
11647
|
+
if xml_element.elements['fixedPriceAddons'] != nil
|
11648
|
+
self.fixed_price_addons = xml_element.elements['fixedPriceAddons'].text
|
11649
|
+
end
|
11650
|
+
if xml_element.elements['pricing'] != nil
|
11651
|
+
self.pricing = KalturaClientBase.object_from_xml(xml_element.elements['pricing'], 'KalturaVendorCatalogItemPricing')
|
11652
|
+
end
|
11653
|
+
if xml_element.elements['flavorParamsId'] != nil
|
11654
|
+
self.flavor_params_id = xml_element.elements['flavorParamsId'].text
|
11655
|
+
end
|
11656
|
+
if xml_element.elements['clearAudioFlavorParamsId'] != nil
|
11657
|
+
self.clear_audio_flavor_params_id = xml_element.elements['clearAudioFlavorParamsId'].text
|
11658
|
+
end
|
11659
|
+
end
|
11660
|
+
|
11661
|
+
end
|
11662
|
+
|
11545
11663
|
# This class represents object-specific data passed to the
|
11546
11664
|
# bulk upload job.
|
11547
11665
|
class KalturaBulkUploadUserData < KalturaBulkUploadObjectData
|
@@ -11553,6 +11671,17 @@ module Kaltura
|
|
11553
11671
|
|
11554
11672
|
end
|
11555
11673
|
|
11674
|
+
# This class represents object-specific data passed to the
|
11675
|
+
# bulk upload job.
|
11676
|
+
class KalturaBulkUploadVendorCatalogItemData < KalturaBulkUploadObjectData
|
11677
|
+
|
11678
|
+
|
11679
|
+
def from_xml(xml_element)
|
11680
|
+
super
|
11681
|
+
end
|
11682
|
+
|
11683
|
+
end
|
11684
|
+
|
11556
11685
|
class KalturaCaptureThumbJobData < KalturaJobData
|
11557
11686
|
attr_accessor :file_container
|
11558
11687
|
# The translated path as used by the scheduler
|
@@ -19591,10 +19720,21 @@ module Kaltura
|
|
19591
19720
|
end
|
19592
19721
|
|
19593
19722
|
class KalturaPlaylistFilter < KalturaPlaylistBaseFilter
|
19723
|
+
attr_accessor :play_list_type_equal
|
19724
|
+
attr_accessor :play_list_type_in
|
19594
19725
|
|
19726
|
+
def play_list_type_equal=(val)
|
19727
|
+
@play_list_type_equal = val.to_i
|
19728
|
+
end
|
19595
19729
|
|
19596
19730
|
def from_xml(xml_element)
|
19597
19731
|
super
|
19732
|
+
if xml_element.elements['playListTypeEqual'] != nil
|
19733
|
+
self.play_list_type_equal = xml_element.elements['playListTypeEqual'].text
|
19734
|
+
end
|
19735
|
+
if xml_element.elements['playListTypeIn'] != nil
|
19736
|
+
self.play_list_type_in = xml_element.elements['playListTypeIn'].text
|
19737
|
+
end
|
19598
19738
|
end
|
19599
19739
|
|
19600
19740
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaltura-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 16.
|
4
|
+
version: 16.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kaltura Inc.
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb
|
88
88
|
- lib/kaltura_plugins/kaltura_idetic_distribution_client_plugin.rb
|
89
89
|
- lib/kaltura_plugins/kaltura_integration_client_plugin.rb
|
90
|
+
- lib/kaltura_plugins/kaltura_interactivity_client_plugin.rb
|
90
91
|
- lib/kaltura_plugins/kaltura_kaltura_internal_tools_client_plugin.rb
|
91
92
|
- lib/kaltura_plugins/kaltura_kontiki_client_plugin.rb
|
92
93
|
- lib/kaltura_plugins/kaltura_like_client_plugin.rb
|