Class PaginatedDto<T>


  • public class PaginatedDto<T>
    extends Object
    • Constructor Detail

      • PaginatedDto

        public PaginatedDto​(@NotNull
                            Collection<T> values,
                            @Nullable
                            String nextPage,
                            @Nullable
                            Integer totalCount,
                            @Nullable
                            Boolean hasMore)
    • Method Detail

      • getValues

        @NotNull
        public Collection<T> getValues()
      • getNextPage

        @Nullable
        public String getNextPage()
      • getTotalCount

        @Nullable
        public Integer getTotalCount()
      • getHasMore

        @Nullable
        public Boolean getHasMore()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object