public class CreateAndSendEmailPayload extends PushModelObject implements DevicePayloadOverride
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateAndSendEmailPayload.Builder
CreateAndSendEmailPayload Builder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getAlert()
Optional, override the alert value provided at the top level, if any.
|
java.util.Optional<<any>> |
getAttachments()
Optional, Get the Attachment objects, each containing an id string which represents an email attachment.
|
java.util.Optional<java.lang.Boolean> |
getBypassOptInLevel()
Optional, a boolean toggle you can set when message_type is set to transactional to send a business critical
email.
|
java.util.Optional<java.lang.Boolean> |
getClickTracking()
Optional, Get the clickTracking value.
|
DeviceType |
getDeviceType()
Returns Devicetype: Email when requested
|
java.util.Optional<EmailTemplate> |
getEmailTemplate()
Get the email template, Using a template enables you to provide and populate
variables in your notification
|
java.util.Optional<java.lang.String> |
getHtmlBody()
Optional, a string value for providing a the HTML body of the notification.
|
java.util.Optional<MessageType> |
getMessageType()
Optional, an enum of potential values representing the possible message types.
|
java.util.Optional<java.lang.Boolean> |
getOpenTracking()
Optional, Get the openTracking value.
|
java.util.Optional<java.lang.String> |
getPlaintextBody()
Optional, a string value for providing a the plaintext Body of the notification.
|
java.util.Optional<java.lang.String> |
getReplyTo()
Optional, a string representing the "reply to" address of the notification.
|
java.util.Optional<java.lang.String> |
getSenderAddress()
Optional, a string representing the address of the sender.
|
java.util.Optional<java.lang.String> |
getSenderName()
Optional, a string representing the name of the sender.
|
java.util.Optional<java.lang.String> |
getSubject()
Optional, a string representing the subject of the notification.
|
int |
hashCode() |
static CreateAndSendEmailPayload.Builder |
newBuilder() |
java.lang.String |
toString() |
toJSONtoJSONpublic static CreateAndSendEmailPayload.Builder newBuilder()
public DeviceType getDeviceType()
getDeviceType in interface DevicePayloadOverridepublic java.util.Optional<EmailTemplate> getEmailTemplate()
public java.util.Optional<java.lang.String> getAlert()
getAlert in interface DevicePayloadOverridepublic java.util.Optional<java.lang.String> getSubject()
public java.util.Optional<java.lang.String> getHtmlBody()
public java.util.Optional<java.lang.String> getPlaintextBody()
public java.util.Optional<MessageType> getMessageType()
public java.util.Optional<java.lang.String> getSenderName()
public java.util.Optional<java.lang.String> getSenderAddress()
public java.util.Optional<java.lang.String> getReplyTo()
public java.util.Optional<java.lang.Boolean> getBypassOptInLevel()
public java.util.Optional<<any>> getAttachments()
public java.util.Optional<java.lang.Boolean> getClickTracking()
public java.util.Optional<java.lang.Boolean> getOpenTracking()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object