lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-46.1.0 vs lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-47.0.0

- old
+ new

@@ -40,15 +40,13 @@ attr_accessor :context_id # Name of the evaluation form attr_accessor :form_name - # The total evaluation for interactions - attr_accessor :geto_total_score + attr_accessor :o_total_score - # The score for critical evaluation questions - attr_accessor :geto_total_critical_score + attr_accessor :o_total_critical_score # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -66,13 +64,13 @@ :'context_id' => :'contextId', :'form_name' => :'formName', - :'geto_total_score' => :'getoTotalScore', + :'o_total_score' => :'oTotalScore', - :'geto_total_critical_score' => :'getoTotalCriticalScore' + :'o_total_critical_score' => :'oTotalCriticalScore' } end # Attribute type mapping. @@ -93,13 +91,13 @@ :'context_id' => :'String', :'form_name' => :'String', - :'geto_total_score' => :'Integer', + :'o_total_score' => :'Integer', - :'geto_total_critical_score' => :'Integer' + :'o_total_critical_score' => :'Integer' } end # Initializes the object @@ -181,23 +179,23 @@ end - if attributes.has_key?(:'getoTotalScore') + if attributes.has_key?(:'oTotalScore') - self.geto_total_score = attributes[:'getoTotalScore'] + self.o_total_score = attributes[:'oTotalScore'] end - if attributes.has_key?(:'getoTotalCriticalScore') + if attributes.has_key?(:'oTotalCriticalScore') - self.geto_total_critical_score = attributes[:'getoTotalCriticalScore'] + self.o_total_critical_score = attributes[:'oTotalCriticalScore'] end @@ -320,12 +318,12 @@ event_time == o.event_time && queue_id == o.queue_id && form_id == o.form_id && context_id == o.context_id && form_name == o.form_name && - geto_total_score == o.geto_total_score && - geto_total_critical_score == o.geto_total_critical_score + o_total_score == o.o_total_score && + o_total_critical_score == o.o_total_critical_score end # @see the `==` method # @param [Object] Object to be compared def eql?(o) @@ -333,10 +331,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, geto_total_score, geto_total_critical_score].hash + [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, o_total_score, o_total_critical_score].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)