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.



14486
14487
14488
# File 'lib/kaltura_types.rb', line 14486

def calculated_score
  @calculated_score
end

#feedbackObject

Returns the value of attribute feedback.



14487
14488
14489
# File 'lib/kaltura_types.rb', line 14487

def feedback
  @feedback
end

#scoreObject

Returns the value of attribute score.



14485
14486
14487
# File 'lib/kaltura_types.rb', line 14485

def score
  @score
end

#versionObject

Returns the value of attribute version.



14488
14489
14490
# File 'lib/kaltura_types.rb', line 14488

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
# File 'lib/kaltura_types.rb', line 14500

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