10000 Merge pull request #411 from Kuzmanov/add-name-property-to-fileobject · notion-dotnet/notion-sdk-net@6fc72b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6fc72b0

Browse files
Merge pull request #411 from Kuzmanov/add-name-property-to-fileobject
Add support to read/write file name for the file block
2 parents 4a1bcce + a864e0a commit 6fc72b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Src/Notion.Client/Models/File/FileObject.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ public abstract class FileObject : IPageIcon
1212
[JsonProperty("caption")]
1313
public IEnumerable<RichTextBase> Caption { get; set; }
1414

15+
[JsonProperty("name")]
16+
public string Name { get; set; }
17+
1518
[JsonProperty("type")]
1619
public virtual string Type { get; set; }
1720
}

0 commit comments

Comments
 (0)
0