com.tinypass.client.publisher.model.GlobalTemplateVersion 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.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class GlobalTemplateVersion {
/* The template ID */
private String offerTemplateId = null;
/* Is template token type */
private String tokenType = null;
/* The name */
private String name = null;
/* The description */
private String description = null;
/* The application ID */
private String aid = null;
/* The type */
private String type = null;
/* The template type ID */
private String typeId = null;
/* The category ID */
private String categoryId = null;
/* Whether the template is published */
private Boolean published = null;
/* publish_date */
private Integer publishDate = null;
/* The template version */
private Integer version = null;
/* The creation date */
private Integer createDate = null;
private User createBy = null;
/* The update date */
private Integer updateDate = null;
private User updateBy = null;
/* status */
private String status = 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 getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getAid() {
return aid;
}
public void setAid(String aid) {
this.aid = aid;
}
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 Boolean getPublished() {
return published;
}
public void setPublished(Boolean published) {
this.published = published;
}
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 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 String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GlobalTemplateVersion {\n");
sb.append(" offerTemplateId: ").append(offerTemplateId).append("\n");
sb.append(" tokenType: ").append(tokenType).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" aid: ").append(aid).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(" published: ").append(published).append("\n");
sb.append(" publishDate: ").append(publishDate).append("\n");
sb.append(" version: ").append(version).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(" status: ").append(status).append("\n");
sb.append("}\n");
return sb.toString();
}
}