public function describeRouteTables(ListDataType $routeTableIdList = null, RouteTableFilterList $filter = null)
{
$result = null;
$options = array();
$action = ucfirst(__FUNCTION__);
if ($routeTableIdList !== null) {
$options = array_merge($options, $routeTableIdList->getQueryArrayBare('RouteTableId'));
}
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('RouteTable', $sxml->routeTableSet);
$result->setRequestId((string) $sxml->requestId);
}
return $result;
}