Method: PureCloud::Conversation#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'lib/purecloud/models/conversation.rb', line 176

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