Skip to content

Commit

Permalink
#23 Add More Questions to PaginatedResult
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
  • Loading branch information
Weltraumschaf committed Feb 2, 2024
1 parent 6f52cce commit 4949e94
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
*/
@Data
public final class PaginatedResult<T extends Model> {
/**
* TODO: What does this count? The number of results in one page or the total number?
*/
@JsonProperty
private int count;

Expand All @@ -27,6 +30,9 @@ public final class PaginatedResult<T extends Model> {
@JsonProperty
private String next;

/**
* TODO: What does this contain? I would expect a number for the previous page.
*/
@JsonProperty
private String previous = "";

Expand Down

0 comments on commit 4949e94

Please sign in to comment.