lib/purecloud/models/email_media_participant.rb in purecloud-0.68.1 vs lib/purecloud/models/email_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 subject of the email. attr_accessor :subject # The number of messages that have been sent in this email conversation. attr_accessor :messages_sent @@ -146,10 +149,12 @@ :'external_contact' => :'externalContact', :'external_organization' => :'externalOrganization', + :'wrapup' => :'wrapup', + :'subject' => :'subject', :'messages_sent' => :'messagesSent' } @@ -180,10 +185,11 @@ :'wrapup_timeout_ms' => :'Integer', :'wrapup_skipped' => :'BOOLEAN', :'provider' => :'String', :'external_contact' => :'UriReference', :'external_organization' => :'UriReference', + :'wrapup' => :'Wrapup', :'subject' => :'String', :'messages_sent' => :'Integer' } end @@ -291,10 +297,14 @@ if attributes[:'externalOrganization'] self.external_organization = attributes[:'externalOrganization'] end + if attributes[:'wrapup'] + self.wrapup = attributes[:'wrapup'] + end + if attributes[:'subject'] self.subject = attributes[:'subject'] end if attributes[:'messagesSent'] @@ -356,10 +366,11 @@ 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 && subject == o.subject && messages_sent == o.messages_sent end # @see the `==` method @@ -367,10 +378,10 @@ 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, subject, messages_sent].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, subject, messages_sent].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)