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

io.fabric8.docker.api.model.ExecConfig 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.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import javax.validation.Valid;
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.ContainerExecCreateResponse;
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({
    "AttachStderr",
    "AttachStdin",
    "AttachStdout",
    "Cmd",
    "Container",
    "Detach",
    "Privileged",
    "Tty",
    "User"
})
@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 = io.fabric8.docker.api.model.Doneable.class, prefix = "Doneable", value = "done"),
    @Inline(type = io.fabric8.docker.api.model.Doneable.class, returnType = ContainerExecCreateResponse.class, name = "InlineExecConfig", value = "done")
})
public class ExecConfig implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("AttachStderr")
    private Boolean AttachStderr;
    /**
     * 
     * 
     */
    @JsonProperty("AttachStdin")
    private Boolean AttachStdin;
    /**
     * 
     * 
     */
    @JsonProperty("AttachStdout")
    private Boolean AttachStdout;
    /**
     * 
     * 
     */
    @JsonProperty("Cmd")
    @Valid
    private List Cmd = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("Container")
    private String Container;
    /**
     * 
     * 
     */
    @JsonProperty("Detach")
    private Boolean Detach;
    /**
     * 
     * 
     */
    @JsonProperty("Privileged")
    private Boolean Privileged;
    /**
     * 
     * 
     */
    @JsonProperty("Tty")
    private Boolean Tty;
    /**
     * 
     * 
     */
    @JsonProperty("User")
    private String User;
    @JsonIgnore
    private Map additionalProperties = new HashMap();

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

    /**
     * 
     * @param AttachStdout
     * @param Container
     * @param User
     * @param AttachStderr
     * @param AttachStdin
     * @param Privileged
     * @param Tty
     * @param Cmd
     * @param Detach
     */
    public ExecConfig(Boolean AttachStderr, Boolean AttachStdin, Boolean AttachStdout, List Cmd, String Container, Boolean Detach, Boolean Privileged, Boolean Tty, String User) {
        this.AttachStderr = AttachStderr;
        this.AttachStdin = AttachStdin;
        this.AttachStdout = AttachStdout;
        this.Cmd = Cmd;
        this.Container = Container;
        this.Detach = Detach;
        this.Privileged = Privileged;
        this.Tty = Tty;
        this.User = User;
    }

    /**
     * 
     * 
     * @return
     *     The AttachStderr
     */
    @JsonProperty("AttachStderr")
    public Boolean getAttachStderr() {
        return AttachStderr;
    }

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

    /**
     * 
     * 
     * @return
     *     The AttachStdin
     */
    @JsonProperty("AttachStdin")
    public Boolean getAttachStdin() {
        return AttachStdin;
    }

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

    /**
     * 
     * 
     * @return
     *     The AttachStdout
     */
    @JsonProperty("AttachStdout")
    public Boolean getAttachStdout() {
        return AttachStdout;
    }

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

    /**
     * 
     * 
     * @return
     *     The Cmd
     */
    @JsonProperty("Cmd")
    public List getCmd() {
        return Cmd;
    }

    /**
     * 
     * 
     * @param Cmd
     *     The Cmd
     */
    @JsonProperty("Cmd")
    public void setCmd(List Cmd) {
        this.Cmd = Cmd;
    }

    /**
     * 
     * 
     * @return
     *     The Container
     */
    @JsonProperty("Container")
    public String getContainer() {
        return Container;
    }

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

    /**
     * 
     * 
     * @return
     *     The Detach
     */
    @JsonProperty("Detach")
    public Boolean getDetach() {
        return Detach;
    }

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

    /**
     * 
     * 
     * @return
     *     The Privileged
     */
    @JsonProperty("Privileged")
    public Boolean getPrivileged() {
        return Privileged;
    }

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

    /**
     * 
     * 
     * @return
     *     The Tty
     */
    @JsonProperty("Tty")
    public Boolean getTty() {
        return Tty;
    }

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

    /**
     * 
     * 
     * @return
     *     The User
     */
    @JsonProperty("User")
    public String getUser() {
        return User;
    }

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

    @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