> + */
> +package org.jclouds.openstack.neutron.v2.domain;
> +
> +import com.google.common.base.Objects;
> +import com.google.gson.annotations.SerializedName;
> +
> +/**
> + */
> +public class AddressPair {
> +
> + @SerializedName("mac_address")
> + protected final String macAddress;
> + @SerializedName("ip_address")
> + protected final String ipAddress;
> +
> + protected AddressPair(String macAddress, String ipAddress) {
Actually ConstructorProperties leads to problems when updating the code and is
also unnecessary when SerializedName is used. I have removed it completely,
except from the simplest cases. For consistency, I could remove it from the
rest of the code.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/111/files#r14017479