name ?? null; if (isset($name)) { return "/_security/role_mapping/$name"; } throw new RuntimeException('Missing parameter for the endpoint security.delete_role_mapping'); } public function getParamWhitelist(): array { return [ 'refresh' ]; } public function getMethod(): string { return 'DELETE'; } public function setName($name): DeleteRoleMapping { if (isset($name) !== true) { return $this; } $this->name = $name; return $this; } }