Method: TrieveRubyClient::SearchSlimChunkQueryResponseBody#list_invalid_properties
- Defined in:
- lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/trieve_ruby_client/models/search_slim_chunk_query_response_body.rb', line 81 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @score_chunks.nil? invalid_properties.push('invalid value for "score_chunks", score_chunks cannot be nil.') end if @total_chunk_pages.nil? invalid_properties.push('invalid value for "total_chunk_pages", total_chunk_pages cannot be nil.') end invalid_properties end |