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