transform_id ?? null; if (isset($transform_id)) { return "/_transform/$transform_id"; } throw new RuntimeException('Missing parameter for the endpoint transform.put_transform'); } public function getParamWhitelist(): array { return [ 'defer_validation' ]; } public function getMethod(): string { return 'PUT'; } public function setBody($body): PutTransform { if (isset($body) !== true) { return $this; } $this->body = $body; return $this; } public function setTransformId($transform_id): PutTransform { if (isset($transform_id) !== true) { return $this; } $this->transform_id = $transform_id; return $this; } }