Method: OpenApiOpenAIClient::RunStreamEventOneOf2#valid?
- Defined in:
- lib/openapi_openai/models/run_stream_event_one_of2.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
118 119 120 121 122 123 124 125 |
# File 'lib/openapi_openai/models/run_stream_event_one_of2.rb', line 118 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @event.nil? event_validator = EnumAttributeValidator.new('String', ["thread.run.in_progress"]) return false unless event_validator.valid?(@event) return false if @data.nil? true end |