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

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


package com.spotify.styx.api;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.spotify.styx.model.Resource;
import java.util.List;
import javax.annotation.Generated;

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

  private final List resources;

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

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

  @Override
  public String toString() {
    return "ResourcesPayload{"
         + "resources=" + resources
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy