package kr.wisestone.owl.monitor;
|
|
import com.google.common.collect.Lists;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* Created by wisestone on 2018-02-09.
|
*/
|
public class Email {
|
public Date received;
|
public String from;
|
public List<String> to = Lists.newArrayList();
|
public List<String> cc = Lists.newArrayList();
|
public String subject;
|
public String body;
|
public List<EmailAttachment> attachments = Lists.newArrayList();
|
|
public Email(){}
|
|
public Date getReceived() {
|
return received;
|
}
|
|
public void setReceived(Date received) {
|
this.received = received;
|
}
|
|
public String getFrom() {
|
return from;
|
}
|
|
public void setFrom(String from) {
|
this.from = from;
|
}
|
|
public List<String> getTo() {
|
return to;
|
}
|
|
public void setTo(List<String> to) {
|
this.to = to;
|
}
|
|
public List<String> getCc() {
|
return cc;
|
}
|
|
public void setCc(List<String> cc) {
|
this.cc = cc;
|
}
|
|
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;
|
}
|
|
public List<EmailAttachment> getAttachments() {
|
return attachments;
|
}
|
|
public void setAttachments(List<EmailAttachment> attachments) {
|
this.attachments = attachments;
|
}
|
}
|