Skip to content

Commit f0f595b

Browse files
Merge branch 'main' into issue-416-support-button-property
2 parents 609e04d + 6fc72b0 commit f0f595b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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
}

Src/Notion.Client/NotionAPIErrorCode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ public enum NotionAPIErrorCode
4949
DatabaseConnectionUnavailable,
5050

5151
[EnumMember(Value = "gateway_timeout")]
52-
GetewayTimeout
52+
GatewayTimeout
5353
}
5454
}

0 commit comments

Comments
 (0)