Method: Harbor2Client::ScannerRegistrationSettings#valid?

Defined in:
lib/harbor2_client/models/scanner_registration_settings.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



93
94
95
96
97
# File 'lib/harbor2_client/models/scanner_registration_settings.rb', line 93

def valid?
  return false if @name.nil?
  return false if @url.nil?
  true
end