lib/purecloud/models/chat_media_participant.rb in purecloud-0.68.1 vs lib/purecloud/models/chat_media_participant.rb in purecloud-0.69.1

- old
+ new

@@ -88,10 +88,13 @@ attr_accessor :external_contact # If this participant represents an external org, then this will be the reference for the external org. attr_accessor :external_organization + # Wrapup for this participant, if it has been applied. + attr_accessor :wrapup + # The ID of the chat room. attr_accessor :room_id # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -143,10 +146,12 @@ :'external_contact' => :'externalContact', :'external_organization' => :'externalOrganization', + :'wrapup' => :'wrapup', + :'room_id' => :'roomId' } end @@ -175,10 +180,11 @@ :'wrapup_timeout_ms' => :'Integer', :'wrapup_skipped' => :'BOOLEAN', :'provider' => :'String', :'external_contact' => :'UriReference', :'external_organization' => :'UriReference', + :'wrapup' => :'Wrapup', :'room_id' => :'String' } end @@ -285,10 +291,14 @@ if attributes[:'externalOrganization'] self.external_organization = attributes[:'externalOrganization'] end + if attributes[:'wrapup'] + self.wrapup = attributes[:'wrapup'] + end + if attributes[:'roomId'] self.room_id = attributes[:'roomId'] end end @@ -346,20 +356,21 @@ wrapup_timeout_ms == o.wrapup_timeout_ms && wrapup_skipped == o.wrapup_skipped && provider == o.provider && external_contact == o.external_contact && external_organization == o.external_organization && + wrapup == o.wrapup && room_id == o.room_id 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, provider, external_contact, external_organization, room_id].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, provider, external_contact, external_organization, wrapup, room_id].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)