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.



9313
9314
9315
# File 'lib/kaltura_types.rb', line 9313

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



9328
9329
9330
# File 'lib/kaltura_types.rb', line 9328

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



9320
9321
9322
# File 'lib/kaltura_types.rb', line 9320

def description
  @description
end

#environmentObject

Environment



9332
9333
9334
# File 'lib/kaltura_types.rb', line 9332

def environment
  @environment
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



9315
9316
9317
# File 'lib/kaltura_types.rb', line 9315

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



9322
9323
9324
# File 'lib/kaltura_types.rb', line 9322

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



9311
9312
9313
# File 'lib/kaltura_types.rb', line 9311

def id
  @id
end

#nameObject

serverNode name



9317
9318
9319
# File 'lib/kaltura_types.rb', line 9317

def name
  @name
end

#parent_idObject

Id of the parent serverNode



9330
9331
9332
# File 'lib/kaltura_types.rb', line 9330

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



9312
9313
9314
# File 'lib/kaltura_types.rb', line 9312

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9323
9324
9325
# File 'lib/kaltura_types.rb', line 9323

def status
  @status
end

#system_nameObject

serverNode uniqe system name



9319
9320
9321
# File 'lib/kaltura_types.rb', line 9319

def system_name
  @system_name
end

#tagsObject

serverNode tags



9326
9327
9328
# File 'lib/kaltura_types.rb', line 9326

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



9324
9325
9326
# File 'lib/kaltura_types.rb', line 9324

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9314
9315
9316
# File 'lib/kaltura_types.rb', line 9314

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
# File 'lib/kaltura_types.rb', line 9356

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