Method: Harbor2Client::ScannerRegistrationReq#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/harbor2_client/models/scanner_registration_req.rb', line 141

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      description == o.description &&
      url == o.url &&
      auth == o.auth &&
      access_credential == o.access_credential &&
      skip_cert_verify == o.skip_cert_verify &&
      use_internal_addr == o.use_internal_addr &&
      disabled == o.disabled
end