public class PagedList<T> extends Object
Constructor and Description |
---|
PagedList(List<T> elements,
String nextPageToken) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getElements()
An array of element objects.
|
String |
getNextPageToken()
Page token to retrieve the next page of results.
|
static <T> List<T> |
listAllFromPagedApi(java.util.function.Function<String,PagedList<T>> pagedApi)
Util method to list all from paged api.
|
@Nullable public String getNextPageToken()
public static <T> List<T> listAllFromPagedApi(java.util.function.Function<String,PagedList<T>> pagedApi)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.