Method: Fastly::WafExclusionResponseData#==

Defined in:
lib/fastly/models/waf_exclusion_response_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



113
114
115
116
117
118
119
120
# File 'lib/fastly/models/waf_exclusion_response_data.rb', line 113

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      attributes == o.attributes &&
      relationships == o.relationships &&
      id == o.id
end