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.



9792
9793
9794
# File 'lib/kaltura_types.rb', line 9792

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



9788
9789
9790
# File 'lib/kaltura_types.rb', line 9788

def entry_id
  @entry_id
end

#extended_statusObject

Returns the value of attribute extended_status.



9795
9796
9797
# File 'lib/kaltura_types.rb', line 9795

def extended_status
  @extended_status
end

#idObject

unique auto-generated identifier



9787
9788
9789
# File 'lib/kaltura_types.rb', line 9787

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



9790
9791
9792
# File 'lib/kaltura_types.rb', line 9790

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9791
9792
9793
# File 'lib/kaltura_types.rb', line 9791

def status
  @status
end

#typeObject

Returns the value of attribute type.



9794
9795
9796
# File 'lib/kaltura_types.rb', line 9794

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9793
9794
9795
# File 'lib/kaltura_types.rb', line 9793

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



9789
9790
9791
# File 'lib/kaltura_types.rb', line 9789

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
# File 'lib/kaltura_types.rb', line 9810

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