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.



1540
1541
1542
# File 'lib/kaltura_client.rb', line 1540

def initialize(client)
  super(client)
end

Instance Method Details

#get(id) ⇒ KalturaEntryServerNode



1545
1546
1547
1548
1549
1550
1551
1552
1553
# 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) ⇒ KalturaEntryServerNodeListResponse



1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# 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) ⇒ KalturaEntryServerNode



1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
# 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) ⇒ KalturaEntryServerNode



1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
# 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) ⇒ Object

Validates server node still registered on entry

Returns:



1593
1594
1595
1596
1597
1598
1599
1600
1601
# 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