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.



13993
13994
13995
# File 'lib/kaltura_types.rb', line 13993

def calculated_score
  @calculated_score
end

#feedbackObject

Returns the value of attribute feedback.



13994
13995
13996
# File 'lib/kaltura_types.rb', line 13994

def feedback
  @feedback
end

#scoreObject

Returns the value of attribute score.



13992
13993
13994
# File 'lib/kaltura_types.rb', line 13992

def score
  @score
end

#versionObject

Returns the value of attribute version.



13995
13996
13997
# File 'lib/kaltura_types.rb', line 13995

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
# File 'lib/kaltura_types.rb', line 14007

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