throw new DNSAPIClientJsonMappingException(
DNSAPIClientJsonMappingExceptionCode.unexpectedMappingError,
e, getTextualBeanType(), e.getMessage());
}
NameServerInterface nameServerInterface = new NameServerInterface();
nameServerInterface.setOrder(findFieldNode(objectNode, "order")
.intValue());
nameServerInterface.setName(findFieldNode(objectNode, "name")
.textValue());
nameServerInterface.setIpv4Address((Inet4Address) getNodeAddressValue(
objectNode, "ipv4Address"));
nameServerInterface.setIpv6Address((Inet6Address) getNodeAddressValue(
objectNode, "ipv6Address"));
return nameServerInterface;
}