Method: Hubspot::Crm::Objects::StandardError#==

Defined in:
lib/hubspot/codegen/crm/objects/models/standard_error.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



168
169
170
171
172
173
174
175
176
177
178
179
# File 'lib/hubspot/codegen/crm/objects/models/standard_error.rb', line 168

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      status == o.status &&
      id == o.id &&
      category == o.category &&
      sub_category == o.sub_category &&
      message == o.message &&
      errors == o.errors &&
      context == o.context &&
      links == o.links
end