public class PaginationDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_LIMIT |
static String |
SERIALIZED_NAME_NEXT |
static String |
SERIALIZED_NAME_OFFSET |
static String |
SERIALIZED_NAME_PREVIOUS |
static String |
SERIALIZED_NAME_TOTAL |
| Constructor and Description |
|---|
PaginationDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getLimit()
Get limit
|
String |
getNext()
Link to the next subset of resources qualified.
|
Integer |
getOffset()
Get offset
|
String |
getPrevious()
Link to the previous subset of resources qualified.
|
Integer |
getTotal()
Get total
|
int |
hashCode() |
PaginationDTO |
limit(Integer limit) |
PaginationDTO |
next(String next) |
PaginationDTO |
offset(Integer offset) |
PaginationDTO |
previous(String previous) |
void |
setLimit(Integer limit) |
void |
setNext(String next) |
void |
setOffset(Integer offset) |
void |
setPrevious(String previous) |
void |
setTotal(Integer total) |
String |
toString() |
PaginationDTO |
total(Integer total) |
public static final String SERIALIZED_NAME_OFFSET
public static final String SERIALIZED_NAME_LIMIT
public static final String SERIALIZED_NAME_TOTAL
public static final String SERIALIZED_NAME_NEXT
public static final String SERIALIZED_NAME_PREVIOUS
public PaginationDTO offset(Integer offset)
public void setOffset(Integer offset)
public PaginationDTO limit(Integer limit)
public void setLimit(Integer limit)
public PaginationDTO total(Integer total)
public void setTotal(Integer total)
public PaginationDTO next(String next)
@Nullable public String getNext()
public void setNext(String next)
public PaginationDTO previous(String previous)
@Nullable public String getPrevious()
public void setPrevious(String previous)
Copyright © 2021 WSO2 Inc. All rights reserved.