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.



10120
10121
10122
# File 'lib/kaltura_types.rb', line 10120

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



10116
10117
10118
# File 'lib/kaltura_types.rb', line 10116

def entry_id
  @entry_id
end

#extended_statusObject

Returns the value of attribute extended_status.



10123
10124
10125
# File 'lib/kaltura_types.rb', line 10123

def extended_status
  @extended_status
end

#idObject

unique auto-generated identifier



10115
10116
10117
# File 'lib/kaltura_types.rb', line 10115

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



10118
10119
10120
# File 'lib/kaltura_types.rb', line 10118

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



10119
10120
10121
# File 'lib/kaltura_types.rb', line 10119

def status
  @status
end

#typeObject

Returns the value of attribute type.



10122
10123
10124
# File 'lib/kaltura_types.rb', line 10122

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



10121
10122
10123
# File 'lib/kaltura_types.rb', line 10121

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



10117
10118
10119
# File 'lib/kaltura_types.rb', line 10117

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
# File 'lib/kaltura_types.rb', line 10138

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