lib/purecloudplatformclientv2/models/agent_activity.rb in purecloudplatformclientv2-24.0.0 vs lib/purecloudplatformclientv2/models/agent_activity.rb in purecloudplatformclientv2-25.0.0

- old
+ new

@@ -27,10 +27,22 @@ attr_accessor :num_evaluations attr_accessor :average_evaluation_score + attr_accessor :num_critical_evaluations + + attr_accessor :average_critical_score + + attr_accessor :highest_evaluation_score + + attr_accessor :lowest_evaluation_score + + attr_accessor :highest_critical_score + + attr_accessor :lowest_critical_score + attr_accessor :agent_evaluator_activity_list # The URI for this object attr_accessor :self_uri @@ -46,10 +58,22 @@ :'num_evaluations' => :'numEvaluations', :'average_evaluation_score' => :'averageEvaluationScore', + :'num_critical_evaluations' => :'numCriticalEvaluations', + + :'average_critical_score' => :'averageCriticalScore', + + :'highest_evaluation_score' => :'highestEvaluationScore', + + :'lowest_evaluation_score' => :'lowestEvaluationScore', + + :'highest_critical_score' => :'highestCriticalScore', + + :'lowest_critical_score' => :'lowestCriticalScore', + :'agent_evaluator_activity_list' => :'agentEvaluatorActivityList', :'self_uri' => :'selfUri' } @@ -67,10 +91,22 @@ :'num_evaluations' => :'Integer', :'average_evaluation_score' => :'Integer', + :'num_critical_evaluations' => :'Integer', + + :'average_critical_score' => :'Float', + + :'highest_evaluation_score' => :'Float', + + :'lowest_evaluation_score' => :'Float', + + :'highest_critical_score' => :'Float', + + :'lowest_critical_score' => :'Float', + :'agent_evaluator_activity_list' => :'Array<AgentEvaluatorActivity>', :'self_uri' => :'String' } @@ -128,10 +164,64 @@ end + if attributes.has_key?(:'numCriticalEvaluations') + + + self.num_critical_evaluations = attributes[:'numCriticalEvaluations'] + + + end + + + if attributes.has_key?(:'averageCriticalScore') + + + self.average_critical_score = attributes[:'averageCriticalScore'] + + + end + + + if attributes.has_key?(:'highestEvaluationScore') + + + self.highest_evaluation_score = attributes[:'highestEvaluationScore'] + + + end + + + if attributes.has_key?(:'lowestEvaluationScore') + + + self.lowest_evaluation_score = attributes[:'lowestEvaluationScore'] + + + end + + + if attributes.has_key?(:'highestCriticalScore') + + + self.highest_critical_score = attributes[:'highestCriticalScore'] + + + end + + + if attributes.has_key?(:'lowestCriticalScore') + + + self.lowest_critical_score = attributes[:'lowestCriticalScore'] + + + end + + if attributes.has_key?(:'agentEvaluatorActivityList') if (value = attributes[:'agentEvaluatorActivityList']).is_a?(Array) self.agent_evaluator_activity_list = value end @@ -191,10 +281,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + end @@ -229,20 +343,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && name == o.name && agent == o.agent && num_evaluations == o.num_evaluations && average_evaluation_score == o.average_evaluation_score && + num_critical_evaluations == o.num_critical_evaluations && + average_critical_score == o.average_critical_score && + highest_evaluation_score == o.highest_evaluation_score && + lowest_evaluation_score == o.lowest_evaluation_score && + highest_critical_score == o.highest_critical_score && + lowest_critical_score == o.lowest_critical_score && agent_evaluator_activity_list == o.agent_evaluator_activity_list && self_uri == o.self_uri end # @see the `==` method @@ -252,10 +402,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, agent, num_evaluations, average_evaluation_score, agent_evaluator_activity_list, self_uri].hash + [id, name, agent, num_evaluations, average_evaluation_score, num_critical_evaluations, average_critical_score, highest_evaluation_score, lowest_evaluation_score, highest_critical_score, lowest_critical_score, agent_evaluator_activity_list, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)