Method: OpenApiOpenAIClient::ImagesResponse#==

Defined in:
lib/openapi_openai/models/images_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



106
107
108
109
110
111
# File 'lib/openapi_openai/models/images_response.rb', line 106

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      created == o.created &&
      data == o.data
end