Method: Falcon::MlscannerapiQuota#valid?

Defined in:
lib/crimson-falcon/models/mlscannerapi_quota.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



119
120
121
122
123
124
# File 'lib/crimson-falcon/models/mlscannerapi_quota.rb', line 119

def valid?
  return false if @in_progress.nil?
  return false if @total.nil?
  return false if @used.nil?
  true
end