package io.grhodes.code.deploy.dashboard.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.lang.Integer; import java.lang.String; import java.util.Date; import java.util.List; import lombok.Data; import me.geso.tinyvalidator.constraints.NotNull; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/grhodes/code-deploy-dashboard/0.0.1-dev/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 * */ @Data @JsonIgnoreProperties( ignoreUnknown = true ) public class Deployment { @NotNull protected String id; @NotNull protected Date created; @NotNull protected Date started; @NotNull protected Date completed; @NotNull protected String creator; @NotNull protected String deploymentGroupName; @NotNull protected Integer failed; @NotNull protected Integer skipped; @NotNull protected Integer inProgress; @NotNull protected Integer pending; @NotNull protected Integer succeeded; @NotNull protected String status; protected String errorMessage; @NotNull protected String revisionLocation; @NotNull protected List instances; public Deployment(String id, Date created, Date started, Date completed, String creator, String deploymentGroupName, Integer failed, Integer skipped, Integer inProgress, Integer pending, Integer succeeded, String status, String errorMessage, String revisionLocation, List instances) { this.id = id; this.created = created; this.started = started; this.completed = completed; this.creator = creator; this.deploymentGroupName = deploymentGroupName; this.failed = failed; this.skipped = skipped; this.inProgress = inProgress; this.pending = pending; this.succeeded = succeeded; this.status = status; this.errorMessage = errorMessage; this.revisionLocation = revisionLocation; this.instances = instances; } public Deployment() { } /** * The deployment id */ public String getId() { return id; } public void setId(String id) { this.id = id; } /** * Date deployment created */ public Date getCreated() { return created; } public void setCreated(Date created) { this.created = created; } /** * Date deployment started */ public Date getStarted() { return started; } public void setStarted(Date started) { this.started = started; } /** * Date deployment created */ public Date getCompleted() { return completed; } public void setCompleted(Date completed) { this.completed = completed; } public String getCreator() { return creator; } public void setCreator(String creator) { this.creator = creator; } /** * The deployment group name */ public String getDeploymentGroupName() { return deploymentGroupName; } public void setDeploymentGroupName(String deploymentGroupName) { this.deploymentGroupName = deploymentGroupName; } /** * The number of instances failed deployment */ public Integer getFailed() { return failed; } public void setFailed(Integer failed) { this.failed = failed; } /** * The number of instances skipped deployment */ public Integer getSkipped() { return skipped; } public void setSkipped(Integer skipped) { this.skipped = skipped; } /** * The number of instances currently deploying */ public Integer getInProgress() { return inProgress; } public void setInProgress(Integer inProgress) { this.inProgress = inProgress; } /** * The number of instances pending deployment */ public Integer getPending() { return pending; } public void setPending(Integer pending) { this.pending = pending; } /** * The number of instances succeeded at deployment */ public Integer getSucceeded() { return succeeded; } public void setSucceeded(Integer succeeded) { this.succeeded = succeeded; } /** * The status of the deployment */ public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } /** * A error message if the deployment failed */ public String getErrorMessage() { return errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } /** * The location of the revision */ public String getRevisionLocation() { return revisionLocation; } public void setRevisionLocation(String revisionLocation) { this.revisionLocation = revisionLocation; } /** * The instances involved in this deployment */ public List getInstances() { return instances; } public void setInstances(List instances) { this.instances = instances; } }