> @@ -88,7 +131,14 @@
>      * @param domain  the domain to add the record to
>      * @param options optional settings for the record
>      */
> -   DomainRecord createRecord(String domain, String host, String type, String 
> data, AddRecordOptions... options);
> +   @Named("domain:addrecord")
> +   @POST
> +   @Path("/domain/addrecord/format/json")
> +   @SelectJson("record")
> +   @Consumes(MediaType.APPLICATION_JSON)
> +   DomainRecord createRecord(@FormParam("domainname") String domain, 
> @FormParam("host") String host,
> +                                               @FormParam("type") String 
> type, @FormParam("data") String data,
> +                                               AddRecordOptions... options);

The last open really is an **array** of `AddRecordOptions` objects, rather than 
just a single one?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/88/files#r5557571

Reply via email to