return new Function<Object, IterableWithMarker<ReferenceWithName>>() {
@SuppressWarnings("unchecked")
@Override
public IterableWithMarker<ReferenceWithName> apply(Object input) {
PaginationOptions paginationOptions = PaginationOptions.class.cast(input);
return IterableWithMarker.class.cast(portApi.listInDetail(paginationOptions));
}
@Override
public String toString() {