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.



9022
9023
9024
# File 'lib/kaltura_types.rb', line 9022

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



9037
9038
9039
# File 'lib/kaltura_types.rb', line 9037

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



9029
9030
9031
# File 'lib/kaltura_types.rb', line 9029

def description
  @description
end

#environmentObject

Environment



9041
9042
9043
# File 'lib/kaltura_types.rb', line 9041

def environment
  @environment
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



9024
9025
9026
# File 'lib/kaltura_types.rb', line 9024

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



9031
9032
9033
# File 'lib/kaltura_types.rb', line 9031

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



9020
9021
9022
# File 'lib/kaltura_types.rb', line 9020

def id
  @id
end

#nameObject

serverNode name



9026
9027
9028
# File 'lib/kaltura_types.rb', line 9026

def name
  @name
end

#parent_idObject

Id of the parent serverNode



9039
9040
9041
# File 'lib/kaltura_types.rb', line 9039

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



9021
9022
9023
# File 'lib/kaltura_types.rb', line 9021

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9032
9033
9034
# File 'lib/kaltura_types.rb', line 9032

def status
  @status
end

#system_nameObject

serverNode uniqe system name



9028
9029
9030
# File 'lib/kaltura_types.rb', line 9028

def system_name
  @system_name
end

#tagsObject

serverNode tags



9035
9036
9037
# File 'lib/kaltura_types.rb', line 9035

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



9033
9034
9035
# File 'lib/kaltura_types.rb', line 9033

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9023
9024
9025
# File 'lib/kaltura_types.rb', line 9023

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
# File 'lib/kaltura_types.rb', line 9065

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