File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace Notion.Client
12
12
public interface IObject
13
13
{
14
14
string Id { get ; set ; }
15
-
15
+
16
16
[ JsonConverter ( typeof ( StringEnumConverter ) ) ]
17
17
ObjectType Object { get ; }
18
18
}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ public interface INotionClient
6
6
IDatabasesClient Databases { get ; }
7
7
IPagesClient Pages { get ; }
8
8
ISearchClient Search { get ; }
9
+ IBlocksClient Blocks { get ; }
9
10
}
10
11
11
12
public class NotionClient : INotionClient
@@ -17,11 +18,13 @@ public NotionClient(ClientOptions options)
17
18
Databases = new DatabasesClient ( restClient ) ;
18
19
Pages = new PagesClient ( restClient ) ;
19
20
Search = new SearchClient ( restClient ) ;
21
+ Blocks = new BlocksClient ( restClient ) ;
20
22
}
21
23
22
24
public IUsersClient Users { get ; }
23
25
public IDatabasesClient Databases { get ; }
24
26
public IPagesClient Pages { get ; }
25
27
public ISearchClient Search { get ; }
28
+ public IBlocksClient Blocks { get ; }
26
29
}
27
30
}
You can’t perform that action at this time.
0 commit comments