lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-96.0.0 vs lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-98.0.0

- old
+ new

@@ -63,10 +63,16 @@ attr_accessor :queue_flow # The prompt used for whisper on the queue, if configured. attr_accessor :whisper_prompt + # Indicates whether voice transcription is enabled for this queue. + attr_accessor :enable_transcription + + # Indicates whether manual assignment is enabled for this queue. + attr_accessor :enable_manual_assignment + # 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 @@ -118,10 +124,14 @@ :'queue_flow' => :'queueFlow', :'whisper_prompt' => :'whisperPrompt', + :'enable_transcription' => :'enableTranscription', + + :'enable_manual_assignment' => :'enableManualAssignment', + :'calling_party_name' => :'callingPartyName', :'calling_party_number' => :'callingPartyNumber', :'default_scripts' => :'defaultScripts', @@ -171,10 +181,14 @@ :'queue_flow' => :'DomainEntityRef', :'whisper_prompt' => :'DomainEntityRef', + :'enable_transcription' => :'BOOLEAN', + + :'enable_manual_assignment' => :'BOOLEAN', + :'calling_party_name' => :'String', :'calling_party_number' => :'String', :'default_scripts' => :'Hash<String, Script>', @@ -345,10 +359,28 @@ end + if attributes.has_key?(:'enableTranscription') + + + self.enable_transcription = attributes[:'enableTranscription'] + + + end + + + if attributes.has_key?(:'enableManualAssignment') + + + self.enable_manual_assignment = attributes[:'enableManualAssignment'] + + + end + + if attributes.has_key?(:'callingPartyName') self.calling_party_name = attributes[:'callingPartyName'] @@ -522,10 +554,18 @@ + + + + + + + + end @@ -649,10 +689,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 && @@ -670,10 +720,12 @@ 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 && + enable_transcription == o.enable_transcription && + enable_manual_assignment == o.enable_manual_assignment && 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 && @@ -688,10 +740,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, routing_rules, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, joined, self_uri].hash + [id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, routing_rules, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, enable_transcription, enable_manual_assignment, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, joined, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)