com.kpelykh.docker.client.model.Version 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.kpelykh.docker.client.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* @author Konstantin Pelykh ([email protected])
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Version {
@JsonProperty("Version")
private String version;
@JsonProperty("GitCommit")
private String gitCommit;
@JsonProperty("GoVersion")
private String goVersion;
@JsonProperty("KernelVersion")
private String kernelVersion;
@JsonProperty("Arch")
private String arch;
@JsonProperty("Os")
private String operatingSystem;
@JsonProperty("ApiVersion")
private String apiVersion;
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getGitCommit() {
return gitCommit;
}
public void setGitCommit(String gitCommit) {
this.gitCommit = gitCommit;
}
public String getGoVersion() {
return goVersion;
}
public void setGoVersion(String goVersion) {
this.goVersion = goVersion;
}
public String getKernelVersion() {
return kernelVersion;
}
public void setKernelVersion(String kernelVersion) {
this.kernelVersion = kernelVersion;
}
public String getArch() {
return arch;
}
public void setArch(String arch) {
this.arch = arch;
}
public String getOperatingSystem() {
return operatingSystem;
}
public void setOperatingSystem(String operatingSystem) {
this.operatingSystem = operatingSystem;
}
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public String getApiVersion() {
return apiVersion;
}
@Override
public String toString() {
return "Version{" +
"version='" + version + '\'' +
", gitCommit='" + gitCommit + '\'' +
", goVersion='" + goVersion + '\'' +
", kernelVersion='" + kernelVersion + '\'' +
", arch='" + arch + '\'' +
", operatingSystem='" + operatingSystem + '\'' +
", apiVersion='" + apiVersion + '\'' +
'}';
}
}