public class PaginatedResponse<T extends java.io.Serializable> extends BasePOJO
Constructor and Description |
---|
PaginatedResponse() |
PaginatedResponse(java.util.List<T> pItems) |
PaginatedResponse(PaginatedResponse pOther) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCurrentOffset() |
java.lang.Boolean |
getHasMore() |
java.util.List<T> |
getItems() |
java.lang.Integer |
getLimit() |
java.lang.Integer |
getNext() |
java.lang.Integer |
getTotalCount() |
void |
setCurrentOffset(java.lang.Integer pCurrentOffset) |
void |
setItems(java.util.List<T> pItems) |
void |
setLimit(java.lang.Integer pLimit) |
void |
setTotalCount(java.lang.Integer pTotalCount) |
java.lang.String |
toString()
Default BasePOJO dumps all.
|
public PaginatedResponse()
public PaginatedResponse(java.util.List<T> pItems)
public PaginatedResponse(PaginatedResponse pOther)
public void setLimit(java.lang.Integer pLimit)
public java.lang.Integer getLimit()
public void setCurrentOffset(java.lang.Integer pCurrentOffset)
public java.lang.Integer getCurrentOffset()
public void setTotalCount(java.lang.Integer pTotalCount)
public java.lang.Integer getTotalCount()
public void setItems(java.util.List<T> pItems)
public java.util.List<T> getItems()
public java.lang.Integer getNext()
public java.lang.Boolean getHasMore()