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.



14919
14920
14921
# File 'lib/kaltura_types.rb', line 14919

def calculated_score
  @calculated_score
end

#feedbackObject

Returns the value of attribute feedback.



14920
14921
14922
# File 'lib/kaltura_types.rb', line 14920

def feedback
  @feedback
end

#scoreObject

Returns the value of attribute score.



14918
14919
14920
# File 'lib/kaltura_types.rb', line 14918

def score
  @score
end

#versionObject

Returns the value of attribute version.



14921
14922
14923
# File 'lib/kaltura_types.rb', line 14921

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
# File 'lib/kaltura_types.rb', line 14933

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