com.github.dockerjava.api.model.Info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import javax.annotation.CheckForNull;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* Used for `/info`
*
* @author Konstantin Pelykh ([email protected])
*/
@JsonInclude(Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Info implements Serializable {
private static final long serialVersionUID = 1L;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_22}
*/
@JsonProperty("Architecture")
private String architecture;
@JsonProperty("Containers")
private Integer containers;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_22}
*/
@JsonProperty("ContainersStopped")
private Integer containersStopped;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_22}
*/
@JsonProperty("ContainersPaused")
private Integer containersPaused;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_22}
*/
@JsonProperty("ContainersRunning")
private Integer containersRunning;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_20}
*/
@JsonProperty("CpuCfsPeriod")
private Boolean cpuCfsPeriod;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_20}
*/
@JsonProperty("CpuCfsQuota")
private Boolean cpuCfsQuota;
@JsonProperty("CPUShares")
private Boolean cpuShares;
@JsonProperty("CPUSet")
private Boolean cpuSet;
@JsonProperty("Debug")
private Boolean debug;
/**
* @since {@link com.github.dockerjava.core.RemoteApiVersion#VERSION_1_21}
*/
@JsonProperty("DiscoveryBackend")
private String discoveryBackend;
@JsonProperty("DockerRootDir")
private String dockerRootDir;
@JsonProperty("Driver")
private String driver;
@JsonProperty("DriverStatus")
private List> driverStatuses;
@JsonProperty("SystemStatus")
private List