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

org.graylog2.rest.models.system.loggers.responses.$AutoValue_SubsystemSummary Maven / Gradle / Ivy

There is a newer version: 5.2.7
Show newest version


package org.graylog2.rest.models.system.loggers.responses;

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_SubsystemSummary extends SubsystemSummary {

  private final Map subsystems;

  $AutoValue_SubsystemSummary(
      Map subsystems) {
    if (subsystems == null) {
      throw new NullPointerException("Null subsystems");
    }
    this.subsystems = subsystems;
  }

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

  @Override
  public String toString() {
    return "SubsystemSummary{"
         + "subsystems=" + subsystems
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy