id ?? null; if (isset($id)) { return "/_ml/data_frame/analytics/$id"; } throw new RuntimeException('Missing parameter for the endpoint ml.put_data_frame_analytics'); } public function getParamWhitelist(): array { return []; } public function getMethod(): string { return 'PUT'; } public function setBody($body): PutDataFrameAnalytics { if (isset($body) !== true) { return $this; } $this->body = $body; return $this; } }