lib/purecloudplatformclientv2/models/queue.rb in purecloudplatformclientv2-43.1.0 vs lib/purecloudplatformclientv2/models/queue.rb in purecloudplatformclientv2-44.0.0

- old
+ new

@@ -81,10 +81,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 :member_count # The URI for this object @@ -136,10 +139,12 @@ :'calling_party_number' => :'callingPartyNumber', :'default_scripts' => :'defaultScripts', + :'outbound_messaging_addresses' => :'outboundMessagingAddresses', + :'outbound_email_address' => :'outboundEmailAddress', :'member_count' => :'memberCount', :'self_uri' => :'selfUri' @@ -193,10 +198,12 @@ :'calling_party_number' => :'String', :'default_scripts' => :'Hash<String, Script>', + :'outbound_messaging_addresses' => :'QueueMessagingAddresses', + :'outbound_email_address' => :'QueueEmailAddress', :'member_count' => :'Integer', :'self_uri' => :'String' @@ -413,10 +420,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'] @@ -580,10 +596,14 @@ + + + + end @@ -726,10 +746,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 && @@ -753,10 +778,11 @@ whisper_prompt == o.whisper_prompt && auto_answer_only == o.auto_answer_only && 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 && member_count == o.member_count && self_uri == o.self_uri end @@ -767,10 +793,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, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_email_address, 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, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, member_count, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)