lib/purecloud/models/user_queue.rb in purecloud-0.57.1 vs lib/purecloud/models/user_queue.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 + attr_accessor :joined attr_accessor :member_count # The URI for this object @@ -109,10 +111,12 @@ :'calling_party_name' => :'callingPartyName', :'calling_party_number' => :'callingPartyNumber', + :'outbound_email_address' => :'outboundEmailAddress', + :'joined' => :'joined', :'member_count' => :'memberCount', :'self_uri' => :'selfUri' @@ -139,10 +143,11 @@ :'acw_settings' => :'AcwSettings', :'skill_evaluation_method' => :'String', :'queue_flow' => :'UriReference', :'calling_party_name' => :'String', :'calling_party_number' => :'String', + :'outbound_email_address' => :'QueueEmailAddress', :'joined' => :'BOOLEAN', :'member_count' => :'Integer', :'self_uri' => :'String' } @@ -227,10 +232,14 @@ if attributes[:'callingPartyNumber'] self.calling_party_number = attributes[:'callingPartyNumber'] end + if attributes[:'outboundEmailAddress'] + self.outbound_email_address = attributes[:'outboundEmailAddress'] + end + if attributes[:'joined'] self.joined = attributes[:'joined'] else self.joined = false end @@ -283,10 +292,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 && joined == o.joined && member_count == o.member_count && self_uri == o.self_uri end @@ -295,10 +305,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, joined, 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, joined, member_count, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)