Class: Kaltura::KalturaServerNode

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

Direct Known Subclasses

KalturaDeliveryServerNode

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.



8865
8866
8867
# File 'lib/kaltura_types.rb', line 8865

def created_at
  @created_at
end

#dcObject

DC where the serverNode is located



8880
8881
8882
# File 'lib/kaltura_types.rb', line 8880

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



8872
8873
8874
# File 'lib/kaltura_types.rb', line 8872

def description
  @description
end

#environmentObject

Environment



8884
8885
8886
# File 'lib/kaltura_types.rb', line 8884

def environment
  @environment
end

#heartbeat_timeObject

Returns the value of attribute heartbeat_time.



8867
8868
8869
# File 'lib/kaltura_types.rb', line 8867

def heartbeat_time
  @heartbeat_time
end

#host_nameObject

serverNode hostName



8874
8875
8876
# File 'lib/kaltura_types.rb', line 8874

def host_name
  @host_name
end

#idObject

Returns the value of attribute id.



8863
8864
8865
# File 'lib/kaltura_types.rb', line 8863

def id
  @id
end

#nameObject

serverNode name



8869
8870
8871
# File 'lib/kaltura_types.rb', line 8869

def name
  @name
end

#parent_idObject

Id of the parent serverNode



8882
8883
8884
# File 'lib/kaltura_types.rb', line 8882

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



8864
8865
8866
# File 'lib/kaltura_types.rb', line 8864

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



8875
8876
8877
# File 'lib/kaltura_types.rb', line 8875

def status
  @status
end

#system_nameObject

serverNode uniqe system name



8871
8872
8873
# File 'lib/kaltura_types.rb', line 8871

def system_name
  @system_name
end

#tagsObject

serverNode tags



8878
8879
8880
# File 'lib/kaltura_types.rb', line 8878

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



8876
8877
8878
# File 'lib/kaltura_types.rb', line 8876

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



8866
8867
8868
# File 'lib/kaltura_types.rb', line 8866

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
# File 'lib/kaltura_types.rb', line 8908

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