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

org.graylog2.shared.system.stats.fs.AutoValue_FsStats Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version

package org.graylog2.shared.system.stats.fs;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import javax.annotation.Generated;

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

  private final Map filesystems;

  AutoValue_FsStats(
      Map filesystems) {
    if (filesystems == null) {
      throw new NullPointerException("Null filesystems");
    }
    this.filesystems = filesystems;
  }

  @JsonProperty
  @Override
  public Map filesystems() {
    return filesystems;
  }

  @Override
  public String toString() {
    return "FsStats{"
        + "filesystems=" + filesystems
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy