Method: Falcon::ModelsAPIPackageVulnerability#list_invalid_properties
- Defined in:
- lib/crimson-falcon/models/models_api_package_vulnerability.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/crimson-falcon/models/models_api_package_vulnerability.rb', line 110 def list_invalid_properties invalid_properties = Array.new if @cveid.nil? invalid_properties.push('invalid value for "cveid", cveid cannot be nil.') end if @description.nil? invalid_properties.push('invalid value for "description", description cannot be nil.') end if @fix_resolution.nil? invalid_properties.push('invalid value for "fix_resolution", fix_resolution cannot be nil.') end if @severity.nil? invalid_properties.push('invalid value for "severity", severity cannot be nil.') end invalid_properties end |