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.
5057 5058 5059 |
# File 'lib/kaltura_client.rb', line 5057 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
5063 5064 5065 5066 5067 5068 5069 5070 5071 |
# File 'lib/kaltura_client.rb', line 5063 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
5075 5076 5077 5078 5079 5080 5081 5082 5083 |
# File 'lib/kaltura_client.rb', line 5075 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
5087 5088 5089 5090 5091 5092 5093 5094 5095 |
# File 'lib/kaltura_client.rb', line 5087 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
5099 5100 5101 5102 5103 5104 5105 5106 5107 |
# File 'lib/kaltura_client.rb', line 5099 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
5111 5112 5113 5114 5115 5116 5117 5118 |
# File 'lib/kaltura_client.rb', line 5111 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
5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 |
# File 'lib/kaltura_client.rb', line 5122 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
5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 |
# File 'lib/kaltura_client.rb', line 5135 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
5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 |
# File 'lib/kaltura_client.rb', line 5148 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 |