Method: Hubspot::Cms::UrlRedirects::CollectionResponseWithTotalUrlMapping#==

Defined in:
lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared


106
107
108
109
110
111
112
# File 'lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb', line 106

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      total == o.total &&
      results == o.results &&
      paging == o.paging
end