Method: PureCloud::Keyword#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      phrase == o.phrase &&
      confidence == o.confidence &&
      agent_score_modifier == o.agent_score_modifier &&
      customer_score_modifier == o.customer_score_modifier &&
      alternate_spellings == o.alternate_spellings &&
      pronunciations == o.pronunciations &&
      anti_words == o.anti_words &&
      anti_pronunciations == o.anti_pronunciations &&
      spotability_index == o.spotability_index &&
      margin_of_error == o.margin_of_error &&
      pronunciation == o.pronunciation
end