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

com.spotify.styx.AutoValue_YamlScheduleDefinition Maven / Gradle / Ivy


package com.spotify.styx;

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

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

  private final List schedules;

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

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

  @Override
  public String toString() {
    return "YamlScheduleDefinition{"
        + "schedules=" + schedules
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy