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.



9949
9950
9951
# File 'lib/kaltura_types.rb', line 9949

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



9945
9946
9947
# File 'lib/kaltura_types.rb', line 9945

def entry_id
  @entry_id
end

#extended_statusObject

Returns the value of attribute extended_status.



9952
9953
9954
# File 'lib/kaltura_types.rb', line 9952

def extended_status
  @extended_status
end

#idObject

unique auto-generated identifier



9944
9945
9946
# File 'lib/kaltura_types.rb', line 9944

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



9947
9948
9949
# File 'lib/kaltura_types.rb', line 9947

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9948
9949
9950
# File 'lib/kaltura_types.rb', line 9948

def status
  @status
end

#typeObject

Returns the value of attribute type.



9951
9952
9953
# File 'lib/kaltura_types.rb', line 9951

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9950
9951
9952
# File 'lib/kaltura_types.rb', line 9950

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



9946
9947
9948
# File 'lib/kaltura_types.rb', line 9946

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
# File 'lib/kaltura_types.rb', line 9967

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