Package io.getlime.push.model.entity
Class PushMessage
java.lang.Object
io.getlime.push.model.entity.PushMessage
Class representing a single push message payload.
- Author:
- Petr Dvorak, petr@wultra.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet PowerAuth activation ID.Get push body attributes.getBody()Get the push body contents.Get push message priority.Get user ID.voidsetActivationId(String activationId) Set PowerAuth activation ID.voidsetAttributes(PushMessageAttributes attributes) Set push body attributes.voidsetBody(PushMessageBody body) Set the push body contents.voidsetPriority(@NotNull Priority priority) Set push message priority.voidSet user ID.
-
Constructor Details
-
PushMessage
public PushMessage()No-arg constructor.
-
-
Method Details
-
getUserId
Get user ID.- Returns:
- User ID.
-
setUserId
Set user ID.- Parameters:
userId- User ID.
-
getActivationId
Get PowerAuth activation ID.- Returns:
- Activation ID.
-
setActivationId
Set PowerAuth activation ID.- Parameters:
activationId- Activation ID.
-
getPriority
Get push message priority.- Returns:
- Priority.
-
setPriority
Set push message priority.- Parameters:
priority- Priority.
-
getBody
Get the push body contents.- Returns:
- Push body contents.
-
setBody
Set the push body contents.- Parameters:
body- Push body contents.
-
getAttributes
Get push body attributes.- Returns:
- Attributes.
-
setAttributes
Set push body attributes.- Parameters:
attributes- Attributes.
-