org.graylog2.rest.models.system.contentpacks.responses.$AutoValue_ContentPackMetadata Maven / Gradle / Ivy
package org.graylog2.rest.models.system.contentpacks.responses;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_ContentPackMetadata extends ContentPackMetadata {
private final int installationCount;
$AutoValue_ContentPackMetadata(
int installationCount) {
this.installationCount = installationCount;
}
@JsonProperty
@Override
public int installationCount() {
return installationCount;
}
@Override
public String toString() {
return "ContentPackMetadata{"
+ "installationCount=" + installationCount
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ContentPackMetadata) {
ContentPackMetadata that = (ContentPackMetadata) o;
return this.installationCount == that.installationCount();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= installationCount;
return h$;
}
}