Class: Kaltura::KalturaEntryAdminService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaEntryAdminService
- Defined in:
- lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb
Overview
Entry Admin service
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#get(entry_id, version = -1)) ⇒ Object
Get base entry by ID with no filters.
-
#get_by_flavor_id(flavor_id, version = -1)) ⇒ Object
Get base entry by flavor ID with no filters.
-
#get_tracks(entry_id) ⇒ Object
Get base entry by ID with no filters.
-
#initialize(client) ⇒ KalturaEntryAdminService
constructor
A new instance of KalturaEntryAdminService.
Constructor Details
#initialize(client) ⇒ KalturaEntryAdminService
Returns a new instance of KalturaEntryAdminService.
165 166 167 |
# File 'lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb', line 165 def initialize(client) super(client) end |
Instance Method Details
#get(entry_id, version = -1)) ⇒ Object
Get base entry by ID with no filters.
171 172 173 174 175 176 177 178 179 180 |
# File 'lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb', line 171 def get(entry_id, version=-1) kparams = {} client.add_param(kparams, 'entryId', entry_id) client.add_param(kparams, 'version', version) client.queue_service_action_call('adminconsole_entryadmin', 'get', 'KalturaBaseEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_by_flavor_id(flavor_id, version = -1)) ⇒ Object
Get base entry by flavor ID with no filters.
184 185 186 187 188 189 190 191 192 193 |
# File 'lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb', line 184 def get_by_flavor_id(flavor_id, version=-1) kparams = {} client.add_param(kparams, 'flavorId', flavor_id) client.add_param(kparams, 'version', version) client.queue_service_action_call('adminconsole_entryadmin', 'getByFlavorId', 'KalturaBaseEntry', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_tracks(entry_id) ⇒ Object
Get base entry by ID with no filters.
197 198 199 200 201 202 203 204 205 |
# File 'lib/kaltura_plugins/kaltura_admin_console_client_plugin.rb', line 197 def get_tracks(entry_id) kparams = {} client.add_param(kparams, 'entryId', entry_id) client.queue_service_action_call('adminconsole_entryadmin', 'getTracks', 'KalturaTrackEntryListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |