policy_id ?? null; if (isset($policy_id)) { return "/_slm/policy/$policy_id/_execute"; } throw new RuntimeException('Missing parameter for the endpoint slm.execute_lifecycle'); } public function getParamWhitelist(): array { return [ ]; } public function getMethod(): string { return 'PUT'; } public function setPolicyId($policy_id): ExecuteLifecycle { if (isset($policy_id) !== true) { return $this; } $this->policy_id = $policy_id; return $this; } }