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.
-
#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.
8784 8785 8786 |
# File 'lib/kaltura_types.rb', line 8784 def created_at @created_at end |
#dc ⇒ Object
DC where the serverNode is located
8799 8800 8801 |
# File 'lib/kaltura_types.rb', line 8799 def dc @dc end |
#description ⇒ Object
Returns the value of attribute description.
8791 8792 8793 |
# File 'lib/kaltura_types.rb', line 8791 def description @description end |
#environment ⇒ Object
Environment
8803 8804 8805 |
# File 'lib/kaltura_types.rb', line 8803 def environment @environment end |
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
8786 8787 8788 |
# File 'lib/kaltura_types.rb', line 8786 def heartbeat_time @heartbeat_time end |
#host_name ⇒ Object
serverNode hostName
8793 8794 8795 |
# File 'lib/kaltura_types.rb', line 8793 def host_name @host_name end |
#id ⇒ Object
Returns the value of attribute id.
8782 8783 8784 |
# File 'lib/kaltura_types.rb', line 8782 def id @id end |
#name ⇒ Object
serverNode name
8788 8789 8790 |
# File 'lib/kaltura_types.rb', line 8788 def name @name end |
#parent_id ⇒ Object
Id of the parent serverNode
8801 8802 8803 |
# File 'lib/kaltura_types.rb', line 8801 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
8783 8784 8785 |
# File 'lib/kaltura_types.rb', line 8783 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
8794 8795 8796 |
# File 'lib/kaltura_types.rb', line 8794 def status @status end |
#system_name ⇒ Object
serverNode uniqe system name
8790 8791 8792 |
# File 'lib/kaltura_types.rb', line 8790 def system_name @system_name end |
#tags ⇒ Object
serverNode tags
8797 8798 8799 |
# File 'lib/kaltura_types.rb', line 8797 def end |
#type ⇒ Object
Returns the value of attribute type.
8795 8796 8797 |
# File 'lib/kaltura_types.rb', line 8795 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8785 8786 8787 |
# File 'lib/kaltura_types.rb', line 8785 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 |
# File 'lib/kaltura_types.rb', line 8827 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 |