name ?? null; if (isset($name)) { return "/_autoscaling/policy/$name"; } throw new RuntimeException('Missing parameter for the endpoint autoscaling.delete_autoscaling_policy'); } public function getParamWhitelist(): array { return []; } public function getMethod(): string { return 'DELETE'; } public function setName($name): DeleteAutoscalingPolicy { if (isset($name) !== true) { return $this; } $this->name = $name; return $this; } }