@Override
protected Function<Object, IterableWithMarker<Subscription>> markerToNextForArgs(List<Object> args) {
return new Function<Object, IterableWithMarker<Subscription>>() {
@Override
public IterableWithMarker<Subscription> apply(Object input) {
PaginationOptions paginationOptions = PaginationOptions.class.cast(input);
return api.listSubscriptions(paginationOptions);
}
};
}