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 <[email protected]>
  • Loading branch information
Weltraumschaf committed Feb 2, 2024
1 parent 28696ff commit 8b712c4
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@
*/
@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;

/**
* TODO: What does this contain? I would expect a number for the next page.
*/
@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 8b712c4

Please sign in to comment.