public class PaginationDTO extends Object
| 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 PaginationDTO offset(Integer offset)
public Integer getOffset()
public void setOffset(Integer offset)
public PaginationDTO limit(Integer limit)
public Integer getLimit()
public void setLimit(Integer limit)
public PaginationDTO total(Integer total)
public Integer getTotal()
public void setTotal(Integer total)
public PaginationDTO next(String next)
public String getNext()
public void setNext(String next)
public PaginationDTO previous(String previous)
public String getPrevious()
public void setPrevious(String previous)
Copyright © 2020 WSO2 Inc. All rights reserved.