Class ListPaginationMetadata
-
- All Implemented Interfaces:
-
java.io.Serializable
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ListPaginationMetadata implements Serializable
ListPaginationMetadata
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
JSON_PROPERTY_PER_PAGE
public Integer
perPage
public final static String
JSON_PROPERTY_TOTAL_ENTRIES
public Integer
totalEntries
public final static String
JSON_PROPERTY_TOTAL_PAGES
public Integer
totalPages
public final static String
JSON_PROPERTY_CURRENT_PAGE
public Integer
currentPage
-
Constructor Summary
Constructors Constructor Description ListPaginationMetadata()
-
Method Summary
Modifier and Type Method Description Integer
getPerPage()
The number of items returned per page void
setPerPage(Integer perPage)
Integer
getTotalEntries()
The total number of items available void
setTotalEntries(Integer totalEntries)
Integer
getTotalPages()
The total number of pages available void
setTotalPages(Integer totalPages)
Integer
getCurrentPage()
The current page number, starting from 1 void
setCurrentPage(Integer currentPage)
ListPaginationMetadata
perPage(Integer perPage)
ListPaginationMetadata
totalEntries(Integer totalEntries)
ListPaginationMetadata
totalPages(Integer totalPages)
ListPaginationMetadata
currentPage(Integer currentPage)
boolean
equals(Object o)
int
hashCode()
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string. String
toUrlQueryString(String prefix)
Convert the instance into URL query string. -
-
Method Detail
-
getPerPage
@Nullable() Integer getPerPage()
The number of items returned per page
- Returns:
perPage
-
setPerPage
void setPerPage(Integer perPage)
-
getTotalEntries
@Nullable() Integer getTotalEntries()
The total number of items available
- Returns:
totalEntries
-
setTotalEntries
void setTotalEntries(Integer totalEntries)
-
getTotalPages
@Nullable() Integer getTotalPages()
The total number of pages available
- Returns:
totalPages
-
setTotalPages
void setTotalPages(Integer totalPages)
-
getCurrentPage
@Nullable() Integer getCurrentPage()
The current page number, starting from 1
- Returns:
currentPage
-
setCurrentPage
void setCurrentPage(Integer currentPage)
-
perPage
ListPaginationMetadata perPage(Integer perPage)
-
totalEntries
ListPaginationMetadata totalEntries(Integer totalEntries)
-
totalPages
ListPaginationMetadata totalPages(Integer totalPages)
-
currentPage
ListPaginationMetadata currentPage(Integer currentPage)
-
hashCode
int hashCode()
-
toUrlQueryString
String toUrlQueryString()
Convert the instance into URL query string.
- Returns:
URL query string
-
toUrlQueryString
String toUrlQueryString(String prefix)
Convert the instance into URL query string.
- Parameters:
prefix
- prefix of the query string- Returns:
URL query string
-
-
-
-