Class: Kaltura::KalturaEntryServerNodeService
- Inherits:
-
KalturaServiceBase
- Object
- KalturaServiceBase
- Kaltura::KalturaEntryServerNodeService
- Defined in:
- lib/kaltura_client.rb
Overview
Base class for entry server node
Instance Attribute Summary
Attributes inherited from KalturaServiceBase
Instance Method Summary collapse
- #get(id) ⇒ KalturaEntryServerNode
-
#initialize(client) ⇒ KalturaEntryServerNodeService
constructor
A new instance of KalturaEntryServerNodeService.
- #list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaEntryServerNodeListResponse
- #update(id, entry_server_node) ⇒ KalturaEntryServerNode
- #update_status(id, status) ⇒ KalturaEntryServerNode
-
#validate_registered_entry_server_node(id) ⇒ Object
Validates server node still registered on entry.
Constructor Details
#initialize(client) ⇒ KalturaEntryServerNodeService
Returns a new instance of KalturaEntryServerNodeService.
1525 1526 1527 |
# File 'lib/kaltura_client.rb', line 1525 def initialize(client) super(client) end |
Instance Method Details
#get(id) ⇒ KalturaEntryServerNode
1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/kaltura_client.rb', line 1530 def get(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('entryservernode', 'get', 'KalturaEntryServerNode', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#list(filter = KalturaNotImplemented, pager = KalturaNotImplemented) ⇒ KalturaEntryServerNodeListResponse
1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 |
# File 'lib/kaltura_client.rb', line 1541 def list(filter=KalturaNotImplemented, pager=KalturaNotImplemented) kparams = {} client.add_param(kparams, 'filter', filter) client.add_param(kparams, 'pager', pager) client.queue_service_action_call('entryservernode', 'list', 'KalturaEntryServerNodeListResponse', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update(id, entry_server_node) ⇒ KalturaEntryServerNode
1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 |
# File 'lib/kaltura_client.rb', line 1553 def update(id, entry_server_node) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'entryServerNode', entry_server_node) client.queue_service_action_call('entryservernode', 'update', 'KalturaEntryServerNode', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#update_status(id, status) ⇒ KalturaEntryServerNode
1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# File 'lib/kaltura_client.rb', line 1565 def update_status(id, status) kparams = {} client.add_param(kparams, 'id', id) client.add_param(kparams, 'status', status) client.queue_service_action_call('entryservernode', 'updateStatus', 'KalturaEntryServerNode', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |
#validate_registered_entry_server_node(id) ⇒ Object
Validates server node still registered on entry
1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'lib/kaltura_client.rb', line 1578 def validate_registered_entry_server_node(id) kparams = {} client.add_param(kparams, 'id', id) client.queue_service_action_call('entryservernode', 'validateRegisteredEntryServerNode', '', kparams) if (client.is_multirequest) return nil end return client.do_queue() end |