lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-39.1.0 vs lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-40.0.0

- old
+ new

@@ -69,13 +69,10 @@ attr_accessor :queue_flow # The prompt used for whisper on the queue, if configured. attr_accessor :whisper_prompt - # Specifies whether the configured whisper should play for all ACD calls, or only for those which are auto-answered. - attr_accessor :auto_answer_only - # The name to use for caller identification for outbound calls from this queue. attr_accessor :calling_party_name # The phone number to use for caller identification for outbound calls from this queue. attr_accessor :calling_party_number @@ -130,12 +127,10 @@ :'queue_flow' => :'queueFlow', :'whisper_prompt' => :'whisperPrompt', - :'auto_answer_only' => :'autoAnswerOnly', - :'calling_party_name' => :'callingPartyName', :'calling_party_number' => :'callingPartyNumber', :'default_scripts' => :'defaultScripts', @@ -189,12 +184,10 @@ :'queue_flow' => :'UriReference', :'whisper_prompt' => :'UriReference', - :'auto_answer_only' => :'BOOLEAN', - :'calling_party_name' => :'String', :'calling_party_number' => :'String', :'default_scripts' => :'Hash<String, Script>', @@ -381,19 +374,10 @@ end - if attributes.has_key?(:'autoAnswerOnly') - - - self.auto_answer_only = attributes[:'autoAnswerOnly'] - - - end - - if attributes.has_key?(:'callingPartyName') self.calling_party_name = attributes[:'callingPartyName'] @@ -595,14 +579,10 @@ - - - - end @@ -745,15 +725,10 @@ - - - - - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -773,11 +748,10 @@ 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 && - 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_email_address == o.outbound_email_address && joined == o.joined && @@ -792,10 +766,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, 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_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)