org.graylog2.web.$AutoValue_ChunkDescription Maven / Gradle / Ivy
package org.graylog2.web;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_ChunkDescription extends ChunkDescription {
private final long size;
private final String entry;
private final List css;
$AutoValue_ChunkDescription(
long size,
String entry,
List css) {
this.size = size;
if (entry == null) {
throw new NullPointerException("Null entry");
}
this.entry = entry;
if (css == null) {
throw new NullPointerException("Null css");
}
this.css = css;
}
@JsonProperty("size")
@Override
public long size() {
return size;
}
@JsonProperty("entry")
@Override
public String entry() {
return entry;
}
@JsonProperty("css")
@Override
public List css() {
return css;
}
@Override
public String toString() {
return "ChunkDescription{"
+ "size=" + size + ", "
+ "entry=" + entry + ", "
+ "css=" + css
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ChunkDescription) {
ChunkDescription that = (ChunkDescription) o;
return this.size == that.size()
&& this.entry.equals(that.entry())
&& this.css.equals(that.css());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (int) ((size >>> 32) ^ size);
h$ *= 1000003;
h$ ^= entry.hashCode();
h$ *= 1000003;
h$ ^= css.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy