jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svet <notificati...@github.com>
Subject Re: [jclouds] [Softlayer] Implements setting and retrieving the notes property (#756)
Date Wed, 03 Jun 2015 11:58:50 GMT
> @@ -149,4 +152,34 @@
>     @Produces(MediaType.APPLICATION_JSON)
>     @Fallback(Fallbacks.FalseOnNotFoundOr404.class)
>     boolean setTags(@PathParam("id") long id, @BinderParam(TagToJson.class) Set<String>
tags);
> +
> +   /**
> +    * Set notes (visible in UI)
> +    *
> +    * @param id
> +    *           id of the virtual guest
> +    */
> +   @Named("VirtualGuest:setNotes")
> +   @POST
> +   @Path("/SoftLayer_Virtual_Guest/{id}/editObject")
> +   @Produces(MediaType.APPLICATION_JSON)
> +   @Fallback(Fallbacks.FalseOnNotFoundOr404.class)

I've copied it from `setTags`, could make sense if the id is wrong?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/756/files#r31615428
Mime
View raw message