Class: Kaltura::KalturaServerNode
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaServerNode
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
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.
-
#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.
5588 5589 5590 |
# File 'lib/kaltura_types.rb', line 5588 def created_at @created_at end |
#dc ⇒ Object
DC where the serverNode is located
5608 5609 5610 |
# File 'lib/kaltura_types.rb', line 5608 def dc @dc end |
#description ⇒ Object
Returns the value of attribute description.
5597 5598 5599 |
# File 'lib/kaltura_types.rb', line 5597 def description @description end |
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
5590 5591 5592 |
# File 'lib/kaltura_types.rb', line 5590 def heartbeat_time @heartbeat_time end |
#host_name ⇒ Object
serverNode hostName
5600 5601 5602 |
# File 'lib/kaltura_types.rb', line 5600 def host_name @host_name end |
#id ⇒ Object
Returns the value of attribute id.
5586 5587 5588 |
# File 'lib/kaltura_types.rb', line 5586 def id @id end |
#name ⇒ Object
serverNode name
5593 5594 5595 |
# File 'lib/kaltura_types.rb', line 5593 def name @name end |
#parent_id ⇒ Object
Id of the parent serverNode
5611 5612 5613 |
# File 'lib/kaltura_types.rb', line 5611 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
5587 5588 5589 |
# File 'lib/kaltura_types.rb', line 5587 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
5601 5602 5603 |
# File 'lib/kaltura_types.rb', line 5601 def status @status end |
#system_name ⇒ Object
serverNode uniqe system name
5596 5597 5598 |
# File 'lib/kaltura_types.rb', line 5596 def system_name @system_name end |
#tags ⇒ Object
serverNode tags
5605 5606 5607 |
# File 'lib/kaltura_types.rb', line 5605 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
5602 5603 5604 |
# File 'lib/kaltura_types.rb', line 5602 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
5589 5590 5591 |
# File 'lib/kaltura_types.rb', line 5589 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 |
# File 'lib/kaltura_types.rb', line 5638 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.partner_id = xml_element.elements['partnerId'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.heartbeat_time = xml_element.elements['heartbeatTime'].text self.name = xml_element.elements['name'].text self.system_name = xml_element.elements['systemName'].text self.description = xml_element.elements['description'].text self.host_name = xml_element.elements['hostName'].text self.status = xml_element.elements['status'].text self.type = xml_element.elements['type'].text self. = xml_element.elements['tags'].text self.dc = xml_element.elements['dc'].text self.parent_id = xml_element.elements['parentId'].text end |