> +   @XMLResponseParser(DataCenterInfoResponseHandler.class)
> +   DataCenter clearDataCenter(@PayloadParam("id") String identifier);
> +
> +   /**
> +    * Deletes an Virtual Data Center. If a previous request on the target 
> data center is still in progress, the data
> +    * center is going to be deleted after this request has been completed. 
> Once a Data Center has been deleted, no
> +    * further request can be performed on it.
> +    * <p>
> +    * @param identifier Identifier of the virtual data center
> +    * @return Returns a boolean indicating whether delete operation was made
> +    */
> +   @POST
> +   @Named("datacenter:delete")
> +   
> @Payload("<ws:deleteDataCenter><dataCenterId>{id}</dataCenterId></ws:deleteDataCenter>")
> +   @Fallback(Fallbacks.FalseOnNotFoundOr404.class)
> +   Boolean deleteDataCenter(@PayloadParam("id") String identifier);

Better return a primitive type, as `null` does not make sense here.

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

Reply via email to