Class: Kaltura::KalturaServerNode
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaServerNode
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaConferenceServerNode, KalturaDeliveryServerNode, KalturaSipServerNode
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#dc ⇒ Object
DC where the serverNode is located.
-
#description ⇒ Object
Returns the value of attribute description.
-
#environment ⇒ Object
Environment.
-
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
-
#host_name ⇒ Object
serverNode hostName.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
serverNode name.
-
#parent_id ⇒ Object
Id of the parent serverNode.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#system_name ⇒ Object
serverNode uniqe system name.
-
#tags ⇒ Object
serverNode tags.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
9375 9376 9377 |
# File 'lib/kaltura_types.rb', line 9375 def created_at @created_at end |
#dc ⇒ Object
DC where the serverNode is located
9390 9391 9392 |
# File 'lib/kaltura_types.rb', line 9390 def dc @dc end |
#description ⇒ Object
Returns the value of attribute description.
9382 9383 9384 |
# File 'lib/kaltura_types.rb', line 9382 def description @description end |
#environment ⇒ Object
Environment
9394 9395 9396 |
# File 'lib/kaltura_types.rb', line 9394 def environment @environment end |
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
9377 9378 9379 |
# File 'lib/kaltura_types.rb', line 9377 def heartbeat_time @heartbeat_time end |
#host_name ⇒ Object
serverNode hostName
9384 9385 9386 |
# File 'lib/kaltura_types.rb', line 9384 def host_name @host_name end |
#id ⇒ Object
Returns the value of attribute id.
9373 9374 9375 |
# File 'lib/kaltura_types.rb', line 9373 def id @id end |
#name ⇒ Object
serverNode name
9379 9380 9381 |
# File 'lib/kaltura_types.rb', line 9379 def name @name end |
#parent_id ⇒ Object
Id of the parent serverNode
9392 9393 9394 |
# File 'lib/kaltura_types.rb', line 9392 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
9374 9375 9376 |
# File 'lib/kaltura_types.rb', line 9374 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
9385 9386 9387 |
# File 'lib/kaltura_types.rb', line 9385 def status @status end |
#system_name ⇒ Object
serverNode uniqe system name
9381 9382 9383 |
# File 'lib/kaltura_types.rb', line 9381 def system_name @system_name end |
#tags ⇒ Object
serverNode tags
9388 9389 9390 |
# File 'lib/kaltura_types.rb', line 9388 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
9386 9387 9388 |
# File 'lib/kaltura_types.rb', line 9386 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
9376 9377 9378 |
# File 'lib/kaltura_types.rb', line 9376 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 |
# File 'lib/kaltura_types.rb', line 9418 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. = 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 |