Class Pagination

java.lang.Object
cloud.dnation.hetznerclient.Pagination

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-09-21T08:14:59.463226706Z[Etc/UTC]") public class Pagination extends Object
Pagination
  • Field Details

  • Constructor Details

    • Pagination

      public Pagination()
  • Method Details

    • lastPage

      public Pagination lastPage(String lastPage)
    • getLastPage

      @Nullable public String getLastPage()
      ID of the last page available. Can be null if the current page is the last one.
      Returns:
      lastPage
    • setLastPage

      public void setLastPage(String lastPage)
    • nextPage

      public Pagination nextPage(String nextPage)
    • getNextPage

      @Nullable public String getNextPage()
      ID of the next page. Can be null if the current page is the last one.
      Returns:
      nextPage
    • setNextPage

      public void setNextPage(String nextPage)
    • page

      public Pagination page(String page)
    • getPage

      @Nullable public String getPage()
      Current page number.
      Returns:
      page
    • setPage

      public void setPage(String page)
    • perPage

      public Pagination perPage(String perPage)
    • getPerPage

      @Nullable public String getPerPage()
      Maximum number of items shown per page in the response
      Returns:
      perPage
    • setPerPage

      public void setPerPage(String perPage)
    • previousPage

      public Pagination previousPage(String previousPage)
    • getPreviousPage

      @Nullable public String getPreviousPage()
      ID of the previous page. Can be null if the current page is the first one.
      Returns:
      previousPage
    • setPreviousPage

      public void setPreviousPage(String previousPage)
    • totalEntries

      public Pagination totalEntries(String totalEntries)
    • getTotalEntries

      @Nullable public String getTotalEntries()
      The total number of entries that exist in the database for this query. Nullable if unknown.
      Returns:
      totalEntries
    • setTotalEntries

      public void setTotalEntries(String totalEntries)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object