Class: Kaltura::KalturaEntryServerNodeService

Inherits:
KalturaServiceBase show all
Defined in:
lib/kaltura_client.rb

Overview

Base class for entry server node

Instance Attribute Summary

Attributes inherited from KalturaServiceBase

#client

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ KalturaEntryServerNodeService

Returns a new instance of KalturaEntryServerNodeService.



1563
1564
1565
# File 'lib/kaltura_client.rb', line 1563

def initialize(client)
	super(client)
end

Instance Method Details

#get(id) ⇒ KalturaEntryServerNode



1568
1569
1570
1571
1572
1573
1574
1575
1576
# File 'lib/kaltura_client.rb', line 1568

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



1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'lib/kaltura_client.rb', line 1579

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



1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
# File 'lib/kaltura_client.rb', line 1591

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



1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
# File 'lib/kaltura_client.rb', line 1603

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

Returns:



1616
1617
1618
1619
1620
1621
1622
1623
1624
# File 'lib/kaltura_client.rb', line 1616

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