io.camunda.operate.webapp.management.dto.UsageMetricDTO Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Camunda License 1.0. You may not use this file
* except in compliance with the Camunda License 1.0.
*/
package io.camunda.operate.webapp.management.dto;
import java.util.Objects;
public class UsageMetricDTO {
private long total;
public long getTotal() {
return total;
}
public UsageMetricDTO setTotal(long total) {
this.total = total;
return this;
}
@Override
public int hashCode() {
return Objects.hash(total);
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof UsageMetricDTO)) {
return false;
}
final UsageMetricDTO that = (UsageMetricDTO) o;
return total == that.total;
}
@Override
public String toString() {
return "UsageMetricDTO{total=" + total + '}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy