jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Cole <notificati...@github.com>
Subject Re: [jclouds-labs-google] Convert GoogleComputeEngine to AutoValue + general cleanup. (#73)
Date Mon, 03 Nov 2014 21:40:51 GMT
> +import org.jclouds.javax.annotation.Nullable;
> +import org.jclouds.json.SerializedNames;
> +
> +import com.google.auto.value.AutoValue;
> +
> +/** Container for network, IPv4 range and optional gateway, for creation caching */
> +@AutoValue
> +public abstract class NetworkAndAddressRange {
> +
> +   public abstract String name();
> +
> +   public abstract String rangeIPv4();
> +
> +   @Nullable public abstract String gateway();
> +
> +   @SerializedNames({ "name", "ipV4Range", "gateway" })

difference was deliberate since that name is used elsewhere.

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