PageNotificationDTO¶
Example Json Object
1{
2 "totalPages": 0,
3 "totalElements": 0,
4 "pageable": {
5 "paged": true,
6 "unpaged": true,
7 "pageNumber": 0,
8 "pageSize": 0,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "createdBy": "string",
22 "createdAt": "2019-08-24T14:15:22Z",
23 "title": "string",
24 "forUserId": "string",
25 "byUserId": "string",
26 "message": "string",
27 "redirectTo": "string",
28 "displayId": "string",
29 "createdTime": "string",
30 "type": "string",
31 "read": true
32 }
33 ],
34 "number": 0,
35 "sort": {
36 "unsorted": true,
37 "sorted": true,
38 "empty": true
39 },
40 "first": true,
41 "last": true,
42 "empty": true
43}
📄 Description: Data transfer object representing a page notification, encapsulating essential details such as message content, recipient information, and delivery status to facilitate effective communication within the enterprise.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
totalPages |
integer(int32) |
false |
none |
Total number of pages available |
totalElements |
integer(int64) |
false |
none |
Total number of items available |
pageable |
false |
none |
Indicates whether the notification data can be paginated, allowing for efficient retrieval and management of large sets of notifications. |
|
numberOfElements |
integer(int32) |
false |
none |
Represents the total count of elements within the current page of notifications, facilitating efficient data management and retrieval. |
size |
integer(int32) |
false |
none |
Number of items per page |
content |
false |
none |
An array of PageNotificationDTO objects that encapsulate notifications relevant to user engagement and updates within the application. |
|
number |
integer(int32) |
false |
none |
Represents the numerical value associated with the page notification, serving as a key reference for tracking and managing notifications within the system. |
sort |
false |
none |
Sort order specification |
|
first |
boolean |
false |
none |
Whether this is the first page |
last |
boolean |
false |
none |
Whether this is the last page |
empty |
boolean |
false |
none |
Whether the result set is empty |