org.graylog2.security.AutoValue_UserSessionTerminationService_GlobalTerminationRevisionConfig Maven / Gradle / Ivy
package org.graylog2.security;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UserSessionTerminationService_GlobalTerminationRevisionConfig extends UserSessionTerminationService.GlobalTerminationRevisionConfig {
private final long appliedRevision;
AutoValue_UserSessionTerminationService_GlobalTerminationRevisionConfig(
long appliedRevision) {
this.appliedRevision = appliedRevision;
}
@JsonProperty("applied_revision")
@Override
public long appliedRevision() {
return appliedRevision;
}
@Override
public String toString() {
return "GlobalTerminationRevisionConfig{"
+ "appliedRevision=" + appliedRevision
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UserSessionTerminationService.GlobalTerminationRevisionConfig) {
UserSessionTerminationService.GlobalTerminationRevisionConfig that = (UserSessionTerminationService.GlobalTerminationRevisionConfig) o;
return this.appliedRevision == that.appliedRevision();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (int) ((appliedRevision >>> 32) ^ appliedRevision);
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy