com.tinypass.client.publisher.model.MailLog 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.App;
import com.tinypass.client.publisher.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class MailLog {
/* Email id */
private String emailId = null;
/* The application ref */
private App app = null;
/* The user */
private User user = null;
/* Sender */
private String sender = null;
/* Recipient */
private String recipient = null;
/* Reply to */
private String replyTo = null;
/* The creation date */
private String createDate = null;
/* Date opened */
private String openDate = null;
/* Status */
private String status = null;
//public enum statusEnum { unknown, mock, sent, queued, scheduled, rejected, invalid, error, delivered, bounce, };
/* Status localized */
private String statusLocalized = null;
/* Reject reason */
private String rejectReason = null;
/* Email name */
private String emailName = null;
/* Subject */
private String subject = null;
/* Body */
private String body = null;
public String getEmailId() {
return emailId;
}
public void setEmailId(String emailId) {
this.emailId = emailId;
}
public App getApp() {
return app;
}
public void setApp(App app) {
this.app = app;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public String getSender() {
return sender;
}
public void setSender(String sender) {
this.sender = sender;
}
public String getRecipient() {
return recipient;
}
public void setRecipient(String recipient) {
this.recipient = recipient;
}
public String getReplyTo() {
return replyTo;
}
public void setReplyTo(String replyTo) {
this.replyTo = replyTo;
}
public String getCreateDate() {
return createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public String getOpenDate() {
return openDate;
}
public void setOpenDate(String openDate) {
this.openDate = openDate;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getStatusLocalized() {
return statusLocalized;
}
public void setStatusLocalized(String statusLocalized) {
this.statusLocalized = statusLocalized;
}
public String getRejectReason() {
return rejectReason;
}
public void setRejectReason(String rejectReason) {
this.rejectReason = rejectReason;
}
public String getEmailName() {
return emailName;
}
public void setEmailName(String emailName) {
this.emailName = emailName;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MailLog {\n");
sb.append(" emailId: ").append(emailId).append("\n");
sb.append(" app: ").append(app).append("\n");
sb.append(" user: ").append(user).append("\n");
sb.append(" sender: ").append(sender).append("\n");
sb.append(" recipient: ").append(recipient).append("\n");
sb.append(" replyTo: ").append(replyTo).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" openDate: ").append(openDate).append("\n");
sb.append(" status: ").append(status).append("\n");
sb.append(" statusLocalized: ").append(statusLocalized).append("\n");
sb.append(" rejectReason: ").append(rejectReason).append("\n");
sb.append(" emailName: ").append(emailName).append("\n");
sb.append(" subject: ").append(subject).append("\n");
sb.append(" body: ").append(body).append("\n");
sb.append("}\n");
return sb.toString();
}
}