lib/purecloudplatformclientv2/models/cobrowsesession.rb in purecloudplatformclientv2-52.0.0 vs lib/purecloudplatformclientv2/models/cobrowsesession.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' @@ -43,10 +43,13 @@ attr_accessor :viewer_url # The time when the provider event which triggered this conversation update happened in the corrected provider clock (milliseconds since 1970-01-01 00:00:00 UTC). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :provider_event_time + # 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 @@ -80,10 +83,12 @@ :'viewer_url' => :'viewerUrl', :'provider_event_time' => :'providerEventTime', + :'start_alerting_time' => :'startAlertingTime', + :'connected_time' => :'connectedTime', :'disconnected_time' => :'disconnectedTime', :'provider' => :'provider', @@ -115,10 +120,12 @@ :'viewer_url' => :'String', :'provider_event_time' => :'DateTime', + :'start_alerting_time' => :'DateTime', + :'connected_time' => :'DateTime', :'disconnected_time' => :'DateTime', :'provider' => :'String', @@ -220,10 +227,19 @@ end + if attributes.has_key?(:'startAlertingTime') + + + self.start_alerting_time = attributes[:'startAlertingTime'] + + + end + + if attributes.has_key?(:'connectedTime') self.connected_time = attributes[:'connectedTime'] @@ -348,10 +364,14 @@ + + + + end # Custom attribute writer method checking allowed values (enum). @@ -439,10 +459,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 && @@ -453,10 +478,11 @@ cobrowse_session_id == o.cobrowse_session_id && cobrowse_role == o.cobrowse_role && controlling == o.controlling && viewer_url == o.viewer_url && provider_event_time == o.provider_event_time && + start_alerting_time == o.start_alerting_time && connected_time == o.connected_time && disconnected_time == o.disconnected_time && provider == o.provider && peer_id == o.peer_id && segments == o.segments @@ -469,10 +495,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [state, id, disconnect_type, _self, cobrowse_session_id, cobrowse_role, controlling, viewer_url, provider_event_time, connected_time, disconnected_time, provider, peer_id, segments].hash + [state, id, disconnect_type, _self, cobrowse_session_id, cobrowse_role, controlling, viewer_url, provider_event_time, start_alerting_time, connected_time, disconnected_time, provider, peer_id, segments].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)