com.tinypass.client.publisher.model.DeploymentDetails Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.DeploymentAppDetails;
import com.tinypass.client.publisher.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class DeploymentDetails {
/* The global template deployment ID */
private String deploymentId = null;
/* The global template deployment status (\"pending\", \"deploying\", \"error\", or \"success\") */
private String status = null;
/* The template ID */
private String offerTemplateId = null;
/* The template name */
private String offerTemplateName = null;
/* The description */
private String description = null;
/* The template version */
private Integer version = null;
/* The update date */
private Integer updateDate = null;
private User updateBy = null;
private List applications = new ArrayList();
public String getDeploymentId() {
return deploymentId;
}
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getOfferTemplateId() {
return offerTemplateId;
}
public void setOfferTemplateId(String offerTemplateId) {
this.offerTemplateId = offerTemplateId;
}
public String getOfferTemplateName() {
return offerTemplateName;
}
public void setOfferTemplateName(String offerTemplateName) {
this.offerTemplateName = offerTemplateName;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public Integer getUpdateDate() {
return updateDate;
}
public void setUpdateDate(Integer updateDate) {
this.updateDate = updateDate;
}
public User getUpdateBy() {
return updateBy;
}
public void setUpdateBy(User updateBy) {
this.updateBy = updateBy;
}
public List getApplications() {
return applications;
}
public void setApplications(List applications) {
this.applications = applications;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeploymentDetails {\n");
sb.append(" deploymentId: ").append(deploymentId).append("\n");
sb.append(" status: ").append(status).append("\n");
sb.append(" offerTemplateId: ").append(offerTemplateId).append("\n");
sb.append(" offerTemplateName: ").append(offerTemplateName).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" version: ").append(version).append("\n");
sb.append(" updateDate: ").append(updateDate).append("\n");
sb.append(" updateBy: ").append(updateBy).append("\n");
sb.append(" applications: ").append(applications).append("\n");
sb.append("}\n");
return sb.toString();
}
}