@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-04-02T22:56:45.878Z[GMT]") public class Email extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ANALYSIS |
static String |
SERIALIZED_NAME_ATTACHMENTS |
static String |
SERIALIZED_NAME_BCC |
static String |
SERIALIZED_NAME_BODY |
static String |
SERIALIZED_NAME_BODY_M_D5_HASH |
static String |
SERIALIZED_NAME_CC |
static String |
SERIALIZED_NAME_CHARSET |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_FROM |
static String |
SERIALIZED_NAME_HEADERS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_IS_H_T_M_L |
static String |
SERIALIZED_NAME_READ |
static String |
SERIALIZED_NAME_REPLY_TO |
static String |
SERIALIZED_NAME_SUBJECT |
static String |
SERIALIZED_NAME_TEAM_ACCESS |
static String |
SERIALIZED_NAME_TO |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
| Constructor and Description |
|---|
Email() |
| Modifier and Type | Method and Description |
|---|---|
Email |
addAttachmentsItem(String attachmentsItem) |
Email |
addBccItem(String bccItem) |
Email |
addCcItem(String ccItem) |
Email |
addToItem(String toItem) |
Email |
analysis(EmailAnalysis analysis) |
Email |
attachments(List<String> attachments) |
Email |
bcc(List<String> bcc) |
Email |
body(String body) |
Email |
bodyMD5Hash(String bodyMD5Hash) |
Email |
cc(List<String> cc) |
Email |
charset(String charset) |
Email |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
Email |
from(String from) |
EmailAnalysis |
getAnalysis()
Get analysis
|
List<String> |
getAttachments()
List of IDs of attachments found in the email.
|
List<String> |
getBcc()
List of `BCC` recipients email was addressed to
|
String |
getBody()
The body of the email message
|
String |
getBodyMD5Hash()
A hash signature of the email message
|
List<String> |
getCc()
List of `CC` recipients email was addressed to
|
String |
getCharset()
Detected character set of the email body such as UTF-8
|
OffsetDateTime |
getCreatedAt()
When was the email received by MailSlurp
|
String |
getFrom()
Who the email was sent from
|
Map<String,String> |
getHeaders()
Get headers
|
UUID |
getId()
ID of the email
|
UUID |
getInboxId()
ID of the inbox that received the email
|
Boolean |
getIsHTML()
Was HTML sent in the email body
|
Boolean |
getRead()
Has the email been viewed ever.
|
String |
getReplyTo()
The replyTo field on the received email
|
String |
getSubject()
The subject line of the email message
|
Boolean |
getTeamAccess()
Can the email be accessed by organization team members
|
List<String> |
getTo()
List of `To` recipients email was addressed to
|
OffsetDateTime |
getUpdatedAt()
When was the email last updated
|
UUID |
getUserId()
ID of user that email belongs
|
int |
hashCode() |
Email |
headers(Map<String,String> headers) |
Email |
id(UUID id) |
Email |
inboxId(UUID inboxId) |
Email |
isHTML(Boolean isHTML) |
Email |
putHeadersItem(String key,
String headersItem) |
Email |
read(Boolean read) |
Email |
replyTo(String replyTo) |
void |
setAnalysis(EmailAnalysis analysis) |
void |
setAttachments(List<String> attachments) |
void |
setBcc(List<String> bcc) |
void |
setBody(String body) |
void |
setBodyMD5Hash(String bodyMD5Hash) |
void |
setCc(List<String> cc) |
void |
setCharset(String charset) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setFrom(String from) |
void |
setHeaders(Map<String,String> headers) |
void |
setId(UUID id) |
void |
setInboxId(UUID inboxId) |
void |
setIsHTML(Boolean isHTML) |
void |
setRead(Boolean read) |
void |
setReplyTo(String replyTo) |
void |
setSubject(String subject) |
void |
setTeamAccess(Boolean teamAccess) |
void |
setTo(List<String> to) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
Email |
subject(String subject) |
Email |
teamAccess(Boolean teamAccess) |
Email |
to(List<String> to) |
String |
toString() |
Email |
updatedAt(OffsetDateTime updatedAt) |
Email |
userId(UUID userId) |
public static final String SERIALIZED_NAME_ANALYSIS
public static final String SERIALIZED_NAME_ATTACHMENTS
public static final String SERIALIZED_NAME_BCC
public static final String SERIALIZED_NAME_BODY
public static final String SERIALIZED_NAME_BODY_M_D5_HASH
public static final String SERIALIZED_NAME_CC
public static final String SERIALIZED_NAME_CHARSET
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_HEADERS
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_IS_H_T_M_L
public static final String SERIALIZED_NAME_READ
public static final String SERIALIZED_NAME_REPLY_TO
public static final String SERIALIZED_NAME_SUBJECT
public static final String SERIALIZED_NAME_TEAM_ACCESS
public static final String SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_USER_ID
public Email analysis(EmailAnalysis analysis)
@Nullable public EmailAnalysis getAnalysis()
public void setAnalysis(EmailAnalysis analysis)
@Nullable public List<String> getAttachments()
@Nullable public List<String> getBcc()
public void setBody(String body)
@Nullable public String getBodyMD5Hash()
public void setBodyMD5Hash(String bodyMD5Hash)
@Nullable public List<String> getCc()
@Nullable public String getCharset()
public void setCharset(String charset)
public Email createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public void setFrom(String from)
public void setId(UUID id)
@Nullable public UUID getInboxId()
public void setInboxId(UUID inboxId)
public void setIsHTML(Boolean isHTML)
@Nullable public Boolean getRead()
public void setRead(Boolean read)
@Nullable public String getReplyTo()
public void setReplyTo(String replyTo)
@Nullable public String getSubject()
public void setSubject(String subject)
@Nullable public Boolean getTeamAccess()
public void setTeamAccess(Boolean teamAccess)
@Nullable public List<String> getTo()
public Email updatedAt(OffsetDateTime updatedAt)
@Nullable public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public void setUserId(UUID userId)
Copyright © 2021. All rights reserved.