> + */ > +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) {
SerializedName is used for both serialization and deserialization. When you say you prefer it for consistency, can you elaborate? Thanks! --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/111/files#r14071020