Method: PureCloud::Conversation#==

Defined in:
lib/purecloudplatformclientv2/models/conversation.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'lib/purecloudplatformclientv2/models/conversation.rb', line 195

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      start_time == o.start_time &&
      end_time == o.end_time &&
      address == o.address &&
      participants == o.participants &&
      conversation_ids == o.conversation_ids &&
      max_participants == o.max_participants &&
      recording_state == o.recording_state &&
      state == o.state &&
      self_uri == o.self_uri
end