Class PagedResult<T>

  • Type Parameters:
    T - object

    public class PagedResult<T>
    extends java.lang.Object
    A wrapper object used to Wrap the data that comes back from the API. It holds the paging info as well as a List of objects of the specified type.
    • Constructor Detail

      • PagedResult

        public PagedResult()
    • Method Detail

      • getData

        public java.util.List<T> getData()
      • setData

        public void setData​(java.util.List<T> data)
      • getPageNumber

        public java.lang.Integer getPageNumber()
      • setPageNumber

        public void setPageNumber​(java.lang.Integer pageNumber)
      • getPageSize

        public java.lang.Integer getPageSize()
      • setPageSize

        public void setPageSize​(java.lang.Integer pageSize)
      • getTotalCount

        public java.lang.Integer getTotalCount()
      • setTotalCount

        public void setTotalCount​(java.lang.Integer totalCount)
      • getTotalPages

        public java.lang.Integer getTotalPages()
      • setTotalPages

        public void setTotalPages​(java.lang.Integer totalPages)