Method: OpenApiOpenAIClient::ListThreadsResponse#list_invalid_properties
- Defined in:
- lib/openapi_openai/models/list_threads_response.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/openapi_openai/models/list_threads_response.rb', line 111 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @object.nil? invalid_properties.push('invalid value for "object", object cannot be nil.') end if @data.nil? invalid_properties.push('invalid value for "data", data cannot be nil.') end if @first_id.nil? invalid_properties.push('invalid value for "first_id", first_id cannot be nil.') end if @last_id.nil? invalid_properties.push('invalid value for "last_id", last_id cannot be nil.') end if @has_more.nil? invalid_properties.push('invalid value for "has_more", has_more cannot be nil.') end invalid_properties end |