lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-64.0.1 vs lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-65.0.0
- old
+ new
@@ -43,14 +43,14 @@
attr_accessor :form_name
# The calibration id used for the purpose of training evaluators
attr_accessor :calibration_id
- attr_accessor :o_total_score
-
attr_accessor :o_total_critical_score
+ attr_accessor :o_total_score
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'evaluation_id' => :'evaluationId',
@@ -69,13 +69,13 @@
:'form_name' => :'formName',
:'calibration_id' => :'calibrationId',
- :'o_total_score' => :'oTotalScore',
+ :'o_total_critical_score' => :'oTotalCriticalScore',
- :'o_total_critical_score' => :'oTotalCriticalScore'
+ :'o_total_score' => :'oTotalScore'
}
end
# Attribute type mapping.
@@ -98,13 +98,13 @@
:'form_name' => :'String',
:'calibration_id' => :'String',
- :'o_total_score' => :'Integer',
+ :'o_total_critical_score' => :'Integer',
- :'o_total_critical_score' => :'Integer'
+ :'o_total_score' => :'Integer'
}
end
# Initializes the object
@@ -195,23 +195,23 @@
end
- if attributes.has_key?(:'oTotalScore')
+ if attributes.has_key?(:'oTotalCriticalScore')
- self.o_total_score = attributes[:'oTotalScore']
+ self.o_total_critical_score = attributes[:'oTotalCriticalScore']
end
- if attributes.has_key?(:'oTotalCriticalScore')
+ if attributes.has_key?(:'oTotalScore')
- self.o_total_critical_score = attributes[:'oTotalCriticalScore']
+ self.o_total_score = attributes[:'oTotalScore']
end
@@ -344,12 +344,12 @@
queue_id == o.queue_id &&
form_id == o.form_id &&
context_id == o.context_id &&
form_name == o.form_name &&
calibration_id == o.calibration_id &&
- o_total_score == o.o_total_score &&
- o_total_critical_score == o.o_total_critical_score
+ o_total_critical_score == o.o_total_critical_score &&
+ o_total_score == o.o_total_score
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -357,10 +357,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, o_total_score, o_total_critical_score].hash
+ [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, o_total_critical_score, o_total_score].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)