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.
8959 8960 8961 |
# File 'lib/kaltura_types.rb', line 8959 def created_at @created_at end |
#dc ⇒ Object
DC where the serverNode is located
8974 8975 8976 |
# File 'lib/kaltura_types.rb', line 8974 def dc @dc end |
#description ⇒ Object
Returns the value of attribute description.
8966 8967 8968 |
# File 'lib/kaltura_types.rb', line 8966 def description @description end |
#environment ⇒ Object
Environment
8978 8979 8980 |
# File 'lib/kaltura_types.rb', line 8978 def environment @environment end |
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
8961 8962 8963 |
# File 'lib/kaltura_types.rb', line 8961 def heartbeat_time @heartbeat_time end |
#host_name ⇒ Object
serverNode hostName
8968 8969 8970 |
# File 'lib/kaltura_types.rb', line 8968 def host_name @host_name end |
#id ⇒ Object
Returns the value of attribute id.
8957 8958 8959 |
# File 'lib/kaltura_types.rb', line 8957 def id @id end |
#name ⇒ Object
serverNode name
8963 8964 8965 |
# File 'lib/kaltura_types.rb', line 8963 def name @name end |
#parent_id ⇒ Object
Id of the parent serverNode
8976 8977 8978 |
# File 'lib/kaltura_types.rb', line 8976 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
8958 8959 8960 |
# File 'lib/kaltura_types.rb', line 8958 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
8969 8970 8971 |
# File 'lib/kaltura_types.rb', line 8969 def status @status end |
#system_name ⇒ Object
serverNode uniqe system name
8965 8966 8967 |
# File 'lib/kaltura_types.rb', line 8965 def system_name @system_name end |
#tags ⇒ Object
serverNode tags
8972 8973 8974 |
# File 'lib/kaltura_types.rb', line 8972 def end |
#type ⇒ Object
Returns the value of attribute type.
8970 8971 8972 |
# File 'lib/kaltura_types.rb', line 8970 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8960 8961 8962 |
# File 'lib/kaltura_types.rb', line 8960 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 |
# File 'lib/kaltura_types.rb', line 9002 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 |