org.graylog.plugins.pipelineprocessor.rest.AutoValue_PipelineReverseConnections Maven / Gradle / Ivy
package org.graylog.plugins.pipelineprocessor.rest;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Set;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_PipelineReverseConnections extends PipelineReverseConnections {
private final String pipelineId;
private final Set streamIds;
AutoValue_PipelineReverseConnections(
String pipelineId,
Set streamIds) {
if (pipelineId == null) {
throw new NullPointerException("Null pipelineId");
}
this.pipelineId = pipelineId;
if (streamIds == null) {
throw new NullPointerException("Null streamIds");
}
this.streamIds = streamIds;
}
@JsonProperty
@Override
public String pipelineId() {
return pipelineId;
}
@JsonProperty
@Override
public Set streamIds() {
return streamIds;
}
@Override
public String toString() {
return "PipelineReverseConnections{"
+ "pipelineId=" + pipelineId + ", "
+ "streamIds=" + streamIds
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof PipelineReverseConnections) {
PipelineReverseConnections that = (PipelineReverseConnections) o;
return this.pipelineId.equals(that.pipelineId())
&& this.streamIds.equals(that.streamIds());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= pipelineId.hashCode();
h$ *= 1000003;
h$ ^= streamIds.hashCode();
return h$;
}
}