class Kaltura::KalturaEntryServerNodeService

Base class for entry server node

Public Class Methods

new(client) click to toggle source
Calls superclass method
# File lib/kaltura_client.rb, line 1540
def initialize(client)
        super(client)
end

Public Instance Methods

get(id) click to toggle source

@return [KalturaEntryServerNode]

# File lib/kaltura_client.rb, line 1545
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) click to toggle source

@return [KalturaEntryServerNodeListResponse]

# File lib/kaltura_client.rb, line 1556
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) click to toggle source

@return [KalturaEntryServerNode]

# File lib/kaltura_client.rb, line 1568
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) click to toggle source

@return [KalturaEntryServerNode]

# File lib/kaltura_client.rb, line 1580
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) click to toggle source

Validates server node still registered on entry @return []

# File lib/kaltura_client.rb, line 1593
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