org.graylog2.inputs.extractors.events.$AutoValue_ExtractorDeleted Maven / Gradle / Ivy
package org.graylog2.inputs.extractors.events;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_ExtractorDeleted extends ExtractorDeleted {
private final String inputId;
private final String extractorId;
$AutoValue_ExtractorDeleted(
String inputId,
String extractorId) {
if (inputId == null) {
throw new NullPointerException("Null inputId");
}
this.inputId = inputId;
if (extractorId == null) {
throw new NullPointerException("Null extractorId");
}
this.extractorId = extractorId;
}
@JsonProperty("input_id")
@Override
public String inputId() {
return inputId;
}
@JsonProperty("extractor_id")
@Override
public String extractorId() {
return extractorId;
}
@Override
public String toString() {
return "ExtractorDeleted{"
+ "inputId=" + inputId + ", "
+ "extractorId=" + extractorId
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ExtractorDeleted) {
ExtractorDeleted that = (ExtractorDeleted) o;
return this.inputId.equals(that.inputId())
&& this.extractorId.equals(that.extractorId());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= inputId.hashCode();
h$ *= 1000003;
h$ ^= extractorId.hashCode();
return h$;
}
}