Method: Harbor2LegacyClient::ProjectMetadata#==

Defined in:
lib/harbor2_legacy_client/models/project_metadata.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



107
108
109
110
111
112
113
114
115
116
# File 'lib/harbor2_legacy_client/models/project_metadata.rb', line 107

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      public == o.public &&
      enable_content_trust == o.enable_content_trust &&
      prevent_vul == o.prevent_vul &&
      severity == o.severity &&
      auto_scan == o.auto_scan &&
      reuse_sys_cve_allowlist == o.reuse_sys_cve_allowlist
end