lib/purecloudplatformclientv2/models/call.rb in purecloudplatformclientv2-52.0.0 vs lib/purecloudplatformclientv2/models/call.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'
@@ -57,10 +57,13 @@
attr_accessor :start_hold_time
# If call is an outbound fax of a document from content management, then this is the id in content management.
attr_accessor :document_id
+ # 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
@@ -119,10 +122,12 @@
:'start_hold_time' => :'startHoldTime',
:'document_id' => :'documentId',
+ :'start_alerting_time' => :'startAlertingTime',
+
:'connected_time' => :'connectedTime',
:'disconnected_time' => :'disconnectedTime',
:'disconnect_reasons' => :'disconnectReasons',
@@ -174,10 +179,12 @@
:'start_hold_time' => :'DateTime',
:'document_id' => :'String',
+ :'start_alerting_time' => :'DateTime',
+
:'connected_time' => :'DateTime',
:'disconnected_time' => :'DateTime',
:'disconnect_reasons' => :'Array<DisconnectReason>',
@@ -334,10 +341,19 @@
end
+ if attributes.has_key?(:'startAlertingTime')
+
+
+ self.start_alerting_time = attributes[:'startAlertingTime']
+
+
+ end
+
+
if attributes.has_key?(:'connectedTime')
self.connected_time = attributes[:'connectedTime']
@@ -557,10 +573,14 @@
+
+
+
+
end
# Custom attribute writer method checking allowed values (enum).
@@ -716,10 +736,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 &&
@@ -735,10 +760,11 @@
segments == o.segments &&
error_info == o.error_info &&
disconnect_type == o.disconnect_type &&
start_hold_time == o.start_hold_time &&
document_id == o.document_id &&
+ start_alerting_time == o.start_alerting_time &&
connected_time == o.connected_time &&
disconnected_time == o.disconnected_time &&
disconnect_reasons == o.disconnect_reasons &&
fax_status == o.fax_status &&
provider == o.provider &&
@@ -756,10 +782,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other].hash
+ [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, start_alerting_time, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)