Method: Falcon::EntitiesODSScheduleScanRequest#list_invalid_properties
- Defined in:
- lib/crimson-falcon/models/entities_ods_schedule_scan_request.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 |
# File 'lib/crimson-falcon/models/entities_ods_schedule_scan_request.rb', line 220 def list_invalid_properties invalid_properties = Array.new if @cloud_ml_level_detection.nil? invalid_properties.push('invalid value for "cloud_ml_level_detection", cloud_ml_level_detection cannot be nil.') end if @cloud_ml_level_prevention.nil? invalid_properties.push('invalid value for "cloud_ml_level_prevention", cloud_ml_level_prevention cannot be nil.') end if @cpu_priority.nil? invalid_properties.push('invalid value for "cpu_priority", cpu_priority cannot be nil.') end if @description.nil? invalid_properties.push('invalid value for "description", description cannot be nil.') end if @endpoint_notification.nil? invalid_properties.push('invalid value for "endpoint_notification", endpoint_notification cannot be nil.') end if @file_paths.nil? invalid_properties.push('invalid value for "file_paths", file_paths cannot be nil.') end if @host_groups.nil? invalid_properties.push('invalid value for "host_groups", host_groups cannot be nil.') end if @initiated_from.nil? invalid_properties.push('invalid value for "initiated_from", initiated_from cannot be nil.') end if @max_duration.nil? invalid_properties.push('invalid value for "max_duration", max_duration cannot be nil.') end if @max_file_size.nil? invalid_properties.push('invalid value for "max_file_size", max_file_size cannot be nil.') end if @pause_duration.nil? invalid_properties.push('invalid value for "pause_duration", pause_duration cannot be nil.') end if @quarantine.nil? invalid_properties.push('invalid value for "quarantine", quarantine cannot be nil.') end if @scan_exclusions.nil? invalid_properties.push('invalid value for "scan_exclusions", scan_exclusions cannot be nil.') end if @scan_inclusions.nil? invalid_properties.push('invalid value for "scan_inclusions", scan_inclusions cannot be nil.') end if @schedule.nil? invalid_properties.push('invalid value for "schedule", schedule cannot be nil.') end if @sensor_ml_level_detection.nil? invalid_properties.push('invalid value for "sensor_ml_level_detection", sensor_ml_level_detection cannot be nil.') end if @sensor_ml_level_prevention.nil? invalid_properties.push('invalid value for "sensor_ml_level_prevention", sensor_ml_level_prevention cannot be nil.') end invalid_properties end |