Package com.mypurecloud.sdk.v2.model
Class CreateEmailRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.CreateEmailRequest
- All Implemented Interfaces:
Serializable
CreateEmailRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecify OUTBOUND to send an email on behalf of a queue, or INBOUND to create an external conversation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) The list of attributes to associate with the customer participant.direction(CreateEmailRequest.DirectionEnum direction) Specify OUTBOUND to send an email on behalf of a queue, or INBOUND to create an external conversation.booleanexternalContactId(String externalContactId) The external contact with which the email should be associated.The ID of the flow to use for routing email conversation.fromAddress(String fromAddress) The email address of the sender of the email.The name of the sender of the email.inthashCode()An HTML body content of the email.languageId(String languageId) The ID of the language to use for routing.The priority to assign to the conversation for routing.The name of the provider that is sourcing the emails.The ID of the queue to use for routing the email conversation.voidsetAttributes(Map<String, String> attributes) voidsetDirection(CreateEmailRequest.DirectionEnum direction) voidsetExternalContactId(String externalContactId) voidvoidsetFromAddress(String fromAddress) voidsetFromName(String fromName) voidsetHtmlBody(String htmlBody) voidsetLanguageId(String languageId) voidsetPriority(Long priority) voidsetProvider(String provider) voidsetQueueId(String queueId) voidsetSkillExpression(String skillExpression) voidsetSkillIds(List<String> skillIds) voidsetSubject(String subject) voidsetTextBody(String textBody) voidsetToAddress(String toAddress) voidvoidsetUtilizationLabel(String utilizationLabel) skillExpression(String skillExpression) The skill expression to use for routing the email conversation (when using queueId).The list of skill ID's to use for routing.The subject of the emailA text body content of the email.The email address of the recipient of the email.The name of the recipient of the email.toString()utilizationLabel(String utilizationLabel) Optional.
-
Constructor Details
-
CreateEmailRequest
public CreateEmailRequest() -
CreateEmailRequest
-
-
Method Details
-
queueId
The ID of the queue to use for routing the email conversation. This field is mutually exclusive with flowId -
getQueueId
-
setQueueId
-
flowId
The ID of the flow to use for routing email conversation. This field is mutually exclusive with queueId -
getFlowId
-
setFlowId
-
provider
The name of the provider that is sourcing the emails. The Provider \"PureCloud Email\" is reserved for native emails. -
getProvider
-
setProvider
-
skillIds
The list of skill ID's to use for routing. -
getSkillIds
-
setSkillIds
-
skillExpression
The skill expression to use for routing the email conversation (when using queueId). -
getSkillExpression
-
setSkillExpression
-
languageId
The ID of the language to use for routing. -
getLanguageId
-
setLanguageId
-
priority
The priority to assign to the conversation for routing. -
getPriority
-
setPriority
-
attributes
The list of attributes to associate with the customer participant. -
getAttributes
-
setAttributes
-
toAddress
The email address of the recipient of the email. -
getToAddress
-
setToAddress
-
toName
The name of the recipient of the email. -
getToName
-
setToName
-
fromAddress
The email address of the sender of the email. -
getFromAddress
-
setFromAddress
-
fromName
The name of the sender of the email. -
getFromName
-
setFromName
-
subject
The subject of the email -
getSubject
-
setSubject
-
direction
Specify OUTBOUND to send an email on behalf of a queue, or INBOUND to create an external conversation. An external conversation is one where the provider is not PureCloud based. -
getDirection
-
setDirection
-
htmlBody
An HTML body content of the email. -
getHtmlBody
-
setHtmlBody
-
textBody
A text body content of the email. -
getTextBody
-
setTextBody
-
externalContactId
The external contact with which the email should be associated. This field is only valid for OUTBOUND email. -
getExternalContactId
-
setExternalContactId
-
utilizationLabel
Optional. The ID of the label to controls the number of agent interactions for INBOUND communications -
getUtilizationLabel
-
setUtilizationLabel
-
equals
-
hashCode
public int hashCode() -
toString
-