public final class WebDevicePayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
WebDevicePayload.Builder
WebDevicePayload 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()
Get the alert.
|
java.util.Optional<<any>> |
getButtons()
Get the List of buttons.
|
DeviceType |
getDeviceType()
Get the device type.
|
java.util.Optional<PushExpiry> |
getExpiry()
Get the PushExpiry
Delivery expiration, as either absolute ISO UTC timestamp, or number of seconds from now.
|
java.util.Optional<<any>> |
getExtra()
Get an extra mapping of key-value pairs.
|
java.util.Optional<java.lang.Boolean> |
getRequireInteraction()
Get the Require Interaction flag.
|
java.util.Optional<WebTemplate> |
getTemplate()
Get the template with web-specific message.
|
java.util.Optional<java.lang.String> |
getTitle()
Get the title.
|
java.util.Optional<WebIcon> |
getWebIcon()
Get the web icon that describes an icon to be used with the web alert.
|
java.util.Optional<WebImage> |
getWebImage()
Get the WebImage object.
|
int |
hashCode() |
static WebDevicePayload.Builder |
newBuilder()
New WebDevicePayload Builder.
|
java.lang.String |
toString() |
toJSON
toJSON
public static WebDevicePayload.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>> getExtra()
public java.util.Optional<WebIcon> getWebIcon()
public java.util.Optional<java.lang.Boolean> getRequireInteraction()
public java.util.Optional<Actions> getActions()
public java.util.Optional<WebImage> getWebImage()
public java.util.Optional<PushExpiry> getExpiry()
public java.util.Optional<<any>> getButtons()
public java.util.Optional<WebTemplate> getTemplate()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object