public class SmsPayload extends PushModelObject implements DevicePayloadOverride
Modifier and Type | Class and Description |
---|---|
static class |
SmsPayload.Builder
SmsPayload Builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getAlert()
Get the sms alert.
|
DeviceType |
getDeviceType()
Get the device type.
|
java.util.Optional<PushExpiry> |
getExpiry()
Get the sms expiry.
|
int |
hashCode() |
static SmsPayload.Builder |
newBuilder()
New SmsPayload Builder.
|
toJSON
toJSON
public static SmsPayload.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<PushExpiry> getExpiry()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object