Package cloud.dnation.hetznerclient
Class Pagination
java.lang.Object
cloud.dnation.hetznerclient.Pagination
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-09T14:14:52.146496965Z[Etc/UTC]")
public class Pagination
extends Object
Pagination
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanID of the last page available.ID of the next page.getPage()Current page number.Maximum number of items shown per page in the responseID of the previous page.The total number of entries that exist in the database for this query.inthashCode()previousPage(String previousPage) voidsetLastPage(String lastPage) voidsetNextPage(String nextPage) voidvoidsetPerPage(String perPage) voidsetPreviousPage(String previousPage) voidsetTotalEntries(String totalEntries) toString()totalEntries(String totalEntries)
-
Field Details
-
SERIALIZED_NAME_LAST_PAGE
- See Also:
-
SERIALIZED_NAME_NEXT_PAGE
- See Also:
-
SERIALIZED_NAME_PAGE
- See Also:
-
SERIALIZED_NAME_PER_PAGE
- See Also:
-
SERIALIZED_NAME_PREVIOUS_PAGE
- See Also:
-
SERIALIZED_NAME_TOTAL_ENTRIES
- See Also:
-
-
Constructor Details
-
Pagination
public Pagination()
-
-
Method Details
-
lastPage
-
getLastPage
ID of the last page available. Can be null if the current page is the last one.- Returns:
- lastPage
-
setLastPage
-
nextPage
-
getNextPage
ID of the next page. Can be null if the current page is the last one.- Returns:
- nextPage
-
setNextPage
-
page
-
getPage
Current page number.- Returns:
- page
-
setPage
-
perPage
-
getPerPage
Maximum number of items shown per page in the response- Returns:
- perPage
-
setPerPage
-
previousPage
-
getPreviousPage
ID of the previous page. Can be null if the current page is the first one.- Returns:
- previousPage
-
setPreviousPage
-
totalEntries
-
getTotalEntries
The total number of entries that exist in the database for this query. Nullable if unknown.- Returns:
- totalEntries
-
setTotalEntries
-
equals
-
hashCode
public int hashCode() -
toString
-