Method: Falcon::ModelsAPIVulnByImageCount#list_invalid_properties
- Defined in:
- lib/crimson-falcon/models/models_api_vuln_by_image_count.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_vuln_by_image_count.rb', line 110 def list_invalid_properties invalid_properties = Array.new if @cve_id.nil? invalid_properties.push('invalid value for "cve_id", cve_id cannot be nil.') end if @images_impacted.nil? invalid_properties.push('invalid value for "images_impacted", images_impacted cannot be nil.') end if @product.nil? invalid_properties.push('invalid value for "product", product cannot be nil.') end if @severity.nil? invalid_properties.push('invalid value for "severity", severity cannot be nil.') end invalid_properties end |