Method: PureCloud::SocialExpression#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'lib/purecloudplatformclientv2/models/social_expression.rb', line 213

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      state == o.state &&
      id == o.id &&
      social_media_id == o.social_media_id &&
      social_media_hub == o.social_media_hub &&
      social_user_name == o.social_user_name &&
      preview_text == o.preview_text &&
      recording_id == o.recording_id &&
      segments == o.segments &&
      held == o.held &&
      disconnect_type == o.disconnect_type &&
      start_hold_time == o.start_hold_time &&
      connected_time == o.connected_time &&
      disconnected_time == o.disconnected_time &&
      provider == o.provider
end