Class: Kaltura::KalturaResponseProfile

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

Instance Attribute Summary collapse

Attributes inherited from KalturaDetachedResponseProfile

#fields, #filter, #mappings, #name, #pager, #related_profiles, #type

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

Creation time as Unix timestamp (In seconds)



9006
9007
9008
# File 'lib/kaltura_types.rb', line 9006

def created_at
  @created_at
end

#idObject

Auto generated numeric identifier



9001
9002
9003
# File 'lib/kaltura_types.rb', line 9001

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



9004
9005
9006
# File 'lib/kaltura_types.rb', line 9004

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9009
9010
9011
# File 'lib/kaltura_types.rb', line 9009

def status
  @status
end

#system_nameObject

Unique system name



9003
9004
9005
# File 'lib/kaltura_types.rb', line 9003

def system_name
  @system_name
end

#updated_atObject

Update time as Unix timestamp (In seconds)



9008
9009
9010
# File 'lib/kaltura_types.rb', line 9008

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



9010
9011
9012
# File 'lib/kaltura_types.rb', line 9010

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
# File 'lib/kaltura_types.rb', line 9031

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['systemName'] != nil
    self.system_name = xml_element.elements['systemName'].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['status'] != nil
    self.status = xml_element.elements['status'].text
  end
  if xml_element.elements['version'] != nil
    self.version = xml_element.elements['version'].text
  end
end