Package com.mypurecloud.sdk.v2.model
Class Email
java.lang.Object
com.mypurecloud.sdk.v2.model.Email
- All Implemented Interfaces:
Serializable
Email
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe direction of the emailstatic enumSystem defined string indicating what caused the communication to disconnect.static enumThe initial connection state of this communication.static enumThe connection state of this communication. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCallWork(AfterCallWork afterCallWork) After-call work for the communication.afterCallWorkRequired(Boolean afterCallWorkRequired) Indicates if after-call work is required for a communication.autoGenerated(Boolean autoGenerated) Indicates that the email was auto-generated like an Out of Office reply.connectedTime(Date connectedTime) The timestamp when this communication was connected in the cloud clock.direction(Email.DirectionEnum direction) The direction of the emaildisconnectedTime(Date disconnectedTime) The timestamp when this communication disconnected from the conversation in the provider clock.disconnectType(Email.DisconnectTypeEnum disconnectType) System defined string indicating what caused the communication to disconnect.draftAttachments(List<Attachment> draftAttachments) A list of uploaded attachments on the email draft.booleangetHeld()getId()getSpam()getState()inthashCode()True if this call is held and the person on this side hears silence.A globally unique identifier for this communication.initialState(Email.InitialStateEnum initialState) The initial connection state of this communication.A globally unique identifier for the stored content of this communication.messagesSent(Integer messagesSent) The number of email messages sent by this participant.Represents the time when an email was put into parked state.The id of the peer communication corresponding to a matching leg for this communication.The source provider for the email.queueMediaSettings(ConversationQueueMediaSettings queueMediaSettings) Represents the queue settings for this media type.recordingId(String recordingId) A globally unique identifier for the recording associated with this call.The UUID of the script to use.The time line of the participant's email, divided into activity segments.voidsetAfterCallWork(AfterCallWork afterCallWork) voidsetAfterCallWorkRequired(Boolean afterCallWorkRequired) voidsetAutoGenerated(Boolean autoGenerated) voidsetConnectedTime(Date connectedTime) voidsetDirection(Email.DirectionEnum direction) voidsetDisconnectedTime(Date disconnectedTime) voidsetDisconnectType(Email.DisconnectTypeEnum disconnectType) voidsetDraftAttachments(List<Attachment> draftAttachments) voidsetErrorInfo(ErrorBody errorInfo) voidvoidvoidsetInitialState(Email.InitialStateEnum initialState) voidsetMessageId(String messageId) voidsetMessagesSent(Integer messagesSent) voidsetParkTime(Date parkTime) voidvoidsetProvider(String provider) voidsetQueueMediaSettings(ConversationQueueMediaSettings queueMediaSettings) voidsetRecordingId(String recordingId) voidsetScriptId(String scriptId) voidsetSegments(List<Segment> segments) voidvoidsetStartAlertingTime(Date startAlertingTime) voidsetStartHoldTime(Date startHoldTime) voidsetState(Email.StateEnum state) voidsetSubject(String subject) voidIndicates if the inbound email was marked as spam.startAlertingTime(Date startAlertingTime) The timestamp the communication has when it is first put into an alerting state.startHoldTime(Date startHoldTime) The timestamp the email was placed on hold in the cloud clock if the email is currently on hold.state(Email.StateEnum state) The connection state of this communication.The subject for the initial email that started this conversation.toString()Call wrap up or disposition data.
-
Constructor Details
-
Email
public Email() -
Email
-
-
Method Details
-
state
The connection state of this communication. -
getState
-
setState
-
initialState
The initial connection state of this communication. -
getInitialState
-
setInitialState
-
id
A globally unique identifier for this communication. -
getId
-
setId
-
held
True if this call is held and the person on this side hears silence. -
getHeld
-
setHeld
-
subject
The subject for the initial email that started this conversation. -
getSubject
-
setSubject
-
messagesSent
The number of email messages sent by this participant. -
getMessagesSent
-
setMessagesSent
-
segments
The time line of the participant's email, divided into activity segments. -
getSegments
-
setSegments
-
direction
The direction of the email -
getDirection
-
setDirection
-
recordingId
A globally unique identifier for the recording associated with this call. -
getRecordingId
-
setRecordingId
-
errorInfo
-
getErrorInfo
-
setErrorInfo
-
disconnectType
System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. -
getDisconnectType
-
setDisconnectType
-
startHoldTime
The timestamp the email was placed on hold in the cloud clock if the email is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartHoldTime
-
setStartHoldTime
-
startAlertingTime
The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartAlertingTime
-
setStartAlertingTime
-
connectedTime
The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getConnectedTime
-
setConnectedTime
-
disconnectedTime
The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDisconnectedTime
-
setDisconnectedTime
-
autoGenerated
Indicates that the email was auto-generated like an Out of Office reply. -
getAutoGenerated
-
setAutoGenerated
-
provider
The source provider for the email. -
getProvider
-
setProvider
-
scriptId
The UUID of the script to use. -
getScriptId
-
setScriptId
-
peerId
The id of the peer communication corresponding to a matching leg for this communication. -
getPeerId
-
setPeerId
-
messageId
A globally unique identifier for the stored content of this communication. -
getMessageId
-
setMessageId
-
draftAttachments
A list of uploaded attachments on the email draft. -
getDraftAttachments
-
setDraftAttachments
-
spam
Indicates if the inbound email was marked as spam. -
getSpam
-
setSpam
-
wrapup
Call wrap up or disposition data. -
getWrapup
-
setWrapup
-
afterCallWork
After-call work for the communication. -
getAfterCallWork
-
setAfterCallWork
-
afterCallWorkRequired
Indicates if after-call work is required for a communication. Only used when the ACW Setting is Agent Requested. -
getAfterCallWorkRequired
-
setAfterCallWorkRequired
-
queueMediaSettings
Represents the queue settings for this media type. -
getQueueMediaSettings
-
setQueueMediaSettings
-
parkTime
Represents the time when an email was put into parked state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getParkTime
-
setParkTime
-
equals
-
hashCode
public int hashCode() -
toString
-