Class: Kaltura::KalturaUiConfService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaUiConfService
- Defined in:
- lib/kaltura_client.rb
Overview
UiConf service lets you create and manage your UIConfs for the various flash components
This service is used by the KMC-ApplicationStudio
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
-
#add(ui_conf) ⇒ KalturaUiConf
UIConf Add action allows you to add a UIConf to Kaltura DB.
-
#clone(id) ⇒ KalturaUiConf
Clone an existing UIConf.
-
#delete(id) ⇒ Object
Delete an existing UIConf.
-
#get(id) ⇒ KalturaUiConf
Retrieve a UIConf by id.
-
#get_available_types ⇒ array
Retrieve a list of all available versions by object type.
-
#initialize(client) ⇒ KalturaUiConfService
constructor
A new instance of KalturaUiConfService.
-
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaUiConfListResponse
Retrieve a list of available UIConfs.
-
#list_templates(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaUiConfListResponse
retrieve a list of available template UIConfs.
-
#update(id, ui_conf) ⇒ KalturaUiConf
Update an existing UIConf.
Constructor Details
#initialize(client) ⇒ KalturaUiConfService
Returns a new instance of KalturaUiConfService.
5110 5111 5112 |
# File 'lib/kaltura_client.rb', line 5110 def initialize(client) super(client) end |
Instance Method Details
#add(ui_conf) ⇒ KalturaUiConf
UIConf Add action allows you to add a UIConf to Kaltura DB
5116 5117 5118 5119 5120 5121 5122 5123 5124 |
# File 'lib/kaltura_client.rb', line 5116 def add(ui_conf) kparams = {} client.add_param(kparams, 'uiConf', ui_conf) client.queue_service_action_call('uiconf', 'add', 'KalturaUiConf', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#clone(id) ⇒ KalturaUiConf
Clone an existing UIConf
5128 5129 5130 5131 5132 5133 5134 5135 5136 |
# File 'lib/kaltura_client.rb', line 5128 def clone(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('uiconf', 'clone', 'KalturaUiConf', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#delete(id) ⇒ Object
Delete an existing UIConf
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/kaltura_client.rb', line 5140 def delete(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('uiconf', 'delete', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get(id) ⇒ KalturaUiConf
Retrieve a UIConf by id
5152 5153 5154 5155 5156 5157 5158 5159 5160 |
# File 'lib/kaltura_client.rb', line 5152 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('uiconf', 'get', 'KalturaUiConf', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#get_available_types ⇒ array
Retrieve a list of all available versions by object type
5164 5165 5166 5167 5168 5169 5170 5171 |
# File 'lib/kaltura_client.rb', line 5164 def get_available_types() kparams = {} client.queue_service_action_call('uiconf', 'getAvailableTypes', 'KalturaUiConfTypeInfo', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaUiConfListResponse
Retrieve a list of available UIConfs
5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 |
# File 'lib/kaltura_client.rb', line 5175 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('uiconf', 'list', 'KalturaUiConfListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list_templates(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaUiConfListResponse
retrieve a list of available template UIConfs
5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 |
# File 'lib/kaltura_client.rb', line 5188 def list_templates(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('uiconf', 'listTemplates', 'KalturaUiConfListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update(id, ui_conf) ⇒ KalturaUiConf
Update an existing UIConf
5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 |
# File 'lib/kaltura_client.rb', line 5201 def update(id, ui_conf) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'uiConf', ui_conf) client.queue_service_action_call('uiconf', 'update', 'KalturaUiConf', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |