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.



1524
1525
1526
# File 'lib/kaltura_client.rb', line 1524

def initialize(client)
	super(client)
end

Instance Method Details

#get(id) ⇒ KalturaEntryServerNode



1529
1530
1531
1532
1533
1534
1535
1536
1537
# File 'lib/kaltura_client.rb', line 1529

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



1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
# File 'lib/kaltura_client.rb', line 1540

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



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
# File 'lib/kaltura_client.rb', line 1552

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



1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
# File 'lib/kaltura_client.rb', line 1564

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:



1577
1578
1579
1580
1581
1582
1583
1584
1585
# File 'lib/kaltura_client.rb', line 1577

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