protected function _loadNetworkInterfacePrivateIpAddressesSetData(\SimpleXMLElement $v)
{
$item = null;
if ($this->exist($v)) {
$item = new NetworkInterfacePrivateIpAddressesSetData();
$item->setEc2($this->ec2);
$item->primary = (string) $v->primary == 'true';
$item->privateDnsName = $this->exist($v->privateDnsName) ? (string) $v->privateDnsName : null;
$item->privateIpAddress = (string) $v->privateIpAddress;
$item->setAssociation($this->_loadNetworkInterfaceAssociationData($v->association));
}
return $item;
}