> + */
> +@RequestFilters(AuthenticateRequest.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +@Path("/v2/meters")
> +public interface MeterApi {
> +
> + @Named("resource:listMeters")
> + @GET
> + @Fallback(EmptyListOnNotFoundOr404.class)
> + List<Meter> list();
> +
> + @Named("resource:listMeters")
> + @GET
> + @Produces(MediaType.APPLICATION_JSON)
> + @Fallback(EmptyListOnNotFoundOr404.class)
> + List<Meter> list(QueryOptions... options);
We have been moving away from varargs, however this API may need them. Leave
this for now and we can revisit.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/166/files#r20578722