workspace = is_string($workspace) ? new Id($workspace) : $workspace; $this->user = is_string($user) ? new Id($user) : $user; $this->voice = is_string($voice) ? new Id($voice) : $voice; } public function param(string $key, mixed $value): self { $this->params[$key] = $value; return $this; } }