Package org.projectnessie.model
Interface PaginatedResponse
-
- All Known Subinterfaces:
EntriesResponse,LogResponse
- All Known Implementing Classes:
ImmutableEntriesResponse,ImmutableLogResponse
public interface PaginatedResponse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Size(min=1) StringgetToken()Pass this value to the next invocation of the API function to get the next page of results.default booleanhasMore()Whether there are more result-items than returned by this response object.
-
-
-
Method Detail
-
hasMore
@Default default boolean hasMore()
Whether there are more result-items than returned by this response object.If there are more result-items, the value returned by
getToken()can be used in the next invocation to get the next "page" of results.- Returns:
true, if there are more result items.
-
-