public final class ADMDevicePayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
ADMDevicePayload.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<Actions> |
getActions()
Get the Actions.
|
java.util.Optional<java.lang.String> |
getAlert() |
java.util.Optional<java.lang.String> |
getConsolidationKey() |
DeviceType |
getDeviceType() |
java.util.Optional<PushExpiry> |
getExpiresAfter() |
java.util.Optional<<any>> |
getExtra() |
java.util.Optional<java.lang.String> |
getIcon()
Get the string representing an image file included in the application’s resources.
|
java.util.Optional<java.lang.String> |
getIconColor()
Get the string representing the icon color in API Color Format. i.e.
|
java.util.Optional<Interactive> |
getInteractive() |
java.util.Optional<java.lang.String> |
getNotificationChannel()
Get the string representing a notification channel.
|
java.util.Optional<java.lang.String> |
getNotificationTag()
Get the string representing a notification tag.
|
java.util.Optional<java.lang.String> |
getSound()
Get the string representing a sound file name included in the application’s resources.
|
java.util.Optional<Style> |
getStyle()
Get the style.
|
java.util.Optional<java.lang.String> |
getSummary()
Get the string representing a summary/subtitle of the notification.
|
java.util.Optional<ADMTemplate> |
getTemplate()
Get the template with amazon-specific message.
|
java.util.Optional<java.lang.String> |
getTitle()
Get the string representing the title of the notification.
|
int |
hashCode() |
static ADMDevicePayload.Builder |
newBuilder() |
toJSON
toJSON
public static ADMDevicePayload.Builder newBuilder()
public DeviceType getDeviceType()
getDeviceType
in interface DevicePayloadOverride
public java.util.Optional<java.lang.String> getAlert()
getAlert
in interface DevicePayloadOverride
public java.util.Optional<java.lang.String> getConsolidationKey()
public java.util.Optional<PushExpiry> getExpiresAfter()
public java.util.Optional<<any>> getExtra()
public java.util.Optional<Interactive> getInteractive()
public java.util.Optional<Actions> getActions()
public java.util.Optional<java.lang.String> getIcon()
public java.util.Optional<java.lang.String> getIconColor()
public java.util.Optional<java.lang.String> getNotificationChannel()
public java.util.Optional<java.lang.String> getNotificationTag()
public java.util.Optional<java.lang.String> getSound()
public java.util.Optional<java.lang.String> getSummary()
public java.util.Optional<java.lang.String> getTitle()
public java.util.Optional<Style> getStyle()
public java.util.Optional<ADMTemplate> getTemplate()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object