kaltura-client 16.0.0 → 16.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 052506f07ff75b3577400c88f6947ace39b15fa41106e415bdf78b057d3bd799
4
- data.tar.gz: f77ccb39333c027d0a94653f308fd5728ec3d381c6ff75c9e37ead7dbda6283c
3
+ metadata.gz: f604d5ca1a9cab6f62d61dd985a86dabf7d51168fa9c28a161135da3153a51df
4
+ data.tar.gz: 943ce9308c70d3c63ec201818c65da97e39953825a85f67fb07c4ba7c958f588
5
5
  SHA512:
6
- metadata.gz: 9747036dc4b457fa7f07c858acf7d8fc541bca76af93f4bd6c48028a75aba5f5a03dfc24bf90858fa6ab4437e23cc1e44ad332c21563b4faf7d5cfc999f3ebd5
7
- data.tar.gz: e31a7211cec66e5bfacd9508b193693d16736f9577b6f6e16afd79985cb22897f528b036fc2bcaa56f5955ec9c4a629405963921adf1f787771abb8d4e1afdb0
6
+ metadata.gz: 7087c77cd0de30e21e41eb0fdfe0fbd1927e41c7ca5dbae189099babfb3a967bdc1b14e647098755d205b0afc8ad831d339ed4bb8393f178745286f6f5ceac14
7
+ data.tar.gz: b8157a5c6ce6e124975cea629b9523174ecf7111e26ddabefd00c40fd3b3ae774cdc366e03c04835061ffdd9adba27ccb99316f74d55d2d3478f77bda6397d3c
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  Kaltura Ruby API Client Library.
2
- Compatible with Kaltura server version 16.0.0 and above.
2
+ Compatible with Kaltura server version 16.9.0 and above.
3
3
 
4
4
  This source contains:
5
5
  - The Kaltura client library (kaltura_client_base.rb)
@@ -2618,7 +2618,7 @@ module Kaltura
2618
2618
 
2619
2619
  # Delivering the status of a live stream (on-air/offline) if it is possible
2620
2620
  # @return [bool]
2621
- def is_live(id, protocol)
2621
+ def is_live(id, protocol=KalturaNotImplemented)
2622
2622
  kparams = {}
2623
2623
  client.add_param(kparams, 'id', id)
2624
2624
  client.add_param(kparams, 'protocol', protocol)
@@ -5699,9 +5699,10 @@ module Kaltura
5699
5699
 
5700
5700
  # Reset user's password and send the user an email to generate a new one.
5701
5701
  # @return []
5702
- def reset_password(email)
5702
+ def reset_password(email, link_type=KalturaNotImplemented)
5703
5703
  kparams = {}
5704
5704
  client.add_param(kparams, 'email', email)
5705
+ client.add_param(kparams, 'linkType', link_type)
5705
5706
  client.queue_service_action_call('user', 'resetPassword', '', kparams)
5706
5707
  if (client.is_multirequest)
5707
5708
  return nil
@@ -5765,6 +5766,18 @@ module Kaltura
5765
5766
  end
5766
5767
  return client.do_queue()
5767
5768
  end
5769
+
5770
+ # Validate hash key
5771
+ # @return [KalturaAuthentication]
5772
+ def validate_hash_key(hash_key)
5773
+ kparams = {}
5774
+ client.add_param(kparams, 'hashKey', hash_key)
5775
+ client.queue_service_action_call('user', 'validateHashKey', 'KalturaAuthentication', kparams)
5776
+ if (client.is_multirequest)
5777
+ return nil
5778
+ end
5779
+ return client.do_queue()
5780
+ end
5768
5781
  end
5769
5782
 
5770
5783
  # widget service for full widget management
@@ -6281,8 +6294,8 @@ module Kaltura
6281
6294
 
6282
6295
  def initialize(client)
6283
6296
  super(client)
6284
- self.client_tag = 'ruby:20-04-25'
6285
- self.api_version = '16.0.0'
6297
+ self.client_tag = 'ruby:20-10-15'
6298
+ self.api_version = '16.9.0'
6286
6299
  end
6287
6300
 
6288
6301
  def client_tag=(value)
@@ -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,10 @@ module Kaltura
1131
1132
  REPORT_EXPORT = "50"
1132
1133
  LIVE_ENTRY_ARCHIVE = "51"
1133
1134
  STORAGE_UPDATE = "52"
1135
+ STORAGE_PERIODIC_EXPORT = "53"
1136
+ STORAGE_PERIODIC_PURGE = "54"
1137
+ STORAGE_PERIODIC_DELETE_LOCAL = "55"
1138
+ REACH_JOB_CLEANER = "56"
1134
1139
  end
1135
1140
 
1136
1141
  class KalturaBulkUploadAction
@@ -1143,6 +1148,7 @@ module Kaltura
1143
1148
  ADD_OR_UPDATE = "6"
1144
1149
  ACTIVATE = "7"
1145
1150
  REJECT = "8"
1151
+ UPDATE_STATUS = "9"
1146
1152
  end
1147
1153
 
1148
1154
  class KalturaBulkUploadObjectType
@@ -1155,6 +1161,7 @@ module Kaltura
1155
1161
  CATEGORY_USER = "4"
1156
1162
  CATEGORY_ENTRY = "5"
1157
1163
  USER_ENTRY = "6"
1164
+ VENDOR_CATALOG_ITEM = "7"
1158
1165
  end
1159
1166
 
1160
1167
  class KalturaBulkUploadOrderBy
@@ -1616,6 +1623,17 @@ module Kaltura
1616
1623
  UPDATED_AT_DESC = "-updatedAt"
1617
1624
  end
1618
1625
 
1626
+ class KalturaEntryApplication
1627
+ KMC = "0"
1628
+ KMS = "1"
1629
+ KAF = "2"
1630
+ PITCH = "3"
1631
+ KMS_GO = "4"
1632
+ WEBCAST_APP = "5"
1633
+ PERSONAL_CAPTURE = "6"
1634
+ KALTURA_MEETING = "7"
1635
+ end
1636
+
1619
1637
  class KalturaEntryIdentifierField
1620
1638
  ID = "id"
1621
1639
  REFERENCE_ID = "referenceId"
@@ -2075,6 +2093,7 @@ module Kaltura
2075
2093
  FRP = "Franco-Prove"
2076
2094
  FRK = "Frankish"
2077
2095
  FR = "French"
2096
+ FR_CA = "French (Canada)"
2078
2097
  FY = "Frisian"
2079
2098
  FRR = "Frisian Northern"
2080
2099
  FUR = "Friulian"
@@ -2108,8 +2127,8 @@ module Kaltura
2108
2127
  HNI = "Hani"
2109
2128
  HA = "Hausa"
2110
2129
  HAW = "Hawaiian"
2111
- HE = "Hebrew"
2112
2130
  IW = "Hebrew"
2131
+ HE = "Hebrew"
2113
2132
  HEI = "Heiltsuk"
2114
2133
  HID = "Hidatsa"
2115
2134
  HIL = "Hiligaynon"
@@ -2123,8 +2142,8 @@ module Kaltura
2123
2142
  KPO = "Ikposo"
2124
2143
  ILO = "Iloko"
2125
2144
  SMN = "Inari Sami"
2126
- ID = "Indonesian"
2127
2145
  IN = "Indonesian"
2146
+ ID = "Indonesian"
2128
2147
  IZH = "Ingrian"
2129
2148
  INH = "Ingush"
2130
2149
  IA = "Interlingua"
@@ -2404,6 +2423,7 @@ module Kaltura
2404
2423
  TGX = "Tagish"
2405
2424
  THT = "Tahltan"
2406
2425
  TDD = "Tai Na"
2426
+ ZH_TW = "Taiwanese Mandarin"
2407
2427
  TG = "Tajik"
2408
2428
  TLY = "Talysh"
2409
2429
  TTQ = "Tamajaq Tawallammat"
@@ -2521,6 +2541,7 @@ module Kaltura
2521
2541
  FJ = "fj"
2522
2542
  FO = "fo"
2523
2543
  FR = "fr"
2544
+ FR_CA = "fr_ca"
2524
2545
  FY = "fy"
2525
2546
  GA = "ga"
2526
2547
  GD = "gd"
@@ -2643,6 +2664,7 @@ module Kaltura
2643
2664
  YI = "yi"
2644
2665
  YO = "yo"
2645
2666
  ZH = "zh"
2667
+ ZH_TW = "zh_tw"
2646
2668
  ZU = "zu"
2647
2669
  ZXX = "zxx"
2648
2670
  end
@@ -3520,6 +3542,13 @@ module Kaltura
3520
3542
  INTERACTIVE_VIDEO_TOP_NODES = "50"
3521
3543
  LATEST_PLAYED_ENTRIES = "51"
3522
3544
  CATEGORY_HIGHLIGHTS = "52"
3545
+ SUB_CATEGORIES = "53"
3546
+ INTERACTIVE_VIDEO_NODE_TOP_HOTSPOTS = "54"
3547
+ INTERCATIVE_VIDEO_NODE_SWITCH_TOP_HOTSPOTS = "55"
3548
+ INTERACTIVE_VIDEO_HOTSPOT_CLICKED_PERCENTILES = "56"
3549
+ INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"
3550
+ TOP_CUSTOM_VAR2 = "58"
3551
+ TOP_CUSTOM_VAR3 = "59"
3523
3552
  PARTNER_USAGE = "201"
3524
3553
  MAP_OVERLAY_COUNTRY_REALTIME = "10001"
3525
3554
  MAP_OVERLAY_REGION_REALTIME = "10002"
@@ -3534,6 +3563,8 @@ module Kaltura
3534
3563
  PLAYBACK_TYPE_REALTIME = "10011"
3535
3564
  CONTENT_REALTIME = "10012"
3536
3565
  DISCOVERY_VIEW_REALTIME = "10013"
3566
+ TOP_ENDED_BROADCAST_ENTRIES = "10014"
3567
+ TOP_LIVE_NOW_ENTRIES = "10015"
3537
3568
  CONTENT_DROPOFF_VPAAS = "20001"
3538
3569
  TOP_SYNDICATION_VPAAS = "20002"
3539
3570
  USER_TOP_CONTENT_VPAAS = "20003"
@@ -3620,6 +3651,22 @@ module Kaltura
3620
3651
  QOE_ENGAGEMENT_APPLICATION_VERSION = "30062"
3621
3652
  QOE_STREAM_QUALITY_APPLICATION_VERSION = "30063"
3622
3653
  QOE_ERROR_TRACKING_APPLICATION_VERSION = "30064"
3654
+ HIGHLIGHTS_WEBCAST = "40001"
3655
+ ENGAGEMENT_WEBCAST = "40002"
3656
+ QUALITY_WEBCAST = "40003"
3657
+ MAP_OVERLAY_COUNTRY_WEBCAST = "40004"
3658
+ MAP_OVERLAY_REGION_WEBCAST = "40005"
3659
+ MAP_OVERLAY_CITY_WEBCAST = "40006"
3660
+ PLATFORMS_WEBCAST = "40007"
3661
+ TOP_DOMAINS_WEBCAST = "40008"
3662
+ TOP_USERS_WEBCAST = "40009"
3663
+ ENGAGEMENT_BREAKDOWN_WEBCAST = "40010"
3664
+ ENGAGMENT_TIMELINE_WEBCAST = "40011"
3665
+ end
3666
+
3667
+ class KalturaResetPassLinkType
3668
+ KMC = "1"
3669
+ KMS = "2"
3623
3670
  end
3624
3671
 
3625
3672
  class KalturaResponseProfileOrderBy
@@ -75,6 +75,7 @@ module Kaltura
75
75
  METADATA_PROFILE = "MetadataProfile"
76
76
  PARTNER = "Partner"
77
77
  PERMISSION = "Permission"
78
+ REACH_PROFILE = "ReachProfile"
78
79
  UPLOAD_TOKEN = "UploadToken"
79
80
  USER_LOGIN_DATA = "UserLoginData"
80
81
  USER_ROLE = "UserRole"
@@ -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 = {}
@@ -58,6 +58,8 @@ module Kaltura
58
58
  attr_accessor :distributed_metadata
59
59
  # Key-value array where the keys are IDs of distributed caption assets in the source account and the values are the matching IDs in the target account
60
60
  attr_accessor :distributed_caption_assets
61
+ # Key-value array where the keys are IDs of distributed fileassets in the source account and the values are the matching IDs in the target account
62
+ attr_accessor :distributed_file_assets
61
63
  # Key-value array where the keys are IDs of distributed caption assets in the source account and the values are the matching IDs in the target account
62
64
  attr_accessor :distributed_attachment_assets
63
65
  # Key-value array where the keys are IDs of distributed cue points in the source account and the values are the matching IDs in the target account
@@ -82,6 +84,9 @@ module Kaltura
82
84
  if xml_element.elements['distributedCaptionAssets'] != nil
83
85
  self.distributed_caption_assets = xml_element.elements['distributedCaptionAssets'].text
84
86
  end
87
+ if xml_element.elements['distributedFileAssets'] != nil
88
+ self.distributed_file_assets = xml_element.elements['distributedFileAssets'].text
89
+ end
85
90
  if xml_element.elements['distributedAttachmentAssets'] != nil
86
91
  self.distributed_attachment_assets = xml_element.elements['distributedAttachmentAssets'].text
87
92
  end
@@ -1263,6 +1263,18 @@ module Kaltura
1263
1263
  end
1264
1264
  return client.do_queue()
1265
1265
  end
1266
+
1267
+ # @return []
1268
+ def update_status(drop_folder_id, status)
1269
+ kparams = {}
1270
+ client.add_param(kparams, 'dropFolderId', drop_folder_id)
1271
+ client.add_param(kparams, 'status', status)
1272
+ client.queue_service_action_call('dropfolder_dropfolder', 'updateStatus', '', kparams)
1273
+ if (client.is_multirequest)
1274
+ return nil
1275
+ end
1276
+ return client.do_queue()
1277
+ end
1266
1278
  end
1267
1279
 
1268
1280
  # DropFolderFile service lets you create and manage drop folder files
@@ -84,6 +84,9 @@ 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
89
+ attr_accessor :storage_class
87
90
 
88
91
  def id=(val)
89
92
  @id = val.to_i
@@ -214,6 +217,15 @@ module Kaltura
214
217
  if xml_element.elements['originalId'] != nil
215
218
  self.original_id = xml_element.elements['originalId'].text
216
219
  end
220
+ if xml_element.elements['srcPath'] != nil
221
+ self.src_path = xml_element.elements['srcPath'].text
222
+ end
223
+ if xml_element.elements['srcEncKey'] != nil
224
+ self.src_enc_key = xml_element.elements['srcEncKey'].text
225
+ end
226
+ if xml_element.elements['storageClass'] != nil
227
+ self.storage_class = xml_element.elements['storageClass'].text
228
+ end
217
229
  end
218
230
 
219
231
  end
@@ -317,6 +317,8 @@ module Kaltura
317
317
  attr_accessor :url
318
318
  # Request method.
319
319
  attr_accessor :method
320
+ # The type of the data to send.
321
+ attr_accessor :content_type
320
322
  # Data to send.
321
323
  attr_accessor :data
322
324
  # The maximum number of seconds to allow cURL functions to execute.
@@ -378,6 +380,9 @@ module Kaltura
378
380
  if xml_element.elements['method'] != nil
379
381
  self.method = xml_element.elements['method'].text
380
382
  end
383
+ if xml_element.elements['contentType'] != nil
384
+ self.content_type = xml_element.elements['contentType'].text
385
+ end
381
386
  if xml_element.elements['data'] != nil
382
387
  self.data = xml_element.elements['data'].text
383
388
  end
@@ -0,0 +1,280 @@
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 KalturaInteractivityDataFieldsFilter < KalturaObjectBase
66
+ # A string containing CSV list of fields to include
67
+ attr_accessor :fields
68
+
69
+
70
+ def from_xml(xml_element)
71
+ super
72
+ if xml_element.elements['fields'] != nil
73
+ self.fields = xml_element.elements['fields'].text
74
+ end
75
+ end
76
+
77
+ end
78
+
79
+ class KalturaInteractivityRootFilter < KalturaInteractivityDataFieldsFilter
80
+
81
+
82
+ def from_xml(xml_element)
83
+ super
84
+ end
85
+
86
+ end
87
+
88
+ class KalturaInteractivityNodeFilter < KalturaInteractivityDataFieldsFilter
89
+
90
+
91
+ def from_xml(xml_element)
92
+ super
93
+ end
94
+
95
+ end
96
+
97
+ class KalturaInteractivityInteractionFilter < KalturaInteractivityDataFieldsFilter
98
+
99
+
100
+ def from_xml(xml_element)
101
+ super
102
+ end
103
+
104
+ end
105
+
106
+ class KalturaInteractivityDataFilter < KalturaObjectBase
107
+ attr_accessor :root_filter
108
+ attr_accessor :node_filter
109
+ attr_accessor :interaction_filter
110
+
111
+
112
+ def from_xml(xml_element)
113
+ super
114
+ if xml_element.elements['rootFilter'] != nil
115
+ self.root_filter = KalturaClientBase.object_from_xml(xml_element.elements['rootFilter'], 'KalturaInteractivityRootFilter')
116
+ end
117
+ if xml_element.elements['nodeFilter'] != nil
118
+ self.node_filter = KalturaClientBase.object_from_xml(xml_element.elements['nodeFilter'], 'KalturaInteractivityNodeFilter')
119
+ end
120
+ if xml_element.elements['interactionFilter'] != nil
121
+ self.interaction_filter = KalturaClientBase.object_from_xml(xml_element.elements['interactionFilter'], 'KalturaInteractivityInteractionFilter')
122
+ end
123
+ end
124
+
125
+ end
126
+
127
+ class KalturaInteractivity < KalturaBaseInteractivity
128
+
129
+
130
+ def from_xml(xml_element)
131
+ super
132
+ end
133
+
134
+ end
135
+
136
+ class KalturaVolatileInteractivity < KalturaBaseInteractivity
137
+
138
+
139
+ def from_xml(xml_element)
140
+ super
141
+ end
142
+
143
+ end
144
+
145
+
146
+ class KalturaInteractivityService < KalturaServiceBase
147
+ def initialize(client)
148
+ super(client)
149
+ end
150
+
151
+ # Add a interactivity object
152
+ # @return [KalturaInteractivity]
153
+ def add(entry_id, kaltura_interactivity)
154
+ kparams = {}
155
+ client.add_param(kparams, 'entryId', entry_id)
156
+ client.add_param(kparams, 'kalturaInteractivity', kaltura_interactivity)
157
+ client.queue_service_action_call('interactivity_interactivity', 'add', 'KalturaInteractivity', kparams)
158
+ if (client.is_multirequest)
159
+ return nil
160
+ end
161
+ return client.do_queue()
162
+ end
163
+
164
+ # Delete a interactivity object by entry id
165
+ # @return []
166
+ def delete(entry_id)
167
+ kparams = {}
168
+ client.add_param(kparams, 'entryId', entry_id)
169
+ client.queue_service_action_call('interactivity_interactivity', 'delete', '', kparams)
170
+ if (client.is_multirequest)
171
+ return nil
172
+ end
173
+ return client.do_queue()
174
+ end
175
+
176
+ # Retrieve a interactivity object by entry id
177
+ # @return [KalturaInteractivity]
178
+ def get(entry_id, data_filter=KalturaNotImplemented)
179
+ kparams = {}
180
+ client.add_param(kparams, 'entryId', entry_id)
181
+ client.add_param(kparams, 'dataFilter', data_filter)
182
+ client.queue_service_action_call('interactivity_interactivity', 'get', 'KalturaInteractivity', kparams)
183
+ if (client.is_multirequest)
184
+ return nil
185
+ end
186
+ return client.do_queue()
187
+ end
188
+
189
+ # Update an existing interactivity object
190
+ # @return [KalturaInteractivity]
191
+ def update(entry_id, version, kaltura_interactivity)
192
+ kparams = {}
193
+ client.add_param(kparams, 'entryId', entry_id)
194
+ client.add_param(kparams, 'version', version)
195
+ client.add_param(kparams, 'kalturaInteractivity', kaltura_interactivity)
196
+ client.queue_service_action_call('interactivity_interactivity', 'update', 'KalturaInteractivity', kparams)
197
+ if (client.is_multirequest)
198
+ return nil
199
+ end
200
+ return client.do_queue()
201
+ end
202
+ end
203
+
204
+ class KalturaVolatileInteractivityService < KalturaServiceBase
205
+ def initialize(client)
206
+ super(client)
207
+ end
208
+
209
+ # add a volatile interactivity object
210
+ # @return [KalturaVolatileInteractivity]
211
+ def add(entry_id, kaltura_volatile_interactivity)
212
+ kparams = {}
213
+ client.add_param(kparams, 'entryId', entry_id)
214
+ client.add_param(kparams, 'kalturaVolatileInteractivity', kaltura_volatile_interactivity)
215
+ client.queue_service_action_call('interactivity_volatileinteractivity', 'add', 'KalturaVolatileInteractivity', kparams)
216
+ if (client.is_multirequest)
217
+ return nil
218
+ end
219
+ return client.do_queue()
220
+ end
221
+
222
+ # Delete a volatile interactivity object by entry id
223
+ # @return []
224
+ def delete(entry_id)
225
+ kparams = {}
226
+ client.add_param(kparams, 'entryId', entry_id)
227
+ client.queue_service_action_call('interactivity_volatileinteractivity', 'delete', '', kparams)
228
+ if (client.is_multirequest)
229
+ return nil
230
+ end
231
+ return client.do_queue()
232
+ end
233
+
234
+ # Retrieve a volatile interactivity object by entry id
235
+ # @return [KalturaVolatileInteractivity]
236
+ def get(entry_id)
237
+ kparams = {}
238
+ client.add_param(kparams, 'entryId', entry_id)
239
+ client.queue_service_action_call('interactivity_volatileinteractivity', 'get', 'KalturaVolatileInteractivity', kparams)
240
+ if (client.is_multirequest)
241
+ return nil
242
+ end
243
+ return client.do_queue()
244
+ end
245
+
246
+ # Update a volatile interactivity object
247
+ # @return [KalturaVolatileInteractivity]
248
+ def update(entry_id, version, kaltura_volatile_interactivity)
249
+ kparams = {}
250
+ client.add_param(kparams, 'entryId', entry_id)
251
+ client.add_param(kparams, 'version', version)
252
+ client.add_param(kparams, 'kalturaVolatileInteractivity', kaltura_volatile_interactivity)
253
+ client.queue_service_action_call('interactivity_volatileinteractivity', 'update', 'KalturaVolatileInteractivity', kparams)
254
+ if (client.is_multirequest)
255
+ return nil
256
+ end
257
+ return client.do_queue()
258
+ end
259
+ end
260
+
261
+ class KalturaClient < KalturaClientBase
262
+ attr_reader :interactivity_service
263
+ def interactivity_service
264
+ if (@interactivity_service == nil)
265
+ @interactivity_service = KalturaInteractivityService.new(self)
266
+ end
267
+ return @interactivity_service
268
+ end
269
+
270
+ attr_reader :volatile_interactivity_service
271
+ def volatile_interactivity_service
272
+ if (@volatile_interactivity_service == nil)
273
+ @volatile_interactivity_service = KalturaVolatileInteractivityService.new(self)
274
+ end
275
+ return @volatile_interactivity_service
276
+ end
277
+
278
+ end
279
+
280
+ end