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.
5022 5023 5024 |
# File 'lib/kaltura_client.rb', line 5022 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
5028 5029 5030 5031 5032 5033 5034 5035 5036 |
# File 'lib/kaltura_client.rb', line 5028 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
5040 5041 5042 5043 5044 5045 5046 5047 5048 |
# File 'lib/kaltura_client.rb', line 5040 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
5052 5053 5054 5055 5056 5057 5058 5059 5060 |
# File 'lib/kaltura_client.rb', line 5052 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
5064 5065 5066 5067 5068 5069 5070 5071 5072 |
# File 'lib/kaltura_client.rb', line 5064 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
5076 5077 5078 5079 5080 5081 5082 5083 |
# File 'lib/kaltura_client.rb', line 5076 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
5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 |
# File 'lib/kaltura_client.rb', line 5087 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
5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 |
# File 'lib/kaltura_client.rb', line 5100 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
5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 |
# File 'lib/kaltura_client.rb', line 5113 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 |