Class: Kaltura::KalturaQuizUserEntry

Inherits:
KalturaUserEntry show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaUserEntry

#created_at, #entry_id, #extended_status, #id, #partner_id, #status, #type, #updated_at, #user_id

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#calculated_scoreObject

Returns the value of attribute calculated_score.



14340
14341
14342
# File 'lib/kaltura_types.rb', line 14340

def calculated_score
  @calculated_score
end

#feedbackObject

Returns the value of attribute feedback.



14341
14342
14343
# File 'lib/kaltura_types.rb', line 14341

def feedback
  @feedback
end

#scoreObject

Returns the value of attribute score.



14339
14340
14341
# File 'lib/kaltura_types.rb', line 14339

def score
  @score
end

#versionObject

Returns the value of attribute version.



14342
14343
14344
# File 'lib/kaltura_types.rb', line 14342

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
# File 'lib/kaltura_types.rb', line 14354

def from_xml(xml_element)
  super
  if xml_element.elements['score'] != nil
    self.score = xml_element.elements['score'].text
  end
  if xml_element.elements['calculatedScore'] != nil
    self.calculated_score = xml_element.elements['calculatedScore'].text
  end
  if xml_element.elements['feedback'] != nil
    self.feedback = xml_element.elements['feedback'].text
  end
  if xml_element.elements['version'] != nil
    self.version = xml_element.elements['version'].text
  end
end