>
> /**
> * Pause a server.
> *
> * @param id id of the server
> */
> - Boolean pause(String id);
> + @Named("serverAdmin:pause")
> + @POST
> + @Produces(MediaType.APPLICATION_JSON)
> + @Payload("{\"pause\":null}")
> + @Fallback(FalseOnNotFoundOr404.class)
> + Boolean pause(@PathParam("id") String id);
@zack-shoylev My preference would be to have all of the API methods return
primitive types across the board. That's me though... ;) Deprecate/add this
method as well? WDYT?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/417/files#r14258803