in src/main/java/org/opensearch/ad/model/AnomalyResult.java [724:748]
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
AnomalyResult that = (AnomalyResult) o;
return Objects.equal(detectorId, that.detectorId)
&& Objects.equal(taskId, that.taskId)
&& Objects.equal(anomalyScore, that.anomalyScore)
&& Objects.equal(anomalyGrade, that.anomalyGrade)
&& Objects.equal(confidence, that.confidence)
&& Objects.equal(featureData, that.featureData)
&& Objects.equal(dataStartTime, that.dataStartTime)
&& Objects.equal(dataEndTime, that.dataEndTime)
&& Objects.equal(executionStartTime, that.executionStartTime)
&& Objects.equal(executionEndTime, that.executionEndTime)
&& Objects.equal(error, that.error)
&& Objects.equal(entity, that.entity)
&& Objects.equal(modelId, that.modelId)
&& Objects.equal(approxAnomalyStartTime, that.approxAnomalyStartTime)
&& Objects.equal(relevantAttribution, that.relevantAttribution)
&& Objects.equal(pastValues, that.pastValues)
&& Objects.equal(expectedValuesList, that.expectedValuesList)
&& Objects.equal(threshold, that.threshold);
}