com.github.dockerjava.api.model.Image Maven / Gradle / Ivy
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.io.Serializable;
import java.util.Map;
/**
*
* @author Konstantin Pelykh ([email protected])
*
*/
@EqualsAndHashCode
@ToString
public class Image extends DockerObject 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("RepoDigests")
private String[] repoDigests;
@JsonProperty("Size")
private Long size;
@JsonProperty("VirtualSize")
private Long virtualSize;
@JsonProperty("SharedSize")
private Long sharedSize;
@JsonProperty("Labels")
public Map labels;
@JsonProperty("Containers")
private Integer containers;
public String getId() {
return id;
}
public String[] getRepoTags() {
return repoTags;
}
public String[] getRepoDigests() {
return repoDigests;
}
public String getParentId() {
return parentId;
}
public Long getCreated() {
return created;
}
public Long getSize() {
return size;
}
public Long getVirtualSize() {
return virtualSize;
}
public Long getSharedSize() {
return sharedSize;
}
public Map getLabels() {
return labels;
}
public Integer getContainers() {
return containers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy