Method: PureCloud::Annotation#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'lib/purecloud/models/annotation.rb', line 223

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      type == o.type &&
      location == o.location &&
      duration_ms == o.duration_ms &&
      user == o.user &&
      description == o.description &&
      keyword_name == o.keyword_name &&
      confidence == o.confidence &&
      keyword_set_id == o.keyword_set_id &&
      keyword_set_name == o.keyword_set_name &&
      utterance == o.utterance &&
      time_begin == o.time_begin &&
      time_end == o.time_end &&
      keyword_confidence_threshold == o.keyword_confidence_threshold &&
      agent_score_modifier == o.agent_score_modifier &&
      customer_score_modifier == o.customer_score_modifier &&
      self_uri == o.self_uri
end