Method: Harbor2Client::ScannerRegistrationSettings#list_invalid_properties
- Defined in:
- lib/harbor2_client/models/scanner_registration_settings.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/harbor2_client/models/scanner_registration_settings.rb', line 78 def list_invalid_properties invalid_properties = Array.new if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end if @url.nil? invalid_properties.push('invalid value for "url", url cannot be nil.') end invalid_properties end |