lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-20.0.0 vs lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-21.0.0

- old
+ new

@@ -63,10 +63,16 @@ attr_accessor :skill_evaluation_method # The in-queue flow to use for conversations waiting in queue. attr_accessor :queue_flow + # The prompt used for whisper audio on the queue, if configured. + attr_accessor :whisper + + # Specifies whether the configured whisper audio 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 @@ -117,10 +123,14 @@ :'skill_evaluation_method' => :'skillEvaluationMethod', :'queue_flow' => :'queueFlow', + :'whisper' => :'whisper', + + :'auto_answer_only' => :'autoAnswerOnly', + :'calling_party_name' => :'callingPartyName', :'calling_party_number' => :'callingPartyNumber', :'default_scripts' => :'defaultScripts', @@ -170,10 +180,14 @@ :'skill_evaluation_method' => :'String', :'queue_flow' => :'UriReference', + :'whisper' => :'UriReference', + + :'auto_answer_only' => :'BOOLEAN', + :'calling_party_name' => :'String', :'calling_party_number' => :'String', :'default_scripts' => :'Hash<String, Script>', @@ -342,10 +356,28 @@ end + if attributes.has_key?(:'whisper') + + + self.whisper = attributes[:'whisper'] + + + end + + + if attributes.has_key?(:'autoAnswerOnly') + + + self.auto_answer_only = attributes[:'autoAnswerOnly'] + + + end + + if attributes.has_key?(:'callingPartyName') self.calling_party_name = attributes[:'callingPartyName'] @@ -539,10 +571,18 @@ + + + + + + + + end @@ -675,10 +715,20 @@ + + + + + + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -696,10 +746,12 @@ media_settings == o.media_settings && bullseye == o.bullseye && acw_settings == o.acw_settings && skill_evaluation_method == o.skill_evaluation_method && queue_flow == o.queue_flow && + whisper == o.whisper && + 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 && @@ -714,10 +766,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code 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, default_scripts, outbound_email_address, 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, whisper, auto_answer_only, 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)