lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-88.0.0 vs lib/purecloudplatformclientv2/models/user_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
@@ -103,10 +106,12 @@
:'member_count' => :'memberCount',
:'media_settings' => :'mediaSettings',
+ :'routing_rules' => :'routingRules',
+
:'bullseye' => :'bullseye',
:'acw_settings' => :'acwSettings',
:'skill_evaluation_method' => :'skillEvaluationMethod',
@@ -154,10 +159,12 @@
:'member_count' => :'Integer',
:'media_settings' => :'Hash<String, MediaSetting>',
+ :'routing_rules' => :'Array<RoutingRule>',
+
:'bullseye' => :'Bullseye',
:'acw_settings' => :'AcwSettings',
:'skill_evaluation_method' => :'String',
@@ -282,10 +289,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']
@@ -457,10 +475,14 @@
+
+
+
+
allowed_values = ["NONE", "BEST", "ALL"]
if @skill_evaluation_method && !allowed_values.include?(@skill_evaluation_method)
return false
end
@@ -564,10 +586,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)
@@ -637,10 +664,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 &&
@@ -660,10 +688,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, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, joined, 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, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, joined, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)