10000 adding a [JsonProperty("name")] attribute for the Name property to en… · notion-dotnet/notion-sdk-net@4af4559 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4af4559

Browse files
adding a [JsonProperty("name")] attribute for the Name property to ensure consistent JSON serialization
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ae94eb5 commit 4af4559

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/Notion.Client/Models/File/FIleInput/UploadedFileInput.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public class UploadedFileInput : IFileObjectInput
99
[JsonProperty("file")]
1010
public Data File { get; set; }
1111

12+
[JsonProperty("name")]
1213
public string Name { get; set; }
1314

1415
public IEnumerable<RichTextBaseInput> Caption { get; set; }

0 commit comments

Comments
 (0)
0