public function getStatisticsRaidVolumePort($domain, $unit, $volume)
{
$domain = (string) $domain;
$unit = (string) $unit;
$volume = (string) $volume;
if (!$domain) {
throw new BadMethodCallException('Parameter $domain is missing.');
}
try {
$r = $this->get('dedicated/server/' . $domain . '/statistics/raid/' . $unit . '/volume/' . $volume . '/port')->send();
} catch (\Exception $e) {
throw new ServerException($e->getMessage(), $e->getCode(), $e);
}
return $r->getBody(true);
}