Class: Kaltura::KalturaServerNode

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at.



9171
9172
9173
# File 'lib/kaltura_types.rb', line 9171

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



9186
9187
9188
# File 'lib/kaltura_types.rb', line 9186

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



9178
9179
9180
# File 'lib/kaltura_types.rb', line 9178

def description
  @description
end

#environmentObject

Environment



9190
9191
9192
# File 'lib/kaltura_types.rb', line 9190

def environment
  @environment
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



9173
9174
9175
# File 'lib/kaltura_types.rb', line 9173

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



9180
9181
9182
# File 'lib/kaltura_types.rb', line 9180

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



9169
9170
9171
# File 'lib/kaltura_types.rb', line 9169

def id
  @id
end

#nameObject

serverNode name



9175
9176
9177
# File 'lib/kaltura_types.rb', line 9175

def name
  @name
end

#parent_idObject

Id of the parent serverNode



9188
9189
9190
# File 'lib/kaltura_types.rb', line 9188

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



9170
9171
9172
# File 'lib/kaltura_types.rb', line 9170

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9181
9182
9183
# File 'lib/kaltura_types.rb', line 9181

def status
  @status
end

#system_nameObject

serverNode uniqe system name



9177
9178
9179
# File 'lib/kaltura_types.rb', line 9177

def system_name
  @system_name
end

#tagsObject

serverNode tags



9184
9185
9186
# File 'lib/kaltura_types.rb', line 9184

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



9182
9183
9184
# File 'lib/kaltura_types.rb', line 9182

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9172
9173
9174
# File 'lib/kaltura_types.rb', line 9172

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
# File 'lib/kaltura_types.rb', line 9214

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.tags = 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