Package com.mypurecloud.sdk.v2.model
Class EmailMessagePreview
java.lang.Object
com.mypurecloud.sdk.v2.model.EmailMessagePreview
- All Implemented Interfaces:
Serializable
EmailMessagePreview
- 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(EmailMessagePreview.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.replyTo(EmailAddress replyTo) The receiver of the reply email message.voidsetAttachments(List<Attachment> attachments) voidsetBcc(List<EmailAddress> bcc) voidsetCc(List<EmailAddress> cc) voidsetDraftType(EmailMessagePreview.DraftTypeEnum draftType) voidsetFrom(EmailAddress from) voidsetHistoryIncluded(Boolean historyIncluded) voidvoidsetReplyTo(EmailAddress replyTo) voidvoidsetSubject(String subject) voidsetTextBodyPreview(String textBodyPreview) voidvoidsetTo(List<EmailAddress> to) The state of the current draft.The subject of the email message.textBodyPreview(String textBodyPreview) A truncated version of the textBodyThe time when the message was received or sent.to(List<EmailAddress> to) The recipients of the email message.toString()
-
Constructor Details
-
EmailMessagePreview
public EmailMessagePreview() -
EmailMessagePreview
-
-
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
-
textBodyPreview
A truncated version of the textBody -
getTextBodyPreview
-
setTextBodyPreview
-
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
-