| Modifier and Type | Class and Description |
|---|---|
static class |
PushMechanism.PushBuilder
Builder class responsible for building a Push mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
static PushMechanism.PushBuilder |
builder()
Returns a builder for creating the Push Mechanism.
|
static PushMechanism |
deserialize(java.lang.String jsonString)
Deserializes the specified Json into an object of the
PushMechanism object. |
java.util.List<PushNotification> |
getAllNotifications()
Get all of the notifications that belong to this Push mechanism.
|
java.util.List<PushNotification> |
getPendingNotifications()
Get pending notifications that belong to this Push mechanism.
|
java.lang.String |
toJson()
Creates a JSON string representation of
T object. |
compareTo, equals, getAccountName, getId, getIssuer, getMechanismUID, getTimeAdded, getType, hashCode, matchespublic java.util.List<PushNotification> getAllNotifications()
public java.util.List<PushNotification> getPendingNotifications()
public java.lang.String toJson()
T object. Sensitive information are not
exposed.public static PushMechanism deserialize(java.lang.String jsonString)
PushMechanism object.jsonString - the json string representing the object to be deserializedPushMechanism object from the string. Returns null if jsonString is null,
if jsonString is empty or not able to parse it.public static PushMechanism.PushBuilder builder()