> +
> +   @Nullable
> +   public abstract String nfsPath();
> +
> +   public abstract String name();
> +
> +   @Nullable
> +
> +   public abstract String creationDate();
> +
> +   @Nullable
> +   public abstract List<Server> servers();
> +
> +   @SerializedNames({"id", "size", "state", "description", "cloudpanel_id", 
> "size_used", "cifs_path", "nfs_path", "name", "creation_date", "servers"})
> +   public static SharedStorage create(String id, int size, String state, 
> String description, String cloudpanelId, int sizeUsed, String cifsPath, 
> String nfsPath, String name, String creationDate, List<Server> servers) {
> +      return new AutoValue_SharedStorage(id, size, state, description, 
> cloudpanelId, sizeUsed, cifsPath, nfsPath, name, creationDate, servers == 
> null ? ImmutableList.<Server>of() : servers);

Use `ImmutableList.copyOf` when the server list is present.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/304/files/b4ecd2bdfe26ff68d6dd6c9e03a4de2e3eba3fe2#r72952616

Reply via email to