Class: Kaltura::KalturaUserEntry

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.



10028
10029
10030
# File 'lib/kaltura_types.rb', line 10028

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



10024
10025
10026
# File 'lib/kaltura_types.rb', line 10024

def entry_id
  @entry_id
end

#extended_statusObject

Returns the value of attribute extended_status.



10031
10032
10033
# File 'lib/kaltura_types.rb', line 10031

def extended_status
  @extended_status
end

#idObject

unique auto-generated identifier



10023
10024
10025
# File 'lib/kaltura_types.rb', line 10023

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



10026
10027
10028
# File 'lib/kaltura_types.rb', line 10026

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



10027
10028
10029
# File 'lib/kaltura_types.rb', line 10027

def status
  @status
end

#typeObject

Returns the value of attribute type.



10030
10031
10032
# File 'lib/kaltura_types.rb', line 10030

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



10029
10030
10031
# File 'lib/kaltura_types.rb', line 10029

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



10025
10026
10027
# File 'lib/kaltura_types.rb', line 10025

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
# File 'lib/kaltura_types.rb', line 10046

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['entryId'] != nil
    self.entry_id = xml_element.elements['entryId'].text
  end
  if xml_element.elements['userId'] != nil
    self.user_id = xml_element.elements['userId'].text
  end
  if xml_element.elements['partnerId'] != nil
    self.partner_id = xml_element.elements['partnerId'].text
  end
  if xml_element.elements['status'] != nil
    self.status = xml_element.elements['status'].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['type'] != nil
    self.type = xml_element.elements['type'].text
  end
  if xml_element.elements['extendedStatus'] != nil
    self.extended_status = xml_element.elements['extendedStatus'].text
  end
end