com.tinypass.client.publisher.model.AdvancedEmailModel 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.TemplateVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class AdvancedEmailModel {
/* The email ID */
private Integer emailId = null;
/* The email name */
private String name = null;
/* The email caption */
private String caption = null;
/* The email description */
private String description = null;
/* Publisher config */
private String publisherConfig = null;
/* Email x days */
private Integer xdays = null;
/* Email x days for default template */
private Integer defaultXdays = null;
private List templateVersions = new ArrayList();
/* Email default template id */
private String defaultTemplateId = null;
/* Email system template id */
private String systemTemplateId = null;
/* The localized email caption */
private String captionLocalized = null;
/* The localized email description */
private String descriptionLocalized = null;
public Integer getEmailId() {
return emailId;
}
public void setEmailId(Integer emailId) {
this.emailId = emailId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCaption() {
return caption;
}
public void setCaption(String caption) {
this.caption = caption;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getPublisherConfig() {
return publisherConfig;
}
public void setPublisherConfig(String publisherConfig) {
this.publisherConfig = publisherConfig;
}
public Integer getXdays() {
return xdays;
}
public void setXdays(Integer xdays) {
this.xdays = xdays;
}
public Integer getDefaultXdays() {
return defaultXdays;
}
public void setDefaultXdays(Integer defaultXdays) {
this.defaultXdays = defaultXdays;
}
public List getTemplateVersions() {
return templateVersions;
}
public void setTemplateVersions(List templateVersions) {
this.templateVersions = templateVersions;
}
public String getDefaultTemplateId() {
return defaultTemplateId;
}
public void setDefaultTemplateId(String defaultTemplateId) {
this.defaultTemplateId = defaultTemplateId;
}
public String getSystemTemplateId() {
return systemTemplateId;
}
public void setSystemTemplateId(String systemTemplateId) {
this.systemTemplateId = systemTemplateId;
}
public String getCaptionLocalized() {
return captionLocalized;
}
public void setCaptionLocalized(String captionLocalized) {
this.captionLocalized = captionLocalized;
}
public String getDescriptionLocalized() {
return descriptionLocalized;
}
public void setDescriptionLocalized(String descriptionLocalized) {
this.descriptionLocalized = descriptionLocalized;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdvancedEmailModel {\n");
sb.append(" emailId: ").append(emailId).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" caption: ").append(caption).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" publisherConfig: ").append(publisherConfig).append("\n");
sb.append(" xdays: ").append(xdays).append("\n");
sb.append(" defaultXdays: ").append(defaultXdays).append("\n");
sb.append(" templateVersions: ").append(templateVersions).append("\n");
sb.append(" defaultTemplateId: ").append(defaultTemplateId).append("\n");
sb.append(" systemTemplateId: ").append(systemTemplateId).append("\n");
sb.append(" captionLocalized: ").append(captionLocalized).append("\n");
sb.append(" descriptionLocalized: ").append(descriptionLocalized).append("\n");
sb.append("}\n");
return sb.toString();
}
}