com.github.dockerjava.api.model.Image Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.model;
import org.apache.commons.lang.builder.ToStringBuilder;
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 java.io.Serializable;
/**
*
* @author Konstantin Pelykh ([email protected])
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(Include.NON_NULL)
public class Image implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("Created")
private Long created;
@JsonProperty("Id")
private String id;
@JsonProperty("ParentId")
private String parentId;
@JsonProperty("RepoTags")
private String[] repoTags;
@JsonProperty("Size")
private Long size;
@JsonProperty("VirtualSize")
private Long virtualSize;
public String getId() {
return id;
}
public String[] getRepoTags() {
return repoTags;
}
public String getParentId() {
return parentId;
}
public Long getCreated() {
return created;
}
public Long getSize() {
return size;
}
public Long getVirtualSize() {
return virtualSize;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}