public class SagePagedResponse<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
itemsPerPage |
private java.util.List<T> |
resources |
private java.lang.Integer |
startIndex |
private java.lang.Integer |
totalResults |
Constructor and Description |
---|
SagePagedResponse() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getItemsPerPage() |
java.util.List<T> |
getResources() |
java.lang.Integer |
getStartIndex() |
java.lang.Integer |
getTotalResults() |
void |
setItemsPerPage(java.lang.Integer itemsPerPage) |
void |
setResources(java.util.List<T> resources) |
void |
setStartIndex(java.lang.Integer startIndex) |
void |
setTotalResults(java.lang.Integer totalResults) |
private java.lang.Integer totalResults
private java.lang.Integer startIndex
private java.lang.Integer itemsPerPage
@NotNull private java.util.List<T> resources
public java.lang.Integer getTotalResults()
public void setTotalResults(java.lang.Integer totalResults)
public java.lang.Integer getStartIndex()
public void setStartIndex(java.lang.Integer startIndex)
public java.lang.Integer getItemsPerPage()
public void setItemsPerPage(java.lang.Integer itemsPerPage)
public java.util.List<T> getResources()
public void setResources(java.util.List<T> resources)