Method: LiteLLMClient::CachePingResponse#valid?

Defined in:
lib/litellm_client/models/cache_ping_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



139
140
141
142
143
144
# File 'lib/litellm_client/models/cache_ping_response.rb', line 139

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