boolean (Object obj) { if (obj == this) return true; if (obj == null || obj.getClass() != this.getClass()) return false; AddArtifactResponse that = (AddArtifactResponse)obj; return Objects.equals(this.artifactFile, that.artifactFile) && Objects.equals(this.indexedMavenId, that.indexedMavenId); }