public final class OpenPayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
OpenPayload.Builder
OpenPayload 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.
|
DeviceType |
getDeviceType() |
java.util.Optional<<any>> |
getExtras()
A string to string map of additional values to deliver to the target.
|
java.util.Optional<Interactive> |
getInteractive()
Optional.
|
java.util.Optional<java.lang.String> |
getMediaAttachment()
Optional, a String representation of a URI for an image or video somewhere on the internet.
|
java.util.Optional<java.lang.String> |
getSummary()
Optional, a string value for providing a content summary.
|
java.util.Optional<java.lang.String> |
getTitle()
Optional, a string representing the title of the notification.
|
int |
hashCode() |
static OpenPayload.Builder |
newBuilder() |
java.lang.String |
toString() |
toJSON
toJSON
public static OpenPayload.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> getTitle()
public java.util.Optional<<any>> getExtras()
public java.util.Optional<java.lang.String> getSummary()
public java.util.Optional<java.lang.String> getMediaAttachment()
public java.util.Optional<Interactive> getInteractive()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object