lib/purecloud/models/callback_media_participant.rb in purecloud-0.40.1 vs lib/purecloud/models/callback_media_participant.rb in purecloud-0.41.1
- old
+ new
@@ -89,10 +89,13 @@
attr_accessor :skip_enabled
attr_accessor :timeout_seconds
+ # 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
{
:'id' => :'id',
@@ -143,12 +146,14 @@
:'callback_user_name' => :'callbackUserName',
:'skip_enabled' => :'skipEnabled',
- :'timeout_seconds' => :'timeoutSeconds'
+ :'timeout_seconds' => :'timeoutSeconds',
+ :'callback_scheduled_time' => :'callbackScheduledTime'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -176,11 +181,12 @@
:'wrapup_skipped' => :'BOOLEAN',
:'outbound_preview' => :'DialerPreview',
:'callback_numbers' => :'Array<String>',
:'callback_user_name' => :'String',
:'skip_enabled' => :'BOOLEAN',
- :'timeout_seconds' => :'Integer'
+ :'timeout_seconds' => :'Integer',
+ :'callback_scheduled_time' => :'DateTime'
}
end
def initialize(attributes = {})
@@ -304,10 +310,14 @@
if attributes[:'timeoutSeconds']
self.timeout_seconds = attributes[:'timeoutSeconds']
end
+ if attributes[:'callbackScheduledTime']
+ self.callback_scheduled_time = attributes[:'callbackScheduledTime']
+ end
+
end
# Custom attribute writer method checking allowed values (enum).
def state=(state)
allowed_values = ["ALERTING", "DIALING", "CONTACTING", "OFFERING", "CONNECTED", "DISCONNECTED", "TERMINATED", "CONVERTING", "UPLOADING", "TRANSMITTING", "NONE"]
@@ -362,20 +372,21 @@
wrapup_skipped == o.wrapup_skipped &&
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
+ timeout_seconds == o.timeout_seconds &&
+ 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, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds].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, outbound_preview, callback_numbers, callback_user_name, skip_enabled, timeout_seconds, callback_scheduled_time].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)