lib/purecloud/models/callback_media_participant.rb in purecloud-0.64.1 vs lib/purecloud/models/callback_media_participant.rb in purecloud-0.65.1
- old
+ new
@@ -103,10 +103,13 @@
attr_accessor :skip_enabled
# Duration in seconds before the callback will be auto-dialed.
attr_accessor :timeout_seconds
+ # The id of the config for automatically placing the callback (and handling the disposition). If absent, the callback will not be placed automatically but routed to an agent as per normal.
+ attr_accessor :automated_callback_config_id
+
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :callback_scheduled_time
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -168,10 +171,12 @@
:'skip_enabled' => :'skipEnabled',
:'timeout_seconds' => :'timeoutSeconds',
+ :'automated_callback_config_id' => :'automatedCallbackConfigId',
+
:'callback_scheduled_time' => :'callbackScheduledTime'
}
end
@@ -205,10 +210,11 @@
:'outbound_preview' => :'DialerPreview',
:'callback_numbers' => :'Array<String>',
:'callback_user_name' => :'String',
:'skip_enabled' => :'BOOLEAN',
:'timeout_seconds' => :'Integer',
+ :'automated_callback_config_id' => :'String',
:'callback_scheduled_time' => :'DateTime'
}
end
@@ -263,18 +269,14 @@
self.disconnect_type = attributes[:'disconnectType']
end
if attributes[:'held']
self.held = attributes[:'held']
- else
- self.held = false
end
if attributes[:'wrapupRequired']
self.wrapup_required = attributes[:'wrapupRequired']
- else
- self.wrapup_required = false
end
if attributes[:'wrapupPrompt']
self.wrapup_prompt = attributes[:'wrapupPrompt']
end
@@ -305,12 +307,10 @@
self.wrapup_timeout_ms = attributes[:'wrapupTimeoutMs']
end
if attributes[:'wrapupSkipped']
self.wrapup_skipped = attributes[:'wrapupSkipped']
- else
- self.wrapup_skipped = false
end
if attributes[:'provider']
self.provider = attributes[:'provider']
end
@@ -337,18 +337,20 @@
self.callback_user_name = attributes[:'callbackUserName']
end
if attributes[:'skipEnabled']
self.skip_enabled = attributes[:'skipEnabled']
- else
- self.skip_enabled = false
end
if attributes[:'timeoutSeconds']
self.timeout_seconds = attributes[:'timeoutSeconds']
end
+ if attributes[:'automatedCallbackConfigId']
+ self.automated_callback_config_id = attributes[:'automatedCallbackConfigId']
+ end
+
if attributes[:'callbackScheduledTime']
self.callback_scheduled_time = attributes[:'callbackScheduledTime']
end
end
@@ -411,20 +413,21 @@
outbound_preview == o.outbound_preview &&
callback_numbers == o.callback_numbers &&
callback_user_name == o.callback_user_name &&
skip_enabled == o.skip_enabled &&
timeout_seconds == o.timeout_seconds &&
+ automated_callback_config_id == o.automated_callback_config_id &&
callback_scheduled_time == o.callback_scheduled_time
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time].hash
+ [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, automated_callback_config_id, callback_scheduled_time].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)