package com.gilt.ionroller.api.v1.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.String; import java.util.Date; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.0.1 * User agent: apibuilder app.apibuilder.io/gilt/ionroller-api/1.0.1/java_aws_lambda_pojo_client * * WARNING: not all features (notably unions) and data types work with the java generator yet. * Java POJO generator is designed to be used with AWS Lambdas. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact daniel.kirby@gilt.com * * A release of a particular tag of a Docker image */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Release { @NotNull protected String image; @NotNull protected String tag; @NotNull protected Date config; protected RolloutStatus rolloutStatus; public Release(String image, String tag, Date config, RolloutStatus rolloutStatus) { this.image = image; this.tag = tag; this.config = config; this.rolloutStatus = rolloutStatus; } public Release() { } /** * The Docker repository and name of images to be released */ public String getImage() { return image; } public void setImage(String image) { this.image = image; } /** * The tag for the image to be released */ public String getTag() { return tag; } public void setTag(String tag) { this.tag = tag; } /** * Configuration timestamp */ public Date getConfig() { return config; } public void setConfig(Date config) { this.config = config; } /** * Current rollout status */ public RolloutStatus getRolloutStatus() { return rolloutStatus; } public void setRolloutStatus(RolloutStatus rolloutStatus) { this.rolloutStatus = rolloutStatus; } }