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.
1580 1581 1582 |
# File 'lib/kaltura_client.rb', line 1580 def initialize(client) super(client) end |
Instance Method Details
#get(id) ⇒ KalturaEntryServerNode
1585 1586 1587 1588 1589 1590 1591 1592 1593 |
# File 'lib/kaltura_client.rb', line 1585 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
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/kaltura_client.rb', line 1596 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
1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 |
# File 'lib/kaltura_client.rb', line 1608 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
1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 |
# File 'lib/kaltura_client.rb', line 1620 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
1633 1634 1635 1636 1637 1638 1639 1640 1641 |
# File 'lib/kaltura_client.rb', line 1633 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 |