lib/purecloudplatformclientv2/models/cobrowsesession.rb in purecloudplatformclientv2-93.0.0 vs lib/purecloudplatformclientv2/models/cobrowsesession.rb in purecloudplatformclientv2-94.0.0

- old
+ new

@@ -64,10 +64,13 @@ attr_accessor :segments # Call wrap up or disposition data. attr_accessor :wrapup + # After-call work for the communication. + attr_accessor :after_call_work + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'state' => :'state', @@ -98,12 +101,14 @@ :'peer_id' => :'peerId', :'segments' => :'segments', - :'wrapup' => :'wrapup' + :'wrapup' => :'wrapup', + :'after_call_work' => :'afterCallWork' + } end # Attribute type mapping. def self.swagger_types @@ -137,12 +142,14 @@ :'peer_id' => :'String', :'segments' => :'Array<Segment>', - :'wrapup' => :'Wrapup' + :'wrapup' => :'Wrapup', + :'after_call_work' => :'AfterCallWork' + } end # Initializes the object # @param [Hash] attributes Model attributes in the form of hash @@ -299,10 +306,19 @@ end + if attributes.has_key?(:'afterCallWork') + + + self.after_call_work = attributes[:'afterCallWork'] + + + end + + end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properies with the reasons def list_invalid_properties @@ -388,10 +404,14 @@ + + + + end # Custom attribute writer method checking allowed values (enum). @@ -489,10 +509,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 && @@ -509,11 +534,12 @@ connected_time == o.connected_time && disconnected_time == o.disconnected_time && provider == o.provider && peer_id == o.peer_id && segments == o.segments && - wrapup == o.wrapup + wrapup == o.wrapup && + after_call_work == o.after_call_work end # @see the `==` method # @param [Object] Object to be compared def eql?(o) @@ -521,10 +547,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, start_alerting_time, connected_time, disconnected_time, provider, peer_id, segments, wrapup].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, wrapup, after_call_work].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)