com.tinypass.client.publisher.model.Mail 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 Mail {
/* Email subject */
private String emailSubject = null;
/* Email body */
private String emailBody = null;
public String getEmailSubject() {
return emailSubject;
}
public void setEmailSubject(String emailSubject) {
this.emailSubject = emailSubject;
}
public String getEmailBody() {
return emailBody;
}
public void setEmailBody(String emailBody) {
this.emailBody = emailBody;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Mail {\n");
sb.append(" emailSubject: ").append(emailSubject).append("\n");
sb.append(" emailBody: ").append(emailBody).append("\n");
sb.append("}\n");
return sb.toString();
}
}