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.



8795
8796
8797
# File 'lib/kaltura_types.rb', line 8795

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



8810
8811
8812
# File 'lib/kaltura_types.rb', line 8810

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



8802
8803
8804
# File 'lib/kaltura_types.rb', line 8802

def description
  @description
end

#environmentObject

Environment



8814
8815
8816
# File 'lib/kaltura_types.rb', line 8814

def environment
  @environment
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



8797
8798
8799
# File 'lib/kaltura_types.rb', line 8797

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



8804
8805
8806
# File 'lib/kaltura_types.rb', line 8804

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



8793
8794
8795
# File 'lib/kaltura_types.rb', line 8793

def id
  @id
end

#nameObject

serverNode name



8799
8800
8801
# File 'lib/kaltura_types.rb', line 8799

def name
  @name
end

#parent_idObject

Id of the parent serverNode



8812
8813
8814
# File 'lib/kaltura_types.rb', line 8812

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



8794
8795
8796
# File 'lib/kaltura_types.rb', line 8794

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



8805
8806
8807
# File 'lib/kaltura_types.rb', line 8805

def status
  @status
end

#system_nameObject

serverNode uniqe system name



8801
8802
8803
# File 'lib/kaltura_types.rb', line 8801

def system_name
  @system_name
end

#tagsObject

serverNode tags



8808
8809
8810
# File 'lib/kaltura_types.rb', line 8808

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



8806
8807
8808
# File 'lib/kaltura_types.rb', line 8806

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



8796
8797
8798
# File 'lib/kaltura_types.rb', line 8796

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
# File 'lib/kaltura_types.rb', line 8838

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