Class PaginatedList<T>
- java.lang.Object
-
- io.quarkiverse.openfga.client.utils.PaginatedList<T>
-
public final class PaginatedList<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description PaginatedList(List<T> items, String token)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> io.smallrye.mutiny.Uni<List<T>>collectAllPages(Integer pageSize, BiFunction<Integer,String,io.smallrye.mutiny.Uni<PaginatedList<T>>> listGenerator)booleanequals(Object obj)List<T>getItems()StringgetToken()inthashCode()BooleanisNotLastPage()StringtoString()
-
-
-
Method Detail
-
isNotLastPage
public Boolean isNotLastPage()
-
collectAllPages
public static <T> io.smallrye.mutiny.Uni<List<T>> collectAllPages(@Nullable Integer pageSize, BiFunction<Integer,String,io.smallrye.mutiny.Uni<PaginatedList<T>>> listGenerator)
-
getToken
@Nullable public String getToken()
-
-