public class CreateAndSendPayload extends PushModelObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateAndSendPayload.Builder
CreateAndSendEmail Builder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
CreateAndSendAudience |
getAudience()
get the audience object for the payload
|
java.util.Optional<Campaigns> |
getCampaigns()
Optional, an object representing the campaign.
|
java.util.Optional<<any>> |
getGlobalAttributes()
Optional, an ImmutableMap representing the globalAttributes.
|
Notification |
getNotification()
an object representing the notification.
|
int |
hashCode() |
static CreateAndSendPayload.Builder |
newBuilder() |
java.lang.String |
toString() |
toJSONtoJSONpublic static CreateAndSendPayload.Builder newBuilder()
public CreateAndSendAudience getAudience()
public Notification getNotification()
public java.util.Optional<Campaigns> getCampaigns()
public java.util.Optional<<any>> getGlobalAttributes()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object