Class CreateEmailRequest

java.lang.Object
com.mypurecloud.sdk.v2.model.CreateEmailRequest
All Implemented Interfaces:
Serializable

public class CreateEmailRequest extends Object implements Serializable
CreateEmailRequest
See Also:
  • Constructor Details

    • CreateEmailRequest

      public CreateEmailRequest()
    • CreateEmailRequest

      public CreateEmailRequest(Boolean initWithEmptyList)
  • Method Details

    • queueId

      public CreateEmailRequest queueId(String queueId)
      The ID of the queue to use for routing the email conversation. This field is mutually exclusive with flowId
    • getQueueId

      public String getQueueId()
    • setQueueId

      public void setQueueId(String queueId)
    • flowId

      public CreateEmailRequest flowId(String flowId)
      The ID of the flow to use for routing email conversation. This field is mutually exclusive with queueId
    • getFlowId

      public String getFlowId()
    • setFlowId

      public void setFlowId(String flowId)
    • provider

      public CreateEmailRequest provider(String provider)
      The name of the provider that is sourcing the emails. The Provider \"PureCloud Email\" is reserved for native emails.
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • skillIds

      public CreateEmailRequest skillIds(List<String> skillIds)
      The list of skill ID's to use for routing.
    • getSkillIds

      public List<String> getSkillIds()
    • setSkillIds

      public void setSkillIds(List<String> skillIds)
    • skillExpression

      public CreateEmailRequest skillExpression(String skillExpression)
      The skill expression to use for routing the email conversation (when using queueId).
    • getSkillExpression

      public String getSkillExpression()
    • setSkillExpression

      public void setSkillExpression(String skillExpression)
    • languageId

      public CreateEmailRequest languageId(String languageId)
      The ID of the language to use for routing.
    • getLanguageId

      public String getLanguageId()
    • setLanguageId

      public void setLanguageId(String languageId)
    • priority

      public CreateEmailRequest priority(Long priority)
      The priority to assign to the conversation for routing.
    • getPriority

      public Long getPriority()
    • setPriority

      public void setPriority(Long priority)
    • attributes

      public CreateEmailRequest attributes(Map<String,String> attributes)
      The list of attributes to associate with the customer participant.
    • getAttributes

      public Map<String,String> getAttributes()
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
    • toAddress

      public CreateEmailRequest toAddress(String toAddress)
      The email address of the recipient of the email.
    • getToAddress

      public String getToAddress()
    • setToAddress

      public void setToAddress(String toAddress)
    • toName

      public CreateEmailRequest toName(String toName)
      The name of the recipient of the email.
    • getToName

      public String getToName()
    • setToName

      public void setToName(String toName)
    • fromAddress

      public CreateEmailRequest fromAddress(String fromAddress)
      The email address of the sender of the email.
    • getFromAddress

      public String getFromAddress()
    • setFromAddress

      public void setFromAddress(String fromAddress)
    • fromName

      public CreateEmailRequest fromName(String fromName)
      The name of the sender of the email.
    • getFromName

      public String getFromName()
    • setFromName

      public void setFromName(String fromName)
    • subject

      public CreateEmailRequest subject(String subject)
      The subject of the email
    • getSubject

      public String getSubject()
    • setSubject

      public void setSubject(String subject)
    • 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

      public CreateEmailRequest.DirectionEnum getDirection()
    • setDirection

      public void setDirection(CreateEmailRequest.DirectionEnum direction)
    • htmlBody

      public CreateEmailRequest htmlBody(String htmlBody)
      An HTML body content of the email.
    • getHtmlBody

      public String getHtmlBody()
    • setHtmlBody

      public void setHtmlBody(String htmlBody)
    • textBody

      public CreateEmailRequest textBody(String textBody)
      A text body content of the email.
    • getTextBody

      public String getTextBody()
    • setTextBody

      public void setTextBody(String textBody)
    • externalContactId

      public CreateEmailRequest externalContactId(String externalContactId)
      The external contact with which the email should be associated. This field is only valid for OUTBOUND email.
    • getExternalContactId

      public String getExternalContactId()
    • setExternalContactId

      public void setExternalContactId(String externalContactId)
    • utilizationLabel

      public CreateEmailRequest utilizationLabel(String utilizationLabel)
      Optional. The ID of the label to controls the number of agent interactions for INBOUND communications
    • getUtilizationLabel

      public String getUtilizationLabel()
    • setUtilizationLabel

      public void setUtilizationLabel(String utilizationLabel)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object