Method: OpenapiClient::ResourceReplace#==

Defined in:
lib/openapi_client/models/resource_replace.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



131
132
133
134
135
136
137
138
139
# File 'lib/openapi_client/models/resource_replace.rb', line 131

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      urn == o.urn &&
      description == o.description &&
      actions == o.actions &&
      attributes == o.attributes
end