> +import com.google.common.base.Objects;
> +
> +import java.beans.ConstructorProperties;
> +
> +/**
> + * Information on external gateway for the router
> + *
> + * @author Nick Livens
> + */
> +public class ExternalGatewayInfo {
> +
> +   private final String networkId;
> +
> +   @ConstructorProperties({"network_id"})
> +   protected ExternalGatewayInfo(String networkId) {
> +      this.networkId = networkId;

Do we need null checks here and for similar non-nullable properties of the 
other domain objects, or are we assuming that we'll always be constructing 
these correctly from internal code?

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

Reply via email to