Class NotificationResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.push.NotificationResponse
-
public class NotificationResponse extends Object
JSON body response for push notifications.
-
-
Field Summary
Fields Modifier and Type Field Description private String
nextToken
The token to supply in the from param of the next /notifications request in order to request more events.private List<Notification>
notifications
Required.
-
Constructor Summary
Constructors Constructor Description NotificationResponse()
-
Method Summary
Modifier and Type Method Description String
getNextToken()
List<Notification>
getNotifications()
void
setNextToken(String nextToken)
void
setNotifications(List<Notification> notifications)
-
-
-
Field Detail
-
nextToken
private String nextToken
The token to supply in the from param of the next /notifications request in order to request more events. If this is absent, there are no more results.
-
notifications
private List<Notification> notifications
Required. The list of events that triggered notifications.
-
-
Method Detail
-
getNextToken
public String getNextToken()
-
setNextToken
public void setNextToken(String nextToken)
-
getNotifications
public List<Notification> getNotifications()
-
setNotifications
public void setNotifications(List<Notification> notifications)
-
-