Package com.mypurecloud.sdk.v2.model
Class EmailMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.EmailMessage
- All Implemented Interfaces:
Serializable
EmailMessage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of draft that need to be treated.static enumThe state of the current draft. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachments(List<Attachment> attachments) The attachments of the email message.bcc(List<EmailAddress> bcc) The recipients that were blind copied on the email message.cc(List<EmailAddress> cc) The recipients that were copied on the email message.draftType(EmailMessage.DraftTypeEnum draftType) The type of draft that need to be treated.booleanfrom(EmailAddress from) The sender of the email message.getBcc()getCc()getFrom()getId()getName()getState()getTime()getTo()inthashCode()historyIncluded(Boolean historyIncluded) Indicates whether the history of previous emails of the conversation is included within the email bodies of this message.The html body of the email message.replyTo(EmailAddress replyTo) The receiver of the reply email message.voidsetAttachments(List<Attachment> attachments) voidsetBcc(List<EmailAddress> bcc) voidsetCc(List<EmailAddress> cc) voidsetDraftType(EmailMessage.DraftTypeEnum draftType) voidsetFrom(EmailAddress from) voidsetHistoryIncluded(Boolean historyIncluded) voidsetHtmlBody(String htmlBody) voidvoidsetReplyTo(EmailAddress replyTo) voidsetState(EmailMessage.StateEnum state) voidsetSubject(String subject) voidsetTextBody(String textBody) voidvoidsetTo(List<EmailAddress> to) state(EmailMessage.StateEnum state) The state of the current draft.The subject of the email message.The text body of the email message.The time when the message was received or sent.to(List<EmailAddress> to) The recipients of the email message.toString()
-
Constructor Details
-
EmailMessage
public EmailMessage() -
EmailMessage
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
to
The recipients of the email message. -
getTo
-
setTo
-
cc
The recipients that were copied on the email message. -
getCc
-
setCc
-
bcc
The recipients that were blind copied on the email message. -
getBcc
-
setBcc
-
from
The sender of the email message. -
getFrom
-
setFrom
-
replyTo
The receiver of the reply email message. -
getReplyTo
-
setReplyTo
-
subject
The subject of the email message. -
getSubject
-
setSubject
-
attachments
The attachments of the email message. -
getAttachments
-
setAttachments
-
textBody
The text body of the email message. -
getTextBody
-
setTextBody
-
htmlBody
The html body of the email message. -
getHtmlBody
-
setHtmlBody
-
time
The time when the message was received or sent. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getTime
-
setTime
-
historyIncluded
Indicates whether the history of previous emails of the conversation is included within the email bodies of this message. -
getHistoryIncluded
-
setHistoryIncluded
-
state
The state of the current draft. -
getState
-
setState
-
draftType
The type of draft that need to be treated. -
getDraftType
-
setDraftType
-
getEmailSizeBytes
-
getMaxEmailSizeBytes
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-