public class Pagination
extends java.lang.Object
| Constructor and Description |
|---|
Pagination() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getCount()
Number of retrieved content items
|
java.lang.Integer |
getLimit()
Number of content items returned from the response
|
java.lang.String |
getNextPage()
URL to the next page of results.
|
java.lang.Integer |
getSkip()
Number of content items skipped from the response
|
java.lang.Integer |
getTotalCount()
Number of total items matching the search criteria
|
int |
hashCode() |
void |
setCount(java.lang.Integer count)
Number of retrieved content items
|
void |
setLimit(java.lang.Integer limit)
Number of content items returned from the response
|
void |
setNextPage(java.lang.String nextPage)
URL to the next page of results.
|
void |
setSkip(java.lang.Integer skip)
Number of content items skipped from the response
|
void |
setTotalCount(java.lang.Integer totalCount)
Number of total items matching the search criteria
|
java.lang.String |
toString() |
public java.lang.Integer getSkip()
DeliveryParameterBuilder.page(Integer, Integer) query
parameter.public java.lang.Integer getLimit()
DeliveryParameterBuilder.page(Integer, Integer) query
parameter.public java.lang.Integer getCount()
If the limit and skip query parameters (DeliveryParameterBuilder.page(Integer, Integer)) aren't set, the
count attribute will contain the total number of content items matching the specified filtering parameters.
public java.lang.Integer getTotalCount()
Is set only when DeliveryParameterBuilder.includeTotalCount() used for loading ContentItemsListingResponse.
public java.lang.String getNextPage()
DeliveryClient.getNextPage(Page).public void setSkip(java.lang.Integer skip)
skip - Sets skip on this.
parameter.public void setLimit(java.lang.Integer limit)
limit - Sets limit on this.
parameter.public void setCount(java.lang.Integer count)
If the limit and skip query parameters (DeliveryParameterBuilder.page(Integer, Integer)) aren't set, the
count attribute will contain the total number of content items matching the specified filtering parameters.
count - Sets count on this.public void setTotalCount(java.lang.Integer totalCount)
Is set only when DeliveryParameterBuilder.includeTotalCount() used for loading ContentItemsListingResponse.
totalCount - Sets total_count on this.public void setNextPage(java.lang.String nextPage)
DeliveryClient.getNextPage(Page).nextPage - Sets nextPage on this.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object