public boolean equals()

in src/main/java/org/opensearch/ad/model/ADTaskProfile.java [512:535]


    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        ADTaskProfile that = (ADTaskProfile) o;
        return Objects.equals(adTask, that.adTask)
            && Objects.equals(shingleSize, that.shingleSize)
            && Objects.equals(rcfTotalUpdates, that.rcfTotalUpdates)
            && Objects.equals(thresholdModelTrained, that.thresholdModelTrained)
            && Objects.equals(thresholdModelTrainingDataSize, that.thresholdModelTrainingDataSize)
            && Objects.equals(modelSizeInBytes, that.modelSizeInBytes)
            && Objects.equals(nodeId, that.nodeId)
            && Objects.equals(taskId, that.taskId)
            && Objects.equals(adTaskType, that.adTaskType)
            && Objects.equals(detectorTaskSlots, that.detectorTaskSlots)
            && Objects.equals(totalEntitiesInited, that.totalEntitiesInited)
            && Objects.equals(totalEntitiesCount, that.totalEntitiesCount)
            && Objects.equals(pendingEntitiesCount, that.pendingEntitiesCount)
            && Objects.equals(runningEntitiesCount, that.runningEntitiesCount)
            && Objects.equals(runningEntities, that.runningEntities)
            && Objects.equals(latestHCTaskRunTime, that.latestHCTaskRunTime)
            && Objects.equals(entityTaskProfiles, that.entityTaskProfiles);
    }