public class PaginationResponse<T> extends Object
Constructor and Description |
---|
PaginationResponse() |
Modifier and Type | Method and Description |
---|---|
PaginationResponse |
addItemsItem(T itemsItem) |
boolean |
equals(Object o) |
List<T> |
getItems()
Get items
|
Integer |
getLimit()
Get limit
|
String |
getNext()
Get next
|
Integer |
getOffset()
Get offset
|
String |
getPrevious()
Get previous
|
Long |
getTotalCount()
Get totalCount
|
int |
hashCode() |
void |
setItems(List<T> items)
Set items
|
void |
setLimit(Integer limit)
Set limit
|
void |
setNext(String next)
Set next
|
void |
setOffset(Integer offset)
Set offset
|
void |
setPrevious(String previous)
Set previous
|
void |
setTotalCount(Long totalCount)
Set totalCount
|
String |
toString() |
public Long getTotalCount()
public void setTotalCount(Long totalCount)
totalCount
- public Integer getOffset()
public void setOffset(Integer offset)
offset
- public Integer getLimit()
public void setLimit(Integer limit)
limit
- public String getPrevious()
public void setPrevious(String previous)
previous
- public String getNext()
public void setNext(String next)
next
- public PaginationResponse addItemsItem(T itemsItem)
Copyright © 2020. All rights reserved.