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.



10224
10225
10226
# File 'lib/kaltura_types.rb', line 10224

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



10220
10221
10222
# File 'lib/kaltura_types.rb', line 10220

def entry_id
  @entry_id
end

#extended_statusObject

Returns the value of attribute extended_status.



10227
10228
10229
# File 'lib/kaltura_types.rb', line 10227

def extended_status
  @extended_status
end

#idObject

unique auto-generated identifier



10219
10220
10221
# File 'lib/kaltura_types.rb', line 10219

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



10222
10223
10224
# File 'lib/kaltura_types.rb', line 10222

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



10223
10224
10225
# File 'lib/kaltura_types.rb', line 10223

def status
  @status
end

#typeObject

Returns the value of attribute type.



10226
10227
10228
# File 'lib/kaltura_types.rb', line 10226

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



10225
10226
10227
# File 'lib/kaltura_types.rb', line 10225

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



10221
10222
10223
# File 'lib/kaltura_types.rb', line 10221

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
# File 'lib/kaltura_types.rb', line 10242

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