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) ⇒ Object
UIConf Add action allows you to add a UIConf to Kaltura DB.
-
#clone(id) ⇒ Object
Clone an existing UIConf.
-
#delete(id) ⇒ Object
Delete an existing UIConf.
-
#get(id) ⇒ Object
Retrieve a UIConf by id.
-
#get_available_types ⇒ Object
Retrieve a list of all available versions by object type.
-
#initialize(client) ⇒ KalturaUiConfService
constructor
A new instance of KalturaUiConfService.
-
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ Object
Retrieve a list of available UIConfs.
-
#list_templates(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ Object
retrieve a list of available template UIConfs.
-
#update(id, ui_conf) ⇒ Object
Update an existing UIConf.
Constructor Details
#initialize(client) ⇒ KalturaUiConfService
Returns a new instance of KalturaUiConfService.
4840 4841 4842 |
# File 'lib/kaltura_client.rb', line 4840 def initialize(client) super(client) end |
Instance Method Details
#add(ui_conf) ⇒ Object
UIConf Add action allows you to add a UIConf to Kaltura DB
4846 4847 4848 4849 4850 4851 4852 4853 4854 |
# File 'lib/kaltura_client.rb', line 4846 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) ⇒ Object
Clone an existing UIConf
4895 4896 4897 4898 4899 4900 4901 4902 4903 |
# File 'lib/kaltura_client.rb', line 4895 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
4883 4884 4885 4886 4887 4888 4889 4890 4891 |
# File 'lib/kaltura_client.rb', line 4883 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) ⇒ Object
Retrieve a UIConf by id
4871 4872 4873 4874 4875 4876 4877 4878 4879 |
# File 'lib/kaltura_client.rb', line 4871 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 ⇒ Object
Retrieve a list of all available versions by object type
4933 4934 4935 4936 4937 4938 4939 4940 |
# File 'lib/kaltura_client.rb', line 4933 def get_available_types() kparams = {} client.queue_service_action_call('uiconf', 'getAvailableTypes', 'array', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ Object
Retrieve a list of available UIConfs
4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 |
# File 'lib/kaltura_client.rb', line 4920 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) ⇒ Object
retrieve a list of available template UIConfs
4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 |
# File 'lib/kaltura_client.rb', line 4907 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) ⇒ Object
Update an existing UIConf
4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 |
# File 'lib/kaltura_client.rb', line 4858 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 |