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