com.google.gerrit.entities.AutoValue_AccountsSection Maven / Gradle / Ivy
package com.google.gerrit.entities;
import com.google.common.collect.ImmutableList;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AccountsSection extends AccountsSection {
private final ImmutableList sameGroupVisibility;
AutoValue_AccountsSection(
ImmutableList sameGroupVisibility) {
if (sameGroupVisibility == null) {
throw new NullPointerException("Null sameGroupVisibility");
}
this.sameGroupVisibility = sameGroupVisibility;
}
@Override
public ImmutableList getSameGroupVisibility() {
return sameGroupVisibility;
}
@Override
public String toString() {
return "AccountsSection{"
+ "sameGroupVisibility=" + sameGroupVisibility
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AccountsSection) {
AccountsSection that = (AccountsSection) o;
return this.sameGroupVisibility.equals(that.getSameGroupVisibility());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= sameGroupVisibility.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy