Method: OpenApiOpenAIClient::RunToolCallObjectFunction#list_invalid_properties
- Defined in:
- lib/openapi_openai/models/run_tool_call_object_function.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/openapi_openai/models/run_tool_call_object_function.rb', line 82 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end if @arguments.nil? invalid_properties.push('invalid value for "arguments", arguments cannot be nil.') end invalid_properties end |