Method: Falcon::EntitiesODSScheduleScanResponse#list_invalid_properties

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

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/crimson-falcon/models/entities_ods_schedule_scan_response.rb', line 104

def list_invalid_properties
  invalid_properties = Array.new
  if @meta.nil?
    invalid_properties.push('invalid value for "meta", meta cannot be nil.')
  end

  if @resources.nil?
    invalid_properties.push('invalid value for "resources", resources cannot be nil.')
  end

  invalid_properties
end