> + @GET
> + @Path("/{id}/power_off")
> + @SelectJson("event_id")
> + int powerOff(@PathParam("id") int id);
> +
> + /**
> + * Power on the given droplet.
> + *
> + * @param id The id of the droplet to power on.
> + * @return The id of the event to track the power on process.
> + */
> + @Named("droplet:poweron")
> + @GET
> + @Path("/{id}/power_on")
> + @SelectJson("event_id")
> + int powerOn(@PathParam("id") int id);
Why ints on all of these rather than a status enum? Design choice? Unknown set
of result codes?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/49/files#r9165881