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.
13449 13450 13451 |
# File 'lib/kaltura_client.rb', line 13449 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
13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 |
# File 'lib/kaltura_client.rb', line 13455 def add(ui_conf) kparams = {} # Mandatory input parameter of type KalturaUiConf client.add_param(kparams, 'uiConf', ui_conf); client.queue_service_action_call('uiconf', 'add', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#clone(id) ⇒ Object
Clone an existing UIConf
13505 13506 13507 13508 13509 13510 13511 13512 13513 |
# File 'lib/kaltura_client.rb', line 13505 def clone(id) kparams = {} client.add_param(kparams, 'id', id); client.queue_service_action_call('uiconf', 'clone', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#delete(id) ⇒ Object
Delete an existing UIConf
13493 13494 13495 13496 13497 13498 13499 13500 13501 |
# File 'lib/kaltura_client.rb', line 13493 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
13481 13482 13483 13484 13485 13486 13487 13488 13489 |
# File 'lib/kaltura_client.rb', line 13481 def get(id) kparams = {} client.add_param(kparams, 'id', id); client.queue_service_action_call('uiconf', 'get', 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
13543 13544 13545 13546 13547 13548 13549 13550 |
# File 'lib/kaltura_client.rb', line 13543 def get_available_types() kparams = {} client.queue_service_action_call('uiconf', 'getAvailableTypes', 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
13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 |
# File 'lib/kaltura_client.rb', line 13530 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', 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
13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 |
# File 'lib/kaltura_client.rb', line 13517 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', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |
#update(id, ui_conf) ⇒ Object
Update an existing UIConf
13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 |
# File 'lib/kaltura_client.rb', line 13468 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', kparams); if (client.is_multirequest) return nil; end return client.do_queue(); end |