--- title: "AttachFile" slug: "common-vapidatatype-nesattachfile" updated: 2026-09-17T09:30:32Z published: 2026-09-17T09:30:32Z canonical: "api.ncloud-docs.com/common-vapidatatype-nesattachfile" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # AttachFile Available in Classic and VPC This is the file information. ## Syntax The syntax is as follows. ``` private String fileId; private String fileName; private Integer fileSize; ``` ## Field The following describes the fields. | Field | Type | Required | Description | | --- | --- | --- | --- | | `fileId` | String | Required | File ID | | `fileName` | String | Required | file name | | `fileSize` | Integer | Required | File size (byte) |