All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog.plugins.views.migrations.V20191125144500_MigrateDashboardsToViewsSupport.viewwidgets.AutoValue_SeriesConfig Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package org.graylog.plugins.views.migrations.V20191125144500_MigrateDashboardsToViewsSupport.viewwidgets;

import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Generated;
import javax.annotation.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_SeriesConfig extends SeriesConfig {

  private final String name;

  private AutoValue_SeriesConfig(
      @Nullable String name) {
    this.name = name;
  }

  @JsonProperty("name")
  @Nullable
  @Override
  public String name() {
    return name;
  }

  @Override
  public String toString() {
    return "SeriesConfig{"
        + "name=" + name
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof SeriesConfig) {
      SeriesConfig that = (SeriesConfig) o;
      return (this.name == null ? that.name() == null : this.name.equals(that.name()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= (name == null) ? 0 : name.hashCode();
    return h$;
  }

  static final class Builder extends SeriesConfig.Builder {
    private String name;
    Builder() {
    }
    @Override
    public SeriesConfig.Builder name(String name) {
      this.name = name;
      return this;
    }
    @Override
    public SeriesConfig build() {
      return new AutoValue_SeriesConfig(
          this.name);
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy