Skip to content

Commit 8b712c4

Browse files
committed
#23 Add More Questions to PaginatedResult
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent 28696ff commit 8b712c4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/io/securecodebox/persistence/defectdojo/model/PaginatedResult.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,21 @@
1717
*/
1818
@Data
1919
public final class PaginatedResult<T extends Model> {
20+
/**
21+
* TODO: What does this count? The number of results in one page or the total number?
22+
*/
2023
@JsonProperty
2124
private int count;
2225

26+
/**
27+
* TODO: What does this contain? I would expect a number for the next page.
28+
*/
2329
@JsonProperty
2430
private String next = "";
2531

32+
/**
33+
* TODO: What does this contain? I would expect a number for the previous page.
34+
*/
2635
@JsonProperty
2736
private String previous = "";
2837

0 commit comments

Comments
 (0)