Class PaginationDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.dto.PaginationDTO
-
public class PaginationDTO extends Object
PaginationDTO
-
-
Constructor Summary
Constructors Constructor Description PaginationDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetLimit()Get limitStringgetNext()Link to the next subset of resources qualified.IntegergetOffset()Get offsetStringgetPrevious()Link to the previous subset of resources qualified.IntegergetTotal()Get totalinthashCode()PaginationDTOlimit(Integer limit)PaginationDTOnext(String next)PaginationDTOoffset(Integer offset)PaginationDTOprevious(String previous)voidsetLimit(Integer limit)voidsetNext(String next)voidsetOffset(Integer offset)voidsetPrevious(String previous)voidsetTotal(Integer total)StringtoString()PaginationDTOtotal(Integer total)
-
-
-
Method Detail
-
offset
public PaginationDTO offset(Integer offset)
-
getOffset
public Integer getOffset()
Get offset- Returns:
- offset
-
setOffset
public void setOffset(Integer offset)
-
limit
public PaginationDTO limit(Integer limit)
-
getLimit
public Integer getLimit()
Get limit- Returns:
- limit
-
setLimit
public void setLimit(Integer limit)
-
total
public PaginationDTO total(Integer total)
-
getTotal
public Integer getTotal()
Get total- Returns:
- total
-
setTotal
public void setTotal(Integer total)
-
next
public PaginationDTO next(String next)
-
getNext
public String getNext()
Link to the next subset of resources qualified. Empty if no more resources are to be returned.- Returns:
- next
-
setNext
public void setNext(String next)
-
previous
public PaginationDTO previous(String previous)
-
getPrevious
public String getPrevious()
Link to the previous subset of resources qualified. Empty if current subset is the first subset returned.- Returns:
- previous
-
setPrevious
public void setPrevious(String previous)
-
-