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.



9707
9708
9709
# File 'lib/kaltura_types.rb', line 9707

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



9703
9704
9705
# File 'lib/kaltura_types.rb', line 9703

def entry_id
  @entry_id
end

#extended_statusObject

Returns the value of attribute extended_status.



9710
9711
9712
# File 'lib/kaltura_types.rb', line 9710

def extended_status
  @extended_status
end

#idObject

unique auto-generated identifier



9702
9703
9704
# File 'lib/kaltura_types.rb', line 9702

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



9705
9706
9707
# File 'lib/kaltura_types.rb', line 9705

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



9706
9707
9708
# File 'lib/kaltura_types.rb', line 9706

def status
  @status
end

#typeObject

Returns the value of attribute type.



9709
9710
9711
# File 'lib/kaltura_types.rb', line 9709

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



9708
9709
9710
# File 'lib/kaltura_types.rb', line 9708

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



9704
9705
9706
# File 'lib/kaltura_types.rb', line 9704

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
# File 'lib/kaltura_types.rb', line 9725

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