> +
> +/**
> + * Provides access to Flavor features.
> + */
> +@Beta
> +@RequestFilters(AuthenticateRequest.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +@Endpoint(CDN.class)
> +@Path("/flavors")
> +public interface FlavorApi {
> +
> + @Named("flavor:list")
> + @GET
> + @SelectJson("flavors")
> + @Fallback(EmptyFluentIterableOnNotFoundOr404.class)
> + FluentIterable<Flavor> list();
If there is no pagination, just return a regular `List`, as there is no reason
to return such an iterable here (otherwise, implement the other methods to
properly implement the pagination). Let's try to stop proliferating the Guava
types in our interfaces; that will make our lives much easier in the future.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/176/files#r23364875