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.
9268 9269 9270 |
# File 'lib/kaltura_types.rb', line 9268 def created_at @created_at end |
#dc ⇒ Object
DC where the serverNode is located
9283 9284 9285 |
# File 'lib/kaltura_types.rb', line 9283 def dc @dc end |
#description ⇒ Object
Returns the value of attribute description.
9275 9276 9277 |
# File 'lib/kaltura_types.rb', line 9275 def description @description end |
#environment ⇒ Object
Environment
9287 9288 9289 |
# File 'lib/kaltura_types.rb', line 9287 def environment @environment end |
#heartbeat_time ⇒ Object
Returns the value of attribute heartbeat_time.
9270 9271 9272 |
# File 'lib/kaltura_types.rb', line 9270 def heartbeat_time @heartbeat_time end |
#host_name ⇒ Object
serverNode hostName
9277 9278 9279 |
# File 'lib/kaltura_types.rb', line 9277 def host_name @host_name end |
#id ⇒ Object
Returns the value of attribute id.
9266 9267 9268 |
# File 'lib/kaltura_types.rb', line 9266 def id @id end |
#name ⇒ Object
serverNode name
9272 9273 9274 |
# File 'lib/kaltura_types.rb', line 9272 def name @name end |
#parent_id ⇒ Object
Id of the parent serverNode
9285 9286 9287 |
# File 'lib/kaltura_types.rb', line 9285 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
9267 9268 9269 |
# File 'lib/kaltura_types.rb', line 9267 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
9278 9279 9280 |
# File 'lib/kaltura_types.rb', line 9278 def status @status end |
#system_name ⇒ Object
serverNode uniqe system name
9274 9275 9276 |
# File 'lib/kaltura_types.rb', line 9274 def system_name @system_name end |
#tags ⇒ Object
serverNode tags
9281 9282 9283 |
# File 'lib/kaltura_types.rb', line 9281 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
9279 9280 9281 |
# File 'lib/kaltura_types.rb', line 9279 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
9269 9270 9271 |
# File 'lib/kaltura_types.rb', line 9269 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 |
# File 'lib/kaltura_types.rb', line 9311 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 |