transform_id ?? null; if (isset($transform_id)) { return "/_data_frame/transforms/$transform_id/_stats"; } throw new RuntimeException('Missing parameter for the endpoint data_frame_transform_deprecated.get_transform_stats'); } public function getParamWhitelist(): array { return [ 'from', 'size', 'allow_no_match' ]; } public function getMethod(): string { return 'GET'; } public function setTransformId($transform_id): GetTransformStats { if (isset($transform_id) !== true) { return $this; } $this->transform_id = $transform_id; return $this; } }