> + @MapBinder(UpdateVolumeRequestBinder.class)
> + @ResponseParser(VolumeApi.VolumeParser.class)
> + @Produces("application/vnd.profitbricks.partial-properties+json")
> + Volume updateVolume(@PayloadParam("volume") Volume.Request.UpdatePayload
> payload);
> +
> + @Named("volume:delete")
> + @DELETE
> + @Path("/{volumeId}")
> + @Fallback(Fallbacks.VoidOnNotFoundOr404.class)
> + void deleteVolume(@PathParam("dataCenterId") String dataCenterId,
> @PathParam("volumeId") String volumeId);
> +
> + @Named("volume:snapshot:create")
> + @POST
> + @MapBinder(CreateSnapshotRequestBinder.class)
> + @ResponseParser(SnapshotApi.SnapshotParser.class)
> + Snapshot createSnapshot(@PayloadParam("snapshot")
> Volume.Request.CreateSnapshotPayload payload);
Hmm. Should this (and `restoreSnapshot`) be in `SnapshotApi.java` instead? If
so, don't forget to move both of their
[tests](https://github.com/jclouds/jclouds-labs/pull/233/files#diff-81aadea0059ec0e66cf6304f6234762bR148)
too!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/233/files#r52560003