Skip to content

Commit 19fb0ea

Browse files
Added missing caption to file object in object model
1 parent c39b0e7 commit 19fb0ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using JsonSubTypes;
1+
using System.Collections.Generic;
2+
using JsonSubTypes;
23
using Newtonsoft.Json;
34

45
namespace Notion.Client
@@ -10,5 +11,8 @@ public abstract class FileObject : IPageIcon
1011
{
1112
[JsonProperty("type")]
1213
public virtual string Type { get; set; }
14+
15+
[JsonProperty("caption")]
16+
public IEnumerable<RichTextBase> Caption { get; set; }
1317
}
1418
}

0 commit comments

Comments
 (0)