Method: LiteLLMClient::CachePingResponse#list_invalid_properties

Defined in:
lib/litellm_client/models/cache_ping_response.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



123
124
125
126
127
128
129
130
131
132
133
134
135
# File 'lib/litellm_client/models/cache_ping_response.rb', line 123

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @status.nil?
    invalid_properties.push('invalid value for "status", status cannot be nil.')
  end

  if @cache_type.nil?
    invalid_properties.push('invalid value for "cache_type", cache_type cannot be nil.')
  end

  invalid_properties
end