Method: Harbor2Client::ScannerRegistrationReq#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



133
134
135
136
137
# File 'lib/harbor2_client/models/scanner_registration_req.rb', line 133

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