lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-65.0.0 vs lib/purecloudplatformclientv2/models/analytics_evaluation.rb in purecloudplatformclientv2-66.0.0

- old
+ new

@@ -43,14 +43,20 @@ attr_accessor :form_name # The calibration id used for the purpose of training evaluators attr_accessor :calibration_id - attr_accessor :o_total_critical_score + # Whether this evaluation has ever been rescored + attr_accessor :rescored + # Whether this evaluation has been deleted + attr_accessor :deleted + attr_accessor :o_total_score + attr_accessor :o_total_critical_score + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'evaluation_id' => :'evaluationId', @@ -69,14 +75,18 @@ :'form_name' => :'formName', :'calibration_id' => :'calibrationId', - :'o_total_critical_score' => :'oTotalCriticalScore', + :'rescored' => :'rescored', - :'o_total_score' => :'oTotalScore' + :'deleted' => :'deleted', + :'o_total_score' => :'oTotalScore', + + :'o_total_critical_score' => :'oTotalCriticalScore' + } end # Attribute type mapping. def self.swagger_types @@ -98,14 +108,18 @@ :'form_name' => :'String', :'calibration_id' => :'String', - :'o_total_critical_score' => :'Integer', + :'rescored' => :'BOOLEAN', - :'o_total_score' => :'Integer' + :'deleted' => :'BOOLEAN', + :'o_total_score' => :'Integer', + + :'o_total_critical_score' => :'Integer' + } end # Initializes the object # @param [Hash] attributes Model attributes in the form of hash @@ -195,28 +209,46 @@ end - if attributes.has_key?(:'oTotalCriticalScore') + if attributes.has_key?(:'rescored') - self.o_total_critical_score = attributes[:'oTotalCriticalScore'] + self.rescored = attributes[:'rescored'] end + if attributes.has_key?(:'deleted') + + + self.deleted = attributes[:'deleted'] + + + end + + if attributes.has_key?(:'oTotalScore') self.o_total_score = attributes[:'oTotalScore'] end + if attributes.has_key?(:'oTotalCriticalScore') + + + self.o_total_critical_score = attributes[:'oTotalCriticalScore'] + + + end + + end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properies with the reasons def list_invalid_properties @@ -272,10 +304,18 @@ + + + + + + + + end @@ -330,10 +370,20 @@ + + + + + + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -344,12 +394,14 @@ 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_critical_score == o.o_total_critical_score && - o_total_score == o.o_total_score + rescored == o.rescored && + deleted == o.deleted && + 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) @@ -357,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, o_total_critical_score, o_total_score].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 end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)