> +   @Nullable
> +   ShareNetwork get(@PathParam("id") String shareNetworkId);
> +
> +   /**
> +    * Creates a new ShareNetwork
> +    *
> +    * @param shareNetworkId Id of the ShareNetwork
> +    * @param options See CreateShareNetworkOptions
> +    * @return The new ShareNetwork
> +    */
> +   @Named("shareNetwork:create")
> +   @POST
> +   @SelectJson("share_network")
> +   @Produces(MediaType.APPLICATION_JSON)
> +   @MapBinder(CreateShareNetworkOptions.class)
> +   ShareNetwork create(CreateShareNetworkOptions... options);

See if you can get rid of the MapBinder by providing a CreateShareNetwork class 
using auto-value that contains the possible options.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/198/files#r35160870

Reply via email to