BEGIN
// uploadFileCreateRequest creates the UploadFile request.
// another line of documentation.
func (client *Client) uploadFileCreateRequest(ctx context.Context, file string, purpose FilePurpose, options *ClientUploadFileOptions) (*policy.Request, error) {
	urlPath := "/files"
	req, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.endpoint, urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header["Accept"] = []string{"application/json"}
	if err := runtime.SetMultipartFormData(req, map[string]any{
			"file": file,
			"purpose": purpose,
			"Filename": Filename,
	}); err != nil {
		return nil, err
	}
	return req, nil
}
END
