public class MailResponse extends Object implements Serializable
| Constructor and Description |
|---|
MailResponse() |
| Modifier and Type | Method and Description |
|---|---|
MailResponse |
addLabelsItem(Long labelsItem) |
MailResponse |
addRecipientsItem(Recipient recipientsItem) |
MailResponse |
body(String body) |
boolean |
equals(Object o) |
MailResponse |
from(Integer from) |
String |
getBody()
Mail's body
|
Integer |
getFrom()
From whom the mail was sent
|
List<Long> |
getLabels()
Labels attached to the mail
|
Boolean |
getRead()
Whether the mail is flagged as read
|
List<Recipient> |
getRecipients()
Recipients of the mail
|
String |
getSubject()
Mail subject
|
java.time.OffsetDateTime |
getTimestamp()
When the mail was sent
|
int |
hashCode() |
MailResponse |
labels(List<Long> labels) |
MailResponse |
read(Boolean read) |
MailResponse |
recipients(List<Recipient> recipients) |
void |
setBody(String body) |
void |
setFrom(Integer from) |
void |
setLabels(List<Long> labels) |
void |
setRead(Boolean read) |
void |
setRecipients(List<Recipient> recipients) |
void |
setSubject(String subject) |
void |
setTimestamp(java.time.OffsetDateTime timestamp) |
MailResponse |
subject(String subject) |
MailResponse |
timestamp(java.time.OffsetDateTime timestamp) |
String |
toString() |
public MailResponse body(String body)
public String getBody()
public void setBody(String body)
public MailResponse from(Integer from)
public Integer getFrom()
public void setFrom(Integer from)
public MailResponse labels(List<Long> labels)
public MailResponse addLabelsItem(Long labelsItem)
public MailResponse read(Boolean read)
public Boolean getRead()
public void setRead(Boolean read)
public MailResponse recipients(List<Recipient> recipients)
public MailResponse addRecipientsItem(Recipient recipientsItem)
public MailResponse subject(String subject)
public String getSubject()
public void setSubject(String subject)
public MailResponse timestamp(java.time.OffsetDateTime timestamp)
public java.time.OffsetDateTime getTimestamp()
public void setTimestamp(java.time.OffsetDateTime timestamp)
Copyright © 2017. All Rights Reserved.