Method: OryClient::GenericUsage#valid?

Defined in:
lib/ory-client/models/generic_usage.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



102
103
104
105
106
107
# File 'lib/ory-client/models/generic_usage.rb', line 102

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