lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-87.0.0 vs lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-88.0.0

- old
+ new

@@ -49,14 +49,14 @@ attr_accessor :rescored # Whether this evaluation has been deleted attr_accessor :deleted - 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', @@ -79,13 +79,13 @@ :'rescored' => :'rescored', :'deleted' => :'deleted', - :'o_total_score' => :'oTotalScore', + :'o_total_critical_score' => :'oTotalCriticalScore', - :'o_total_critical_score' => :'oTotalCriticalScore' + :'o_total_score' => :'oTotalScore' } end # Attribute type mapping. @@ -112,13 +112,13 @@ :'rescored' => :'BOOLEAN', :'deleted' => :'BOOLEAN', - :'o_total_score' => :'Integer', + :'o_total_critical_score' => :'Integer', - :'o_total_critical_score' => :'Integer' + :'o_total_score' => :'Integer' } end # Initializes the object @@ -227,23 +227,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 @@ -396,12 +396,12 @@ context_id == o.context_id && form_name == o.form_name && calibration_id == o.calibration_id && rescored == o.rescored && deleted == o.deleted && - 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) @@ -409,10 +409,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, rescored, deleted, 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, rescored, deleted, 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)