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

io.github.zanella.nomad.v1.common.models.Job Maven / Gradle / Ivy

The newest version!
package io.github.zanella.nomad.v1.common.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.zanella.nomad.v1.jobs.models.JobSummary;
import io.github.zanella.nomad.v1.nodes.models.TaskGroup;
import lombok.*;

import java.util.List;
import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@NoArgsConstructor
public class Job extends JobSummary {
    @JsonProperty("Meta") Map meta;

    @JsonProperty("Update") UpdateStrategy update;

    @JsonProperty("TaskGroups") List taskGroups;

    @JsonProperty("Region") String region;

    @JsonProperty("AllAtOnce") Boolean allAtOnce;

    @JsonProperty("Datacenters") List datacenters;

    @JsonProperty("Constraints") List constraints;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy