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

org.graylog.plugins.views.migrations.V20191203120602_MigrateSavedSearchesToViewsSupport.search.AutoValue_AutoInterval Maven / Gradle / Ivy

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

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

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

  private final Double scaling;

  AutoValue_AutoInterval(
      Double scaling) {
    if (scaling == null) {
      throw new NullPointerException("Null scaling");
    }
    this.scaling = scaling;
  }

  @JsonProperty
  @Override
  public Double scaling() {
    return scaling;
  }

  @Override
  public String toString() {
    return "AutoInterval{"
        + "scaling=" + scaling
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof AutoInterval) {
      AutoInterval that = (AutoInterval) o;
      return this.scaling.equals(that.scaling());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= scaling.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy