Method: Falcon::ModelsAPIPackageVulnerability#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



133
134
135
136
137
138
139
# File 'lib/crimson-falcon/models/models_api_package_vulnerability.rb', line 133

def valid?
  return false if @cveid.nil?
  return false if @description.nil?
  return false if @fix_resolution.nil?
  return false if @severity.nil?
  true
end