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

com.spotify.styx.api.AutoValue_RunStateDataPayload Maven / Gradle / Ivy


package com.spotify.styx.api;

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

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

  private final List activeStates;

  AutoValue_RunStateDataPayload(
      List activeStates) {
    if (activeStates == null) {
      throw new NullPointerException("Null activeStates");
    }
    this.activeStates = activeStates;
  }

  @JsonProperty
  @Override
  public List activeStates() {
    return activeStates;
  }

  @Override
  public String toString() {
    return "RunStateDataPayload{"
         + "activeStates=" + activeStates
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy