@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-09T21:11:01.422Z[GMT]") public class Email extends Object
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 |
bodyExcerpt(String bodyExcerpt) |
Email |
bodyMD5Hash(String bodyMD5Hash) |
Email |
cc(List<String> cc) |
Email |
charset(String charset) |
Email |
createdAt(OffsetDateTime createdAt) |
Email |
domainId(UUID domainId) |
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 addresses that the email was addressed to.
|
String |
getBody()
The body of the email message as text parsed from the SMTP message body (does not include attachments).
|
String |
getBodyExcerpt()
An excerpt of the body of the email message for quick preview .
|
String |
getBodyMD5Hash()
A hash signature of the email message using MD5.
|
List<String> |
getCc()
List of `CC` recipients email addresses that the 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
|
UUID |
getDomainId()
ID of the domain that received the email
|
String |
getFrom()
Who the email was sent from.
|
Map<String,String> |
getHeaders()
Collection of SMTP headers attached to email
|
Boolean |
getHtml()
Get html
|
UUID |
getId()
ID of the email entity
|
UUID |
getInboxId()
ID of the inbox that received the email
|
Boolean |
getIsHTML()
Is the email body content type HTML?
|
Boolean |
getRead()
Read flag.
|
EmailRecipients |
getRecipients()
Get recipients
|
String |
getReplyTo()
The `replyTo` field on the received email message
|
Sender |
getSender()
Get sender
|
String |
getSubject()
The subject line of the email message as specified by SMTP subject header
|
Boolean |
getTeamAccess()
Can the email be accessed by organization team members
|
List<String> |
getTo()
List of `To` recipient email addresses that the email was addressed to.
|
OffsetDateTime |
getUpdatedAt()
When was the email last updated
|
UUID |
getUserId()
ID of user that email belongs to
|
int |
hashCode() |
Email |
headers(Map<String,String> headers) |
Email |
html(Boolean html) |
Email |
id(UUID id) |
Email |
inboxId(UUID inboxId) |
Email |
isHTML(Boolean isHTML) |
Email |
putHeadersItem(String key,
String headersItem) |
Email |
read(Boolean read) |
Email |
recipients(EmailRecipients recipients) |
Email |
replyTo(String replyTo) |
Email |
sender(Sender sender) |
void |
setAnalysis(EmailAnalysis analysis) |
void |
setAttachments(List<String> attachments) |
void |
setBcc(List<String> bcc) |
void |
setBody(String body) |
void |
setBodyExcerpt(String bodyExcerpt) |
void |
setBodyMD5Hash(String bodyMD5Hash) |
void |
setCc(List<String> cc) |
void |
setCharset(String charset) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDomainId(UUID domainId) |
void |
setFrom(String from) |
void |
setHeaders(Map<String,String> headers) |
void |
setHtml(Boolean html) |
void |
setId(UUID id) |
void |
setInboxId(UUID inboxId) |
void |
setIsHTML(Boolean isHTML) |
void |
setRead(Boolean read) |
void |
setRecipients(EmailRecipients recipients) |
void |
setReplyTo(String replyTo) |
void |
setSender(Sender sender) |
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_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_DOMAIN_ID
public static final String SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_SENDER
public static final String SERIALIZED_NAME_RECIPIENTS
public static final String SERIALIZED_NAME_REPLY_TO
public static final String SERIALIZED_NAME_CC
public static final String SERIALIZED_NAME_BCC
public static final String SERIALIZED_NAME_HEADERS
public static final String SERIALIZED_NAME_ATTACHMENTS
public static final String SERIALIZED_NAME_SUBJECT
public static final String SERIALIZED_NAME_BODY
public static final String SERIALIZED_NAME_BODY_EXCERPT
public static final String SERIALIZED_NAME_BODY_M_D5_HASH
public static final String SERIALIZED_NAME_IS_H_T_M_L
public static final String SERIALIZED_NAME_CHARSET
public static final String SERIALIZED_NAME_ANALYSIS
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_READ
public static final String SERIALIZED_NAME_TEAM_ACCESS
public static final String SERIALIZED_NAME_HTML
public UUID getId()
public void setId(UUID id)
public UUID getUserId()
public void setUserId(UUID userId)
public UUID getInboxId()
public void setInboxId(UUID inboxId)
@Nullable public UUID getDomainId()
public void setDomainId(UUID domainId)
public List<String> getTo()
@Nullable public String getFrom()
public void setFrom(String from)
public void setSender(Sender sender)
public Email recipients(EmailRecipients recipients)
@Nullable public EmailRecipients getRecipients()
public void setRecipients(EmailRecipients recipients)
@Nullable public String getReplyTo()
public void setReplyTo(String replyTo)
@Nullable public List<String> getCc()
@Nullable public List<String> getBcc()
@Nullable public Map<String,String> getHeaders()
@Nullable public List<String> getAttachments()
@Nullable public String getSubject()
public void setSubject(String subject)
@Nullable public String getBody()
public void setBody(String body)
@Nullable public String getBodyExcerpt()
public void setBodyExcerpt(String bodyExcerpt)
@Nullable public String getBodyMD5Hash()
public void setBodyMD5Hash(String bodyMD5Hash)
public void setIsHTML(Boolean isHTML)
@Nullable public String getCharset()
public void setCharset(String charset)
public Email analysis(EmailAnalysis analysis)
@Nullable public EmailAnalysis getAnalysis()
public void setAnalysis(EmailAnalysis analysis)
public Email createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public Email updatedAt(OffsetDateTime updatedAt)
public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public Boolean getRead()
public void setRead(Boolean read)
public Boolean getTeamAccess()
public void setTeamAccess(Boolean teamAccess)
public void setHtml(Boolean html)
Copyright © 2023. All rights reserved.