public abstract class BrAPIPagination extends Object
| Constructor and Description |
|---|
BrAPIPagination() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
abstract Integer |
getCurrentPage() |
Integer |
getPageSize()
The number of data elements returned, aka the size of the current page.
|
Integer |
getTotalCount()
The total number of elements that are available on the server and match the
requested query paramters.
|
Integer |
getTotalPages()
The total number of pages of elements available on the server.
|
int |
hashCode() |
BrAPIPagination |
pageSize(Integer pageSize) |
abstract void |
setCurrentPage(Integer page) |
abstract void |
setCurrentPage(String pageToken) |
void |
setPageSize(Integer pageSize) |
void |
setTotalCount(Integer totalCount) |
void |
setTotalPages(Integer totalPages) |
String |
toString() |
BrAPIPagination |
totalCount(Integer totalCount) |
BrAPIPagination |
totalPages(Integer totalPages) |
public BrAPIPagination pageSize(Integer pageSize)
public Integer getPageSize()
public void setPageSize(Integer pageSize)
public BrAPIPagination totalCount(Integer totalCount)
public Integer getTotalCount()
public void setTotalCount(Integer totalCount)
public BrAPIPagination totalPages(Integer totalPages)
public Integer getTotalPages()
public void setTotalPages(Integer totalPages)
public abstract void setCurrentPage(Integer page)
public abstract void setCurrentPage(String pageToken)
public abstract Integer getCurrentPage()
Copyright © 2023. All rights reserved.