@jakarta.validation.GroupSequence(value: [PageRequirement, Level1, Level2]) @EqualsAndHashCode @CompileStatic class PageRequirement extends Object
Specifies requirements for desired paged results of a query.
We have specifications for the desired page's ordinal number (default is 0) and size (default is 25) as specified by the api client.Type | Name and description |
---|---|
static PageRequirement |
PAGE_REQUIREMENT_INSTANCE_DEFAULT |
static Integer |
PAGE_REQUIREMENT_SIZE_DEFAULT |
Integer |
ordinal The ordinal number of requested page. |
Integer |
size The requested number of page elements. |
Constructor and description |
---|
PageRequirement() |
The ordinal number of requested page.
Must be notnull
, and must be greater or equal to 0. Default is 0.
The requested number of page elements.
Must be notnull
, and must be greater or equal to 1. Default is 25.
Groovy Documentation