> +
> + @Named("servers:snapshot:delete")
> + @DELETE
> + @Path("/{serverId}/snapshots/{snapshotId}")
> + @ResponseParser(ServerApi.ServerParser.class)
> + @MapBinder(BindToJsonPayload.class)
> + @Fallback(Fallbacks.NullOnNotFoundOr404.class)
> + Server deleteSnapshot(@PathParam("serverId") String serverId,
> @PathParam("snapshotId") String snapshotId);
> +
> + @Named("servers:clone:create")
> + @POST
> + @Path("/{serverId}/clone")
> + @ResponseParser(ServerApi.ServerParser.class)
> + Server clone(@PathParam("serverId") String serverId,
> @BinderParam(BindToJsonPayload.class) Server.Clone clone);
> +
> + static final class ServerListParser extends ParseJson<List<Server>> {
jclouds should be able to deserialize these objects out of the box. Can all the
parsers in this class be removed, and the corresponding response parser
annotations in the api methods?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68669933