Class: Kaltura::KalturaServerNode

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

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.



9405
9406
9407
# File 'lib/kaltura_types.rb', line 9405

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



9420
9421
9422
# File 'lib/kaltura_types.rb', line 9420

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



9412
9413
9414
# File 'lib/kaltura_types.rb', line 9412

def description
  @description
end

#environmentObject

Environment



9424
9425
9426
# File 'lib/kaltura_types.rb', line 9424

def environment
  @environment
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



9407
9408
9409
# File 'lib/kaltura_types.rb', line 9407

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



9414
9415
9416
# File 'lib/kaltura_types.rb', line 9414

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



9403
9404
9405
# File 'lib/kaltura_types.rb', line 9403

def id
  @id
end

#nameObject

serverNode name



9409
9410
9411
# File 'lib/kaltura_types.rb', line 9409

def name
  @name
end

#parent_idObject

Id of the parent serverNode



9422
9423
9424
# File 'lib/kaltura_types.rb', line 9422

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



9404
9405
9406
# File 'lib/kaltura_types.rb', line 9404

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9415
9416
9417
# File 'lib/kaltura_types.rb', line 9415

def status
  @status
end

#system_nameObject

serverNode uniqe system name



9411
9412
9413
# File 'lib/kaltura_types.rb', line 9411

def system_name
  @system_name
end

#tagsObject

serverNode tags



9418
9419
9420
# File 'lib/kaltura_types.rb', line 9418

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



9416
9417
9418
# File 'lib/kaltura_types.rb', line 9416

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9406
9407
9408
# File 'lib/kaltura_types.rb', line 9406

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
# File 'lib/kaltura_types.rb', line 9448

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