Method: OpenApiOpenAIClient::CreateTranslationResponse#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



81
82
83
84
85
# File 'lib/openapi_openai/models/create_translation_response.rb', line 81

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