lib/purecloud/models/create_queue_request.rb in purecloud-0.57.1 vs lib/purecloud/models/create_queue_request.rb in purecloud-0.58.1

- old
+ new

@@ -62,10 +62,12 @@ attr_accessor :calling_party_name # The phone number to use for caller identification for outbound calls from this queue. attr_accessor :calling_party_number + attr_accessor :outbound_email_address + # The id of an existing queue to copy the settings from when creating a new queue. attr_accessor :source_queue_id attr_accessor :member_count @@ -110,10 +112,12 @@ :'calling_party_name' => :'callingPartyName', :'calling_party_number' => :'callingPartyNumber', + :'outbound_email_address' => :'outboundEmailAddress', + :'source_queue_id' => :'sourceQueueId', :'member_count' => :'memberCount', :'self_uri' => :'selfUri' @@ -140,10 +144,11 @@ :'acw_settings' => :'AcwSettings', :'skill_evaluation_method' => :'String', :'queue_flow' => :'UriReference', :'calling_party_name' => :'String', :'calling_party_number' => :'String', + :'outbound_email_address' => :'QueueEmailAddress', :'source_queue_id' => :'String', :'member_count' => :'Integer', :'self_uri' => :'String' } @@ -228,10 +233,14 @@ if attributes[:'callingPartyNumber'] self.calling_party_number = attributes[:'callingPartyNumber'] end + if attributes[:'outboundEmailAddress'] + self.outbound_email_address = attributes[:'outboundEmailAddress'] + end + if attributes[:'sourceQueueId'] self.source_queue_id = attributes[:'sourceQueueId'] end if attributes[:'memberCount'] @@ -282,10 +291,11 @@ acw_settings == o.acw_settings && skill_evaluation_method == o.skill_evaluation_method && queue_flow == o.queue_flow && calling_party_name == o.calling_party_name && calling_party_number == o.calling_party_number && + outbound_email_address == o.outbound_email_address && source_queue_id == o.source_queue_id && member_count == o.member_count && self_uri == o.self_uri end @@ -294,10 +304,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [id, name, 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, calling_party_name, calling_party_number, source_queue_id, member_count, self_uri].hash + [id, name, 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, calling_party_name, calling_party_number, outbound_email_address, source_queue_id, member_count, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)