jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] Adds support for Floating IP (#135)
Date Fri, 29 Aug 2014 00:18:36 GMT
> +   @Path("/{id}")
> +   @SelectJson("floatingip")
> +   @Fallback(NullOnNotFoundOr404.class)
> +   @Nullable
> +   FloatingIP get(@PathParam("id") String id);
> +
> +   /**
> +    * This operation creates a floating IP.
> +    *
> +    * @param floatingIP Options for creating a floatingip
> +    * @return the newly created floatingip
> +    */
> +   @Named("floatingip:create")
> +   @POST
> +   @SelectJson("floatingip")
> +   FloatingIP create(@WrapWith("floatingip") FloatingIP.CreateOptions floatingIP);

Actually makes sense to rename the parameter

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