jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] Profitbricks REST - Datacenter (#225)
Date Tue, 15 Dec 2015 21:35:51 GMT
> +@AutoValue
> +public abstract class Lans {
> +
> +   public abstract String id();
> +
> +   public abstract String type();
> +
> +   public abstract String href();
> +
> +   public abstract List<Lan> items();
> +
> +   @SerializedNames({"id", "type", "href", "items"})
> +   public static Lans create(String id, String type, String href, List<Lan> items)
{
> +      return new AutoValue_Lans(id, type, href, items == null ? ImmutableList.<Lan>of()
: copyOf(items));
> +   }
> +}

Same about wrapper objects.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/225/files#r47702185
Mime
View raw message