Package com.smartsheet.api.models
Class PaginationParameters
- java.lang.Object
-
- com.smartsheet.api.models.PaginationParameters
-
public class PaginationParameters extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaginationParameters.PaginationParametersBuilder
A convenience class for creating a PaginationParameters object
-
Constructor Summary
Constructors Constructor Description PaginationParameters()
PaginationParameters(boolean includeAll, java.lang.Integer pageSize, java.lang.Integer page)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getPage()
Gets the pagejava.lang.Integer
getPageSize()
Gets the page sizeboolean
isIncludeAll()
Gets includeAllPaginationParameters
setIncludeAll(boolean includeAll)
Sets includeAllPaginationParameters
setPage(java.lang.Integer page)
Sets the pagePaginationParameters
setPageSize(java.lang.Integer pageSize)
Sets the page sizejava.util.Map<java.lang.String,java.lang.Object>
toHashMap()
Convert to a hash mapjava.lang.String
toQueryString()
Convert to a query string
-
-
-
Method Detail
-
isIncludeAll
public boolean isIncludeAll()
Gets includeAll- Returns:
- includeAll
-
setIncludeAll
public PaginationParameters setIncludeAll(boolean includeAll)
Sets includeAll- Parameters:
includeAll
- include all parameter
-
getPageSize
public java.lang.Integer getPageSize()
Gets the page size- Returns:
- page size
-
setPageSize
public PaginationParameters setPageSize(java.lang.Integer pageSize)
Sets the page size- Parameters:
pageSize
- the page size
-
getPage
public java.lang.Integer getPage()
Gets the page- Returns:
- page the page number
-
setPage
public PaginationParameters setPage(java.lang.Integer page)
Sets the page- Parameters:
page
- the page number
-
toQueryString
public java.lang.String toQueryString()
Convert to a query string
-
toHashMap
public java.util.Map<java.lang.String,java.lang.Object> toHashMap()
Convert to a hash map
-
-