name ?? null; if (isset($name)) { return "/_component_template/$name"; } throw new RuntimeException('Missing parameter for the endpoint cluster.delete_component_template'); } public function getParamWhitelist(): array { return [ 'timeout', 'master_timeout' ]; } public function getMethod(): string { return 'DELETE'; } public function setName($name): DeleteComponentTemplate { if (isset($name) !== true) { return $this; } $this->name = $name; return $this; } }