ir.moke.jpodman.pojo.Container Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpodman Show documentation
Show all versions of jpodman Show documentation
Communicate with podman rest api service
The newest version!
package ir.moke.jpodman.pojo;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
public class Container {
private String name;
private List command;
@JsonProperty("dns_option")
private List dnsOption;
@JsonProperty("dns_search")
private List dnsSearch;
@JsonProperty("dns_server")
private List dnsServer;
private List entrypoint;
@JsonProperty("env")
private Map environments;
@JsonProperty("env_host")
private boolean useHostEnvironments;
private Map expose;
@JsonProperty("hostadd")
private List hosts;
private String hostname;
private String image;
private String pod;
private Boolean privileged;
private Boolean remove;
private String user;
@JsonProperty("work_dir")
private String workDir;
@JsonProperty("volumes")
private List volumes;
@JsonProperty("static_ip")
private String staticIp;
@JsonProperty("portmappings")
private List portMappings;
@JsonProperty("Networks")
private Map networks;
@JsonProperty("netns")
private Map netns;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getCommand() {
return command;
}
public void setCommand(List command) {
this.command = command;
}
public List getDnsOption() {
return dnsOption;
}
public void setDnsOption(List dnsOption) {
this.dnsOption = dnsOption;
}
public List getDnsSearch() {
return dnsSearch;
}
public void setDnsSearch(List dnsSearch) {
this.dnsSearch = dnsSearch;
}
public List getDnsServer() {
return dnsServer;
}
public void setDnsServer(List dnsServer) {
this.dnsServer = dnsServer;
}
public List getEntrypoint() {
return entrypoint;
}
public void setEntrypoint(List entrypoint) {
this.entrypoint = entrypoint;
}
public Map getEnvironments() {
return environments;
}
public void setEnvironments(Map environments) {
this.environments = environments;
}
public boolean isUseHostEnvironments() {
return useHostEnvironments;
}
public void setUseHostEnvironments(boolean useHostEnvironments) {
this.useHostEnvironments = useHostEnvironments;
}
public Map getExpose() {
return expose;
}
public void setExpose(Map expose) {
this.expose = expose;
}
public List getHosts() {
return hosts;
}
public void setHosts(List hosts) {
this.hosts = hosts;
}
public String getHostname() {
return hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
public String getPod() {
return pod;
}
public void setPod(String pod) {
this.pod = pod;
}
public Boolean getPrivileged() {
return privileged;
}
public void setPrivileged(Boolean privileged) {
this.privileged = privileged;
}
public Boolean getRemove() {
return remove;
}
public void setRemove(Boolean remove) {
this.remove = remove;
}
public String getUser() {
return user;
}
public void setUser(String user) {
this.user = user;
}
public String getWorkDir() {
return workDir;
}
public void setWorkDir(String workDir) {
this.workDir = workDir;
}
public List getVolumes() {
return volumes;
}
public void setVolumes(List volumes) {
this.volumes = volumes;
}
public String getStaticIp() {
return staticIp;
}
public void setStaticIp(String staticIp) {
this.staticIp = staticIp;
}
public List getPortMappings() {
return portMappings;
}
public void setPortMappings(List portMappings) {
this.portMappings = portMappings;
}
public Map getNetworks() {
return networks;
}
public void setNetworks(Map networks) {
this.networks = networks;
}
public Map getNetns() {
return netns;
}
public void setNetns(Map netns) {
this.netns = netns;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy