@PublicApi public class SimplePagedRequest extends Object implements PagedRequest
Modifier and Type | Field and Description |
---|---|
static PagedRequest |
ONE
A page request of 1 thing
|
Constructor and Description |
---|
SimplePagedRequest(int start,
int limit) |
SimplePagedRequest(LimitedPagedRequest request) |
Modifier and Type | Method and Description |
---|---|
int |
getLimit() |
int |
getStart() |
static PagedRequest |
paged(int start,
int limit)
A page request of the specified start and limit
|
String |
toString() |
public static PagedRequest ONE
public SimplePagedRequest(LimitedPagedRequest request)
public SimplePagedRequest(int start, int limit)
public static PagedRequest paged(int start, int limit)
start
- the start in playlimit
- the limit in playpublic int getLimit()
getLimit
in interface PagedRequest
public int getStart()
getStart
in interface PagedRequest
Copyright © 2023 Atlassian. All rights reserved.