lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-43.1.0 vs lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-44.0.0
- old
+ new
@@ -78,10 +78,13 @@
attr_accessor :calling_party_number
# The default script Ids for the communication types.
attr_accessor :default_scripts
+ # The messaging addresses for the queue.
+ attr_accessor :outbound_messaging_addresses
+
attr_accessor :outbound_email_address
attr_accessor :joined
attr_accessor :member_count
@@ -133,10 +136,12 @@
:'calling_party_number' => :'callingPartyNumber',
:'default_scripts' => :'defaultScripts',
+ :'outbound_messaging_addresses' => :'outboundMessagingAddresses',
+
:'outbound_email_address' => :'outboundEmailAddress',
:'joined' => :'joined',
:'member_count' => :'memberCount',
@@ -190,10 +195,12 @@
:'calling_party_number' => :'String',
:'default_scripts' => :'Hash<String, Script>',
+ :'outbound_messaging_addresses' => :'QueueMessagingAddresses',
+
:'outbound_email_address' => :'QueueEmailAddress',
:'joined' => :'BOOLEAN',
:'member_count' => :'Integer',
@@ -403,10 +410,19 @@
end
+ if attributes.has_key?(:'outboundMessagingAddresses')
+
+
+ self.outbound_messaging_addresses = attributes[:'outboundMessagingAddresses']
+
+
+ end
+
+
if attributes.has_key?(:'outboundEmailAddress')
self.outbound_email_address = attributes[:'outboundEmailAddress']
@@ -579,10 +595,14 @@
+
+
+
+
end
@@ -725,10 +745,15 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
@@ -751,10 +776,11 @@
queue_flow == o.queue_flow &&
whisper_prompt == o.whisper_prompt &&
calling_party_name == o.calling_party_name &&
calling_party_number == o.calling_party_number &&
default_scripts == o.default_scripts &&
+ outbound_messaging_addresses == o.outbound_messaging_addresses &&
outbound_email_address == o.outbound_email_address &&
joined == o.joined &&
member_count == o.member_count &&
self_uri == o.self_uri
end
@@ -766,10 +792,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, division, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, calling_party_name, calling_party_number, default_scripts, outbound_email_address, joined, member_count, self_uri].hash
+ [id, name, division, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, 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, member_count, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)