public function describeNetworkInterfaces(ListDataType $networkInterfaceIdList = null, NetworkInterfaceFilterList $filter = null)
{
$result = null;
$options = array();
$action = ucfirst(__FUNCTION__);
if ($networkInterfaceIdList !== null) {
$options = array_merge($options, $networkInterfaceIdList->getQueryArrayBare('NetworkInterfaceId'));
}
if ($filter !== null) {
$options = array_merge($options, $filter->getQueryArrayBare('Filter'));
}
$response = $this->client->call($action, $options);
if ($response->getError() === false) {
$sxml = simplexml_load_string($response->getRawContent());
$response = null;
$result = $this->_loadListByName('NetworkInterface', $sxml->networkInterfaceSet);
$result->requestId = (string) $sxml->requestId;
}
return $result;
}