Method: OpenApiOpenAIClient::RunObjectIncompleteDetails#valid?
- Defined in:
- lib/openapi_openai/models/run_object_incomplete_details.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
99 100 101 102 103 104 |
# File 'lib/openapi_openai/models/run_object_incomplete_details.rb', line 99 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' reason_validator = EnumAttributeValidator.new('String', ["max_completion_tokens", "max_prompt_tokens"]) return false unless reason_validator.valid?(@reason) true end |