Method: OpenApiOpenAIClient::RunToolCallObjectFunction#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



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

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