> +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;
I didn't add any null checks since the most of these properties can effectively
be null. For those properties that are required (non-nullable), I didn't add a
null check since they're always filled in, whether it's due to creating this
object through the interface or creating this object through receiving a
response from OpenStack.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/44/files#r7242452