From a5247346b4c17d998624d6889b42f2a06ebc0c9b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Aug 2018 00:49:29 +0900 Subject: [PATCH] Add doc --- src/docs/api/entities/drive-folder.yaml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/docs/api/entities/drive-folder.yaml diff --git a/src/docs/api/entities/drive-folder.yaml b/src/docs/api/entities/drive-folder.yaml new file mode 100644 index 000000000..0fb8308dd --- /dev/null +++ b/src/docs/api/entities/drive-folder.yaml @@ -0,0 +1,41 @@ +name: "DriveFolder" + +desc: + ja: "ドライブのフォルダを表します。" + en: "A folder of Drive." + +props: + id: + type: "id" + optional: false + desc: + ja: "フォルダID" + en: "The ID of this folder" + + createdAt: + type: "date" + optional: false + desc: + ja: "作成日時" + en: "The created date of this folder" + + userId: + type: "id(User)" + optional: false + desc: + ja: "所有者ID" + en: "The ID of the owner of this folder" + + parentId: + type: "entity(DriveFolder)" + optional: false + desc: + ja: "親フォルダのID (ルートなら null)" + en: "The ID of parent folder" + + name: + type: "string" + optional: false + desc: + ja: "フォルダ名" + en: "The name of this folder"