All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.docker.api.model.Image Maven / Gradle / Ivy

There is a newer version: 1.0.15
Show newest version

package io.fabric8.docker.api.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.docker.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "Created",
    "Id",
    "Labels",
    "ParentId",
    "RepoDigests",
    "RepoTags",
    "Size",
    "VirtualSize"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = true, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.docker.api.builder", inline = {
    @Inline(type = Doneable.class, prefix = "Doneable", value = "done")
})
public class Image implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("Created")
    private Long Created;
    /**
     * 
     * 
     */
    @JsonProperty("Id")
    private java.lang.String Id;
    /**
     * 
     * 
     */
    @JsonProperty("Labels")
    @Valid
    private Map Labels;
    /**
     * 
     * 
     */
    @JsonProperty("ParentId")
    private java.lang.String ParentId;
    /**
     * 
     * 
     */
    @JsonProperty("RepoDigests")
    @Valid
    private List RepoDigests = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("RepoTags")
    @Valid
    private List RepoTags = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("Size")
    private Long Size;
    /**
     * 
     * 
     */
    @JsonProperty("VirtualSize")
    private Long VirtualSize;
    @JsonIgnore
    private Map additionalProperties = new HashMap();

    /**
     * No args constructor for use in serialization
     * 
     */
    public Image() {
    }

    /**
     * 
     * @param ParentId
     * @param RepoDigests
     * @param VirtualSize
     * @param RepoTags
     * @param Size
     * @param Labels
     * @param Id
     * @param Created
     */
    public Image(Long Created, java.lang.String Id, Map Labels, java.lang.String ParentId, List RepoDigests, List RepoTags, Long Size, Long VirtualSize) {
        this.Created = Created;
        this.Id = Id;
        this.Labels = Labels;
        this.ParentId = ParentId;
        this.RepoDigests = RepoDigests;
        this.RepoTags = RepoTags;
        this.Size = Size;
        this.VirtualSize = VirtualSize;
    }

    /**
     * 
     * 
     * @return
     *     The Created
     */
    @JsonProperty("Created")
    public Long getCreated() {
        return Created;
    }

    /**
     * 
     * 
     * @param Created
     *     The Created
     */
    @JsonProperty("Created")
    public void setCreated(Long Created) {
        this.Created = Created;
    }

    /**
     * 
     * 
     * @return
     *     The Id
     */
    @JsonProperty("Id")
    public java.lang.String getId() {
        return Id;
    }

    /**
     * 
     * 
     * @param Id
     *     The Id
     */
    @JsonProperty("Id")
    public void setId(java.lang.String Id) {
        this.Id = Id;
    }

    /**
     * 
     * 
     * @return
     *     The Labels
     */
    @JsonProperty("Labels")
    public Map getLabels() {
        return Labels;
    }

    /**
     * 
     * 
     * @param Labels
     *     The Labels
     */
    @JsonProperty("Labels")
    public void setLabels(Map Labels) {
        this.Labels = Labels;
    }

    /**
     * 
     * 
     * @return
     *     The ParentId
     */
    @JsonProperty("ParentId")
    public java.lang.String getParentId() {
        return ParentId;
    }

    /**
     * 
     * 
     * @param ParentId
     *     The ParentId
     */
    @JsonProperty("ParentId")
    public void setParentId(java.lang.String ParentId) {
        this.ParentId = ParentId;
    }

    /**
     * 
     * 
     * @return
     *     The RepoDigests
     */
    @JsonProperty("RepoDigests")
    public List getRepoDigests() {
        return RepoDigests;
    }

    /**
     * 
     * 
     * @param RepoDigests
     *     The RepoDigests
     */
    @JsonProperty("RepoDigests")
    public void setRepoDigests(List RepoDigests) {
        this.RepoDigests = RepoDigests;
    }

    /**
     * 
     * 
     * @return
     *     The RepoTags
     */
    @JsonProperty("RepoTags")
    public List getRepoTags() {
        return RepoTags;
    }

    /**
     * 
     * 
     * @param RepoTags
     *     The RepoTags
     */
    @JsonProperty("RepoTags")
    public void setRepoTags(List RepoTags) {
        this.RepoTags = RepoTags;
    }

    /**
     * 
     * 
     * @return
     *     The Size
     */
    @JsonProperty("Size")
    public Long getSize() {
        return Size;
    }

    /**
     * 
     * 
     * @param Size
     *     The Size
     */
    @JsonProperty("Size")
    public void setSize(Long Size) {
        this.Size = Size;
    }

    /**
     * 
     * 
     * @return
     *     The VirtualSize
     */
    @JsonProperty("VirtualSize")
    public Long getVirtualSize() {
        return VirtualSize;
    }

    /**
     * 
     * 
     * @param VirtualSize
     *     The VirtualSize
     */
    @JsonProperty("VirtualSize")
    public void setVirtualSize(Long VirtualSize) {
        this.VirtualSize = VirtualSize;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(java.lang.String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy