Method: OpenApiOpenAIClient::FunctionObject#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



102
103
104
105
106
# File 'lib/openapi_openai/models/function_object.rb', line 102

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @name.nil?
  true
end