Method: OpenApiOpenAIClient::ListThreadsResponse#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



151
152
153
154
155
156
157
158
159
# File 'lib/openapi_openai/models/list_threads_response.rb', line 151

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      object == o.object &&
      data == o.data &&
      first_id == o.first_id &&
      last_id == o.last_id &&
      has_more == o.has_more
end