java.lang.Object
org.wso2.am.integration.clients.internal.api.dto.PaginationDTO

public class PaginationDTO extends Object
PaginationDTO
  • Constructor Details

    • PaginationDTO

      public PaginationDTO()
  • Method Details

    • offset

      public PaginationDTO offset(Integer offset)
    • getOffset

      public Integer getOffset()
      Get offset
      Returns:
      offset
    • setOffset

      public void setOffset(Integer offset)
    • limit

      public PaginationDTO limit(Integer limit)
    • getLimit

      public Integer getLimit()
      Get limit
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
    • total

      public PaginationDTO total(Integer total)
    • getTotal

      public Integer getTotal()
      Get total
      Returns:
      total
    • setTotal

      public void setTotal(Integer total)
    • next

      public PaginationDTO next(String next)
    • getNext

      public String getNext()
      Link to the next subset of resources qualified. Empty if no more resources are to be returned.
      Returns:
      next
    • setNext

      public void setNext(String next)
    • previous

      public PaginationDTO previous(String previous)
    • getPrevious

      public String getPrevious()
      Link to the previous subset of resources qualified. Empty if current subset is the first subset returned.
      Returns:
      previous
    • setPrevious

      public void setPrevious(String previous)
    • 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