File tree 1 file changed +9
-3
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/model
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 18
18
@ Data
19
19
public final class PaginatedResult <T extends Model > {
20
20
/**
21
- * TODO: What does this count? The number of results in one page or the total number?
21
+ * Total number of results
22
22
*/
23
23
@ JsonProperty
24
24
private int count ;
25
25
26
26
/**
27
- * TODO: What does this contain? I would expect a number for the next page.
27
+ * URL to the result's next page
28
28
* <p>
29
29
* This is {@code null} if there is no next page.
30
30
* </p>
@@ -33,14 +33,20 @@ public final class PaginatedResult<T extends Model> {
33
33
private String next ;
34
34
35
35
/**
36
- * TODO: What does this contain? I would expect a number for the previous page.
36
+ * URL to the result's previous page
37
37
* <p>
38
38
* This is {@code null} if there is no previous page.
39
39
* </p>
40
40
*/
41
41
@ JsonProperty
42
42
private String previous ;
43
43
44
+ /**
45
+ * Result for current page
46
+ * <p>
47
+ * Never {@code null}.
48
+ * </p>
49
+ */
44
50
@ JsonProperty
45
51
private List <T > results = new ArrayList <>();
46
52
}
You can’t perform that action at this time.
0 commit comments