|
@@ -44,12 +44,18 @@ public class DecryptedPushMessage {
|
|
|
@JsonField(name = "nid")
|
|
|
public long notificationId;
|
|
|
|
|
|
+ @JsonField(name = "nids")
|
|
|
+ public long[] notificationIds;
|
|
|
+
|
|
|
@JsonField(name = "delete")
|
|
|
public boolean delete;
|
|
|
|
|
|
@JsonField(name = "delete-all")
|
|
|
public boolean deleteAll;
|
|
|
|
|
|
+ @JsonField(name = "delete-multiple")
|
|
|
+ public boolean deleteMultiple;
|
|
|
+
|
|
|
@JsonIgnore
|
|
|
public NotificationUser notificationUser;
|
|
|
|
|
@@ -99,6 +105,14 @@ public class DecryptedPushMessage {
|
|
|
return this.timestamp;
|
|
|
}
|
|
|
|
|
|
+ public long[] getNotificationIds() {
|
|
|
+ return notificationIds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean isDeleteMultiple() {
|
|
|
+ return deleteMultiple;
|
|
|
+ }
|
|
|
+
|
|
|
public void setApp(String app) {
|
|
|
this.app = app;
|
|
|
}
|
|
@@ -139,6 +153,14 @@ public class DecryptedPushMessage {
|
|
|
this.timestamp = timestamp;
|
|
|
}
|
|
|
|
|
|
+ public void setNotificationIds(long[] notificationIds) {
|
|
|
+ this.notificationIds = notificationIds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDeleteMultiple(boolean deleteMultiple) {
|
|
|
+ this.deleteMultiple = deleteMultiple;
|
|
|
+ }
|
|
|
+
|
|
|
public boolean equals(final Object o) {
|
|
|
if (o == this) {
|
|
|
return true;
|