com.spotify.docker.client.messages.swarm.AutoValue_OrchestrationConfig Maven / Gradle / Ivy
package com.spotify.docker.client.messages.swarm;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_OrchestrationConfig extends OrchestrationConfig {
private final Integer taskHistoryRetentionLimit;
AutoValue_OrchestrationConfig(
Integer taskHistoryRetentionLimit) {
if (taskHistoryRetentionLimit == null) {
throw new NullPointerException("Null taskHistoryRetentionLimit");
}
this.taskHistoryRetentionLimit = taskHistoryRetentionLimit;
}
@JsonProperty(value = "TaskHistoryRetentionLimit")
@Override
public Integer taskHistoryRetentionLimit() {
return taskHistoryRetentionLimit;
}
@Override
public String toString() {
return "OrchestrationConfig{"
+ "taskHistoryRetentionLimit=" + taskHistoryRetentionLimit
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof OrchestrationConfig) {
OrchestrationConfig that = (OrchestrationConfig) o;
return (this.taskHistoryRetentionLimit.equals(that.taskHistoryRetentionLimit()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.taskHistoryRetentionLimit.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy