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

io.fabric8.docker.api.model.ContainerState Maven / Gradle / Ivy

There is a newer version: 1.0.15
Show newest version

package io.fabric8.docker.api.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.docker.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "Dead",
    "Error",
    "ExitCode",
    "FinishedAt",
    "OOMKilled",
    "Paused",
    "Pid",
    "Restarting",
    "Running",
    "StartedAt",
    "Status"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = true, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.docker.api.builder", inline = {
    @Inline(type = Doneable.class, prefix = "Doneable", value = "done")
})
public class ContainerState implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("Dead")
    private Boolean Dead;
    /**
     * 
     * 
     */
    @JsonProperty("Error")
    private String Error;
    /**
     * 
     * 
     */
    @JsonProperty("ExitCode")
    private Integer ExitCode;
    /**
     * 
     * 
     */
    @JsonProperty("FinishedAt")
    private String FinishedAt;
    /**
     * 
     * 
     */
    @JsonProperty("OOMKilled")
    private Boolean OOMKilled;
    /**
     * 
     * 
     */
    @JsonProperty("Paused")
    private Boolean Paused;
    /**
     * 
     * 
     */
    @JsonProperty("Pid")
    private Integer Pid;
    /**
     * 
     * 
     */
    @JsonProperty("Restarting")
    private Boolean Restarting;
    /**
     * 
     * 
     */
    @JsonProperty("Running")
    private Boolean Running;
    /**
     * 
     * 
     */
    @JsonProperty("StartedAt")
    private String StartedAt;
    /**
     * 
     * 
     */
    @JsonProperty("Status")
    private String Status;
    @JsonIgnore
    private Map additionalProperties = new HashMap();

    /**
     * No args constructor for use in serialization
     * 
     */
    public ContainerState() {
    }

    /**
     * 
     * @param Status
     * @param Restarting
     * @param Dead
     * @param ExitCode
     * @param Running
     * @param Error
     * @param FinishedAt
     * @param OOMKilled
     * @param Pid
     * @param StartedAt
     * @param Paused
     */
    public ContainerState(Boolean Dead, String Error, Integer ExitCode, String FinishedAt, Boolean OOMKilled, Boolean Paused, Integer Pid, Boolean Restarting, Boolean Running, String StartedAt, String Status) {
        this.Dead = Dead;
        this.Error = Error;
        this.ExitCode = ExitCode;
        this.FinishedAt = FinishedAt;
        this.OOMKilled = OOMKilled;
        this.Paused = Paused;
        this.Pid = Pid;
        this.Restarting = Restarting;
        this.Running = Running;
        this.StartedAt = StartedAt;
        this.Status = Status;
    }

    /**
     * 
     * 
     * @return
     *     The Dead
     */
    @JsonProperty("Dead")
    public Boolean getDead() {
        return Dead;
    }

    /**
     * 
     * 
     * @param Dead
     *     The Dead
     */
    @JsonProperty("Dead")
    public void setDead(Boolean Dead) {
        this.Dead = Dead;
    }

    /**
     * 
     * 
     * @return
     *     The Error
     */
    @JsonProperty("Error")
    public String getError() {
        return Error;
    }

    /**
     * 
     * 
     * @param Error
     *     The Error
     */
    @JsonProperty("Error")
    public void setError(String Error) {
        this.Error = Error;
    }

    /**
     * 
     * 
     * @return
     *     The ExitCode
     */
    @JsonProperty("ExitCode")
    public Integer getExitCode() {
        return ExitCode;
    }

    /**
     * 
     * 
     * @param ExitCode
     *     The ExitCode
     */
    @JsonProperty("ExitCode")
    public void setExitCode(Integer ExitCode) {
        this.ExitCode = ExitCode;
    }

    /**
     * 
     * 
     * @return
     *     The FinishedAt
     */
    @JsonProperty("FinishedAt")
    public String getFinishedAt() {
        return FinishedAt;
    }

    /**
     * 
     * 
     * @param FinishedAt
     *     The FinishedAt
     */
    @JsonProperty("FinishedAt")
    public void setFinishedAt(String FinishedAt) {
        this.FinishedAt = FinishedAt;
    }

    /**
     * 
     * 
     * @return
     *     The OOMKilled
     */
    @JsonProperty("OOMKilled")
    public Boolean getOOMKilled() {
        return OOMKilled;
    }

    /**
     * 
     * 
     * @param OOMKilled
     *     The OOMKilled
     */
    @JsonProperty("OOMKilled")
    public void setOOMKilled(Boolean OOMKilled) {
        this.OOMKilled = OOMKilled;
    }

    /**
     * 
     * 
     * @return
     *     The Paused
     */
    @JsonProperty("Paused")
    public Boolean getPaused() {
        return Paused;
    }

    /**
     * 
     * 
     * @param Paused
     *     The Paused
     */
    @JsonProperty("Paused")
    public void setPaused(Boolean Paused) {
        this.Paused = Paused;
    }

    /**
     * 
     * 
     * @return
     *     The Pid
     */
    @JsonProperty("Pid")
    public Integer getPid() {
        return Pid;
    }

    /**
     * 
     * 
     * @param Pid
     *     The Pid
     */
    @JsonProperty("Pid")
    public void setPid(Integer Pid) {
        this.Pid = Pid;
    }

    /**
     * 
     * 
     * @return
     *     The Restarting
     */
    @JsonProperty("Restarting")
    public Boolean getRestarting() {
        return Restarting;
    }

    /**
     * 
     * 
     * @param Restarting
     *     The Restarting
     */
    @JsonProperty("Restarting")
    public void setRestarting(Boolean Restarting) {
        this.Restarting = Restarting;
    }

    /**
     * 
     * 
     * @return
     *     The Running
     */
    @JsonProperty("Running")
    public Boolean getRunning() {
        return Running;
    }

    /**
     * 
     * 
     * @param Running
     *     The Running
     */
    @JsonProperty("Running")
    public void setRunning(Boolean Running) {
        this.Running = Running;
    }

    /**
     * 
     * 
     * @return
     *     The StartedAt
     */
    @JsonProperty("StartedAt")
    public String getStartedAt() {
        return StartedAt;
    }

    /**
     * 
     * 
     * @param StartedAt
     *     The StartedAt
     */
    @JsonProperty("StartedAt")
    public void setStartedAt(String StartedAt) {
        this.StartedAt = StartedAt;
    }

    /**
     * 
     * 
     * @return
     *     The Status
     */
    @JsonProperty("Status")
    public String getStatus() {
        return Status;
    }

    /**
     * 
     * 
     * @param Status
     *     The Status
     */
    @JsonProperty("Status")
    public void setStatus(String Status) {
        this.Status = Status;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy