edu.stanford.protege.webprotege.projectsettings.AutoValue_WebhookSettings Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.projectsettings;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableList;
import javax.annotation.Nonnull;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_WebhookSettings extends WebhookSettings {
private final ImmutableList webhookSettings;
AutoValue_WebhookSettings(
ImmutableList webhookSettings) {
if (webhookSettings == null) {
throw new NullPointerException("Null webhookSettings");
}
this.webhookSettings = webhookSettings;
}
@JsonProperty("webhookSettings")
@Nonnull
@Override
public ImmutableList getWebhookSettings() {
return webhookSettings;
}
@Override
public String toString() {
return "WebhookSettings{"
+ "webhookSettings=" + webhookSettings
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof WebhookSettings) {
WebhookSettings that = (WebhookSettings) o;
return this.webhookSettings.equals(that.getWebhookSettings());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= webhookSettings.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy