Method: OpenapiClient::Labels#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



98
99
100
101
102
103
# File 'lib/openapi_client/models/labels.rb', line 98

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