Class: Kaltura::KalturaServerNode

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaDeliveryServerNode

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at.



5588
5589
5590
# File 'lib/kaltura_types.rb', line 5588

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



5608
5609
5610
# File 'lib/kaltura_types.rb', line 5608

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



5597
5598
5599
# File 'lib/kaltura_types.rb', line 5597

def description
  @description
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



5590
5591
5592
# File 'lib/kaltura_types.rb', line 5590

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



5600
5601
5602
# File 'lib/kaltura_types.rb', line 5600

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



5586
5587
5588
# File 'lib/kaltura_types.rb', line 5586

def id
  @id
end

#nameObject

serverNode name



5593
5594
5595
# File 'lib/kaltura_types.rb', line 5593

def name
  @name
end

#parent_idObject

Id of the parent serverNode



5611
5612
5613
# File 'lib/kaltura_types.rb', line 5611

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



5587
5588
5589
# File 'lib/kaltura_types.rb', line 5587

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



5601
5602
5603
# File 'lib/kaltura_types.rb', line 5601

def status
  @status
end

#system_nameObject

serverNode uniqe system name



5596
5597
5598
# File 'lib/kaltura_types.rb', line 5596

def system_name
  @system_name
end

#tagsObject

serverNode tags



5605
5606
5607
# File 'lib/kaltura_types.rb', line 5605

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



5602
5603
5604
# File 'lib/kaltura_types.rb', line 5602

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



5589
5590
5591
# File 'lib/kaltura_types.rb', line 5589

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
# File 'lib/kaltura_types.rb', line 5638

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.partner_id = xml_element.elements['partnerId'].text
	self.created_at = xml_element.elements['createdAt'].text
	self.updated_at = xml_element.elements['updatedAt'].text
	self.heartbeat_time = xml_element.elements['heartbeatTime'].text
	self.name = xml_element.elements['name'].text
	self.system_name = xml_element.elements['systemName'].text
	self.description = xml_element.elements['description'].text
	self.host_name = xml_element.elements['hostName'].text
	self.status = xml_element.elements['status'].text
	self.type = xml_element.elements['type'].text
	self.tags = xml_element.elements['tags'].text
	self.dc = xml_element.elements['dc'].text
	self.parent_id = xml_element.elements['parentId'].text
end