}
@Override
protected Function<Object, IterableWithMarker<Subnet>> markerToNextForArg0(Optional<Object> arg0) {
String zone = arg0.isPresent() ? arg0.get().toString() : null;
final SubnetApi subnetApi = api.getSubnetApiForZone(zone);
return new Function<Object, IterableWithMarker<Subnet>>() {
@SuppressWarnings("unchecked")
@Override
public IterableWithMarker<Subnet> apply(Object input) {
PaginationOptions paginationOptions = PaginationOptions.class.cast(input);
return IterableWithMarker.class.cast(subnetApi.listInDetail(paginationOptions));
}
@Override
public String toString() {
return "listSubnetsInDetail()";