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.
9053 9054 9055 |
# File 'lib/kaltura_types.rb', line 9053 def created_at @created_at end |
#dc ⇒ Object
DC where the serverNode is located
9068 9069 9070 |
# File 'lib/kaltura_types.rb', line 9068 def dc @dc end |
#description ⇒ Object
Returns the value of attribute description.
9060 9061 9062 |
# File 'lib/kaltura_types.rb', line 9060 def description @description end |
#environment ⇒ Object
Environment
9072 9073 9074 |
# File 'lib/kaltura_types.rb', line 9072 def environment @environment end |
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
9055 9056 9057 |
# File 'lib/kaltura_types.rb', line 9055 def heartbeat_time @heartbeat_time end |
#host_name ⇒ Object
serverNode hostName
9062 9063 9064 |
# File 'lib/kaltura_types.rb', line 9062 def host_name @host_name end |
#id ⇒ Object
Returns the value of attribute id.
9051 9052 9053 |
# File 'lib/kaltura_types.rb', line 9051 def id @id end |
#name ⇒ Object
serverNode name
9057 9058 9059 |
# File 'lib/kaltura_types.rb', line 9057 def name @name end |
#parent_id ⇒ Object
Id of the parent serverNode
9070 9071 9072 |
# File 'lib/kaltura_types.rb', line 9070 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
9052 9053 9054 |
# File 'lib/kaltura_types.rb', line 9052 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
9063 9064 9065 |
# File 'lib/kaltura_types.rb', line 9063 def status @status end |
#system_name ⇒ Object
serverNode uniqe system name
9059 9060 9061 |
# File 'lib/kaltura_types.rb', line 9059 def system_name @system_name end |
#tags ⇒ Object
serverNode tags
9066 9067 9068 |
# File 'lib/kaltura_types.rb', line 9066 def end |
#type ⇒ Object
Returns the value of attribute type.
9064 9065 9066 |
# File 'lib/kaltura_types.rb', line 9064 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
9054 9055 9056 |
# File 'lib/kaltura_types.rb', line 9054 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 |
# File 'lib/kaltura_types.rb', line 9096 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 |