com.tinypass.client.publisher.model.GlobalTemplate 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.OfferTemplateContentField;
import com.tinypass.client.publisher.model.OfferTemplateVariant;
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 GlobalTemplate {
/* The template ID */
private String offerTemplateId = null;
/* Is template token type */
private String tokenType = null;
/* The application ID */
private String aid = null;
/* The application name */
private String name = null;
/* The application logo */
private String appLogo = null;
/* The template name */
private String offerTemplateName = null;
/* The description */
private String description = null;
/* Whether the object is deleted */
private Boolean deleted = null;
/* The creation date */
private Integer createDate = null;
private User createBy = null;
/* The update date */
private Integer updateDate = null;
private User updateBy = null;
/* publish_date */
private Integer publishDate = null;
/* The version */
private Integer version = null;
/* The type */
private String type = null;
/* The type */
private String typeId = null;
/* The category ID */
private String categoryId = null;
/* The URL of the thumbnail image */
private String thumbnailImageUrl = null;
/* The URL of the live thumbnail image */
private String liveThumbnailImageUrl = null;
/* The status */
private String status = null;
/* Published or not */
private Boolean isPublished = null;
/* The number of the template variants */
private Integer countVariants = null;
private List variantList = new ArrayList();
/* The number of the content fields in the template */
private Integer countContentFields = null;
private List contentFieldList = new ArrayList();
/* The global template deployment ID */
private String deploymentId = null;
public String getOfferTemplateId() {
return offerTemplateId;
}
public void setOfferTemplateId(String offerTemplateId) {
this.offerTemplateId = offerTemplateId;
}
public String getTokenType() {
return tokenType;
}
public void setTokenType(String tokenType) {
this.tokenType = tokenType;
}
public String getAid() {
return aid;
}
public void setAid(String aid) {
this.aid = aid;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAppLogo() {
return appLogo;
}
public void setAppLogo(String appLogo) {
this.appLogo = appLogo;
}
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 Boolean getDeleted() {
return deleted;
}
public void setDeleted(Boolean deleted) {
this.deleted = deleted;
}
public Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
public User getCreateBy() {
return createBy;
}
public void setCreateBy(User createBy) {
this.createBy = createBy;
}
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 Integer getPublishDate() {
return publishDate;
}
public void setPublishDate(Integer publishDate) {
this.publishDate = publishDate;
}
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getTypeId() {
return typeId;
}
public void setTypeId(String typeId) {
this.typeId = typeId;
}
public String getCategoryId() {
return categoryId;
}
public void setCategoryId(String categoryId) {
this.categoryId = categoryId;
}
public String getThumbnailImageUrl() {
return thumbnailImageUrl;
}
public void setThumbnailImageUrl(String thumbnailImageUrl) {
this.thumbnailImageUrl = thumbnailImageUrl;
}
public String getLiveThumbnailImageUrl() {
return liveThumbnailImageUrl;
}
public void setLiveThumbnailImageUrl(String liveThumbnailImageUrl) {
this.liveThumbnailImageUrl = liveThumbnailImageUrl;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Boolean getIsPublished() {
return isPublished;
}
public void setIsPublished(Boolean isPublished) {
this.isPublished = isPublished;
}
public Integer getCountVariants() {
return countVariants;
}
public void setCountVariants(Integer countVariants) {
this.countVariants = countVariants;
}
public List getVariantList() {
return variantList;
}
public void setVariantList(List variantList) {
this.variantList = variantList;
}
public Integer getCountContentFields() {
return countContentFields;
}
public void setCountContentFields(Integer countContentFields) {
this.countContentFields = countContentFields;
}
public List getContentFieldList() {
return contentFieldList;
}
public void setContentFieldList(List contentFieldList) {
this.contentFieldList = contentFieldList;
}
public String getDeploymentId() {
return deploymentId;
}
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GlobalTemplate {\n");
sb.append(" offerTemplateId: ").append(offerTemplateId).append("\n");
sb.append(" tokenType: ").append(tokenType).append("\n");
sb.append(" aid: ").append(aid).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" appLogo: ").append(appLogo).append("\n");
sb.append(" offerTemplateName: ").append(offerTemplateName).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" deleted: ").append(deleted).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" createBy: ").append(createBy).append("\n");
sb.append(" updateDate: ").append(updateDate).append("\n");
sb.append(" updateBy: ").append(updateBy).append("\n");
sb.append(" publishDate: ").append(publishDate).append("\n");
sb.append(" version: ").append(version).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" typeId: ").append(typeId).append("\n");
sb.append(" categoryId: ").append(categoryId).append("\n");
sb.append(" thumbnailImageUrl: ").append(thumbnailImageUrl).append("\n");
sb.append(" liveThumbnailImageUrl: ").append(liveThumbnailImageUrl).append("\n");
sb.append(" status: ").append(status).append("\n");
sb.append(" isPublished: ").append(isPublished).append("\n");
sb.append(" countVariants: ").append(countVariants).append("\n");
sb.append(" variantList: ").append(variantList).append("\n");
sb.append(" countContentFields: ").append(countContentFields).append("\n");
sb.append(" contentFieldList: ").append(contentFieldList).append("\n");
sb.append(" deploymentId: ").append(deploymentId).append("\n");
sb.append("}\n");
return sb.toString();
}
}