lib/purecloudplatformclientv2/models/queue.rb in purecloudplatformclientv2-96.0.0 vs lib/purecloudplatformclientv2/models/queue.rb in purecloudplatformclientv2-98.0.0
- old
+ new
@@ -66,10 +66,16 @@
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
+ # 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
@@ -121,10 +127,14 @@
:'whisper_prompt' => :'whisperPrompt',
:'auto_answer_only' => :'autoAnswerOnly',
+ :'enable_transcription' => :'enableTranscription',
+
+ :'enable_manual_assignment' => :'enableManualAssignment',
+
:'calling_party_name' => :'callingPartyName',
:'calling_party_number' => :'callingPartyNumber',
:'default_scripts' => :'defaultScripts',
@@ -174,10 +184,14 @@
:'whisper_prompt' => :'DomainEntityRef',
:'auto_answer_only' => :'BOOLEAN',
+ :'enable_transcription' => :'BOOLEAN',
+
+ :'enable_manual_assignment' => :'BOOLEAN',
+
:'calling_party_name' => :'String',
:'calling_party_number' => :'String',
:'default_scripts' => :'Hash<String, Script>',
@@ -355,10 +369,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']
@@ -523,10 +555,18 @@
+
+
+
+
+
+
+
+
end
@@ -650,10 +690,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 &&
@@ -672,10 +722,12 @@
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 &&
+ 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 &&
@@ -689,10 +741,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, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, 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, auto_answer_only, enable_transcription, enable_manual_assignment, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)