File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace Notion.Client
1212 public interface IObject
1313 {
1414 string Id { get ; set ; }
15-
15+
1616 [ JsonConverter ( typeof ( StringEnumConverter ) ) ]
1717 ObjectType Object { get ; }
1818 }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ public interface INotionClient
66 IDatabasesClient Databases { get ; }
77 IPagesClient Pages { get ; }
88 ISearchClient Search { get ; }
9+ IBlocksClient Blocks { get ; }
910 }
1011
1112 public class NotionClient : INotionClient
@@ -17,11 +18,13 @@ public NotionClient(ClientOptions options)
1718 Databases = new DatabasesClient ( restClient ) ;
1819 Pages = new PagesClient ( restClient ) ;
1920 Search = new SearchClient ( restClient ) ;
21+ Blocks = new BlocksClient ( restClient ) ;
2022 }
2123
2224 public IUsersClient Users { get ; }
2325 public IDatabasesClient Databases { get ; }
2426 public IPagesClient Pages { get ; }
2527 public ISearchClient Search { get ; }
28+ public IBlocksClient Blocks { get ; }
2629 }
2730}
You can’t perform that action at this time.
0 commit comments