org.graylog.security.authservice.ldap.AutoValue_ADUserAccountControl Maven / Gradle / Ivy
package org.graylog.security.authservice.ldap;
import java.util.EnumSet;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ADUserAccountControl extends ADUserAccountControl {
private final EnumSet flags;
AutoValue_ADUserAccountControl(
EnumSet flags) {
if (flags == null) {
throw new NullPointerException("Null flags");
}
this.flags = flags;
}
@Override
public EnumSet flags() {
return flags;
}
@Override
public String toString() {
return "ADUserAccountControl{"
+ "flags=" + flags
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ADUserAccountControl) {
ADUserAccountControl that = (ADUserAccountControl) o;
return this.flags.equals(that.flags());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= flags.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy