Method: OpenApiOpenAIClient::MessageContentTextObjectText#list_invalid_properties
- Defined in:
- lib/openapi_openai/models/message_content_text_object_text.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/message_content_text_object_text.rb', line 82 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @value.nil? invalid_properties.push('invalid value for "value", value cannot be nil.') end if @annotations.nil? invalid_properties.push('invalid value for "annotations", annotations cannot be nil.') end invalid_properties end |