> +   public abstract String password();
> +   
> +   public abstract RoleInfo role();
> +   
> +   CreateAccount() {
> +   }
> +
> +   @SerializedNames({ "username", "password", "role"})
> +   public static CreateAccount create(String username, String password, 
> RoleInfo role) {
> +      checkArgument(username.length() > 0, "username must not be empty 
> string");
> +      checkArgument(password.length() > 0, "password must not be empty 
> string");
> +      if (role == null) role = RoleInfo.create("user", null);
> +      return new AutoValue_CreateAccount(username, password, role);
> +   }
> +   
> +   @SerializedNames({ "username", "password", "role"})

That appears to be required which is why I left it in ;) Removing it causes 
jclouds to complain about it not being there

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

Reply via email to