lib/purecloudplatformclientv2/models/callback.rb in purecloudplatformclientv2-52.0.0 vs lib/purecloudplatformclientv2/models/callback.rb in purecloudplatformclientv2-53.0.0
- old
+ new
@@ -5,14 +5,14 @@
OpenAPI spec version: v2
Contact: DeveloperEvangelists@genesys.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
-License: ININ
-http://www.inin.com
+License: UNLICENSED
+https://help.mypurecloud.com/articles/terms-and-conditions/
-Terms of Service: https://developer.mypurecloud.com/tos
+Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
=end
require 'date'
@@ -58,10 +58,13 @@
attr_accessor :skip_enabled
# The number of seconds before the system automatically places a call for a callback. 0 means the automatic placement is disabled.
attr_accessor :timeout_seconds
+ # The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
+ attr_accessor :start_alerting_time
+
# The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :connected_time
# The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :disconnected_time
@@ -108,10 +111,12 @@
:'skip_enabled' => :'skipEnabled',
:'timeout_seconds' => :'timeoutSeconds',
+ :'start_alerting_time' => :'startAlertingTime',
+
:'connected_time' => :'connectedTime',
:'disconnected_time' => :'disconnectedTime',
:'callback_scheduled_time' => :'callbackScheduledTime',
@@ -155,10 +160,12 @@
:'skip_enabled' => :'BOOLEAN',
:'timeout_seconds' => :'Integer',
+ :'start_alerting_time' => :'DateTime',
+
:'connected_time' => :'DateTime',
:'disconnected_time' => :'DateTime',
:'callback_scheduled_time' => :'DateTime',
@@ -309,10 +316,19 @@
end
+ if attributes.has_key?(:'startAlertingTime')
+
+
+ self.start_alerting_time = attributes[:'startAlertingTime']
+
+
+ end
+
+
if attributes.has_key?(:'connectedTime')
self.connected_time = attributes[:'connectedTime']
@@ -473,10 +489,14 @@
+
+
+
+
end
# Custom attribute writer method checking allowed values (enum).
@@ -603,10 +623,15 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
@@ -622,10 +647,11 @@
callback_numbers == o.callback_numbers &&
callback_user_name == o.callback_user_name &&
script_id == o.script_id &&
skip_enabled == o.skip_enabled &&
timeout_seconds == o.timeout_seconds &&
+ start_alerting_time == o.start_alerting_time &&
connected_time == o.connected_time &&
disconnected_time == o.disconnected_time &&
callback_scheduled_time == o.callback_scheduled_time &&
automated_callback_config_id == o.automated_callback_config_id &&
provider == o.provider &&
@@ -639,10 +665,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [state, id, segments, direction, held, disconnect_type, start_hold_time, dialer_preview, voicemail, callback_numbers, callback_user_name, script_id, skip_enabled, timeout_seconds, connected_time, disconnected_time, callback_scheduled_time, automated_callback_config_id, provider, peer_id].hash
+ [state, id, segments, direction, held, disconnect_type, start_hold_time, dialer_preview, voicemail, callback_numbers, callback_user_name, script_id, skip_enabled, timeout_seconds, start_alerting_time, connected_time, disconnected_time, callback_scheduled_time, automated_callback_config_id, provider, peer_id].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)