ai.grakn.AutoValue_Keyspace Maven / Gradle / Ivy
package ai.grakn;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Keyspace extends Keyspace {
private final String value;
AutoValue_Keyspace(
String value) {
if (value == null) {
throw new NullPointerException("Null value");
}
this.value = value;
}
@JsonProperty(value = "name")
@Override
public String getValue() {
return value;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Keyspace) {
Keyspace that = (Keyspace) o;
return (this.value.equals(that.getValue()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.value.hashCode();
return h;
}
private static final long serialVersionUID = 2726154016735929123L;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy