Method: Hubspot::Crm::Imports::ErrorDetail#==

Defined in:
lib/hubspot/codegen/crm/imports/models/error_detail.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



120
121
122
123
124
125
126
127
128
# File 'lib/hubspot/codegen/crm/imports/models/error_detail.rb', line 120

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      message == o.message &&
      _in == o._in &&
      code == o.code &&
      sub_category == o.sub_category &&
      context == o.context
end