com.tinypass.client.publisher.model.Email 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class Email {
/* 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 default template id */
private String defaultTemplateId = 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 String getDefaultTemplateId() {
return defaultTemplateId;
}
public void setDefaultTemplateId(String defaultTemplateId) {
this.defaultTemplateId = defaultTemplateId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Email {\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(" defaultTemplateId: ").append(defaultTemplateId).append("\n");
sb.append("}\n");
return sb.toString();
}
}