com.tinypass.client.publisher.model.ChurnPreventionEmail 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.ChurnPreventionTemplateVersion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class ChurnPreventionEmail {
/* Churn prevention email id */
private Integer emailId = null;
/* Churn prevention email name */
private String emailName = null;
/* Churn prevention email template id */
private String templateId = null;
private List versions = new ArrayList();
public Integer getEmailId() {
return emailId;
}
public void setEmailId(Integer emailId) {
this.emailId = emailId;
}
public String getEmailName() {
return emailName;
}
public void setEmailName(String emailName) {
this.emailName = emailName;
}
public String getTemplateId() {
return templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
public List getVersions() {
return versions;
}
public void setVersions(List versions) {
this.versions = versions;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ChurnPreventionEmail {\n");
sb.append(" emailId: ").append(emailId).append("\n");
sb.append(" emailName: ").append(emailName).append("\n");
sb.append(" templateId: ").append(templateId).append("\n");
sb.append(" versions: ").append(versions).append("\n");
sb.append("}\n");
return sb.toString();
}
}