Method: OpenApiOpenAIClient::ListThreadsResponse#valid?
- Defined in:
- lib/openapi_openai/models/list_threads_response.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
139 140 141 142 143 144 145 146 147 |
# File 'lib/openapi_openai/models/list_threads_response.rb', line 139 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @object.nil? return false if @data.nil? return false if @first_id.nil? return false if @last_id.nil? return false if @has_more.nil? true end |