lib/purecloudplatformclientv2/models/queue.rb in purecloudplatformclientv2-88.0.0 vs lib/purecloudplatformclientv2/models/queue.rb in purecloudplatformclientv2-89.0.0

- old
+ new

@@ -45,10 +45,13 @@ attr_accessor :member_count # The media settings for the queue. Valid key values: CALL, CALLBACK, CHAT, EMAIL, MESSAGE, SOCIAL_EXPRESSION, VIDEO_COMM attr_accessor :media_settings + # The routing rules for the queue, used for routing to known or preferred agents. + attr_accessor :routing_rules + # The bulls-eye settings for the queue. attr_accessor :bullseye # The ACW settings for the queue. attr_accessor :acw_settings @@ -104,10 +107,12 @@ :'member_count' => :'memberCount', :'media_settings' => :'mediaSettings', + :'routing_rules' => :'routingRules', + :'bullseye' => :'bullseye', :'acw_settings' => :'acwSettings', :'skill_evaluation_method' => :'skillEvaluationMethod', @@ -155,10 +160,12 @@ :'member_count' => :'Integer', :'media_settings' => :'Hash<String, MediaSetting>', + :'routing_rules' => :'Array<RoutingRule>', + :'bullseye' => :'Bullseye', :'acw_settings' => :'AcwSettings', :'skill_evaluation_method' => :'String', @@ -283,10 +290,21 @@ end + if attributes.has_key?(:'routingRules') + + if (value = attributes[:'routingRules']).is_a?(Array) + self.routing_rules = value + end + + + + end + + if attributes.has_key?(:'bullseye') self.bullseye = attributes[:'bullseye'] @@ -458,10 +476,14 @@ + + + + allowed_values = ["NONE", "BEST", "ALL"] if @skill_evaluation_method && !allowed_values.include?(@skill_evaluation_method) return false end @@ -565,10 +587,15 @@ + + + + + # Custom attribute writer method checking allowed values (enum). # @param [Object] skill_evaluation_method Object to be assigned def skill_evaluation_method=(skill_evaluation_method) allowed_values = ["NONE", "BEST", "ALL"] if skill_evaluation_method && !allowed_values.include?(skill_evaluation_method) @@ -638,10 +665,11 @@ date_modified == o.date_modified && modified_by == o.modified_by && created_by == o.created_by && member_count == o.member_count && media_settings == o.media_settings && + routing_rules == o.routing_rules && bullseye == o.bullseye && acw_settings == o.acw_settings && skill_evaluation_method == o.skill_evaluation_method && queue_flow == o.queue_flow && whisper_prompt == o.whisper_prompt && @@ -661,10 +689,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash + [id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, routing_rules, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)