org.graylog.events.conditions.AutoValue_Expr_True Maven / Gradle / Ivy
package org.graylog.events.conditions;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Expr_True extends Expr.True {
private final String expr;
AutoValue_Expr_True(
String expr) {
if (expr == null) {
throw new NullPointerException("Null expr");
}
this.expr = expr;
}
@JsonProperty("expr")
@Override
public String expr() {
return expr;
}
@Override
public String toString() {
return "True{"
+ "expr=" + expr
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Expr.True) {
Expr.True that = (Expr.True) o;
return this.expr.equals(that.expr());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= expr.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy