Add collaboration feature
[sdc.git] / openecomp-be / lib / openecomp-sdc-notification-lib / openecomp-sdc-notification-worker / src / main / java / org / openecomp / sdc / notification / types / NotificationsStatusDto.java
1 package org.openecomp.sdc.notification.types;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import java.util.UUID;
6
7 /**
8  * @author avrahamg
9  * @since June 29, 2017
10  */
11 public class NotificationsStatusDto {
12     private List<NotificationEntityDto> notifications;
13     private List<UUID> newEntries = new ArrayList<>();
14     private UUID lastScanned;
15     private UUID endOfPage;
16     private long numOfNotSeenNotifications;
17
18     public NotificationsStatusDto() {
19     }
20
21     public List<NotificationEntityDto> getNotifications() {
22         return notifications;
23     }
24
25     public void setNotifications(
26         List<NotificationEntityDto> notifications) {
27         this.notifications = notifications;
28     }
29
30     public List<UUID> getNewEntries() {
31         return newEntries;
32     }
33
34     public void setNewEntries(List<UUID> newEntries) {
35         this.newEntries = newEntries;
36     }
37
38     public UUID getLastScanned() {
39         return lastScanned;
40     }
41
42     public void setLastScanned(UUID lastScanned) {
43         this.lastScanned = lastScanned;
44     }
45
46     public UUID getEndOfPage() {
47         return endOfPage;
48     }
49
50     public void setEndOfPage(UUID endOfPage) {
51         this.endOfPage = endOfPage;
52     }
53
54     public long getNumOfNotSeenNotifications() {
55         return numOfNotSeenNotifications;
56     }
57
58     public void setNumOfNotSeenNotifications(long numOfNotSeenNotifications) {
59         this.numOfNotSeenNotifications = numOfNotSeenNotifications;
60     }
61
62     @Override
63     public String toString() {
64         return "NotificationsStatusDto{" +
65                 "notifications=" + notifications +
66                 ", newEntries=" + newEntries +
67                 ", lastScanned=" + lastScanned +
68                 ", endOfPage=" + endOfPage +
69                 ", numOfNotSeenNotifications=" + numOfNotSeenNotifications +
70                 '}';
71     }
72 }