File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1+ using Newtonsoft . Json ;
2+
3+ namespace Notion . Client
4+ {
5+ public class MultiSelectUpdatePropertySchema : IUpdatePropertySchema
6+ {
7+ [ JsonProperty ( "multi_select" ) ]
8+ public OptionWrapper < SelectOption > MultiSelect { get ; set ; }
9+ }
10+ }
Original file line number Diff line number Diff line change 1- using Newtonsoft . Json ;
2-
3- namespace Notion . Client
1+ namespace Notion . Client
42{
53 public class SelectUpdatePropertySchema : IUpdatePropertySchema
64 {
75 public OptionWrapper < SelectOption > Select { get ; set ; }
86 }
9-
10- public class MultiSelectUpdatePropertySchema : IUpdatePropertySchema
11- {
12- [ JsonProperty ( "multi_select" ) ]
13- public OptionWrapper < SelectOption > MultiSelect { get ; set ; }
14- }
157}
Original file line number Diff line number Diff line change @@ -324,7 +324,6 @@ public async Task UpdateDatabaseAsync()
324324
325325 database . Properties . Should ( ) . HaveCount ( 4 ) ;
326326
327-
328327 database . Title . Should ( ) . ContainSingle ( ) ;
329328 database . Title . Should ( ) . SatisfyRespectively (
330329 title =>
@@ -334,7 +333,6 @@ public async Task UpdateDatabaseAsync()
334333 }
335334 ) ;
336335
337-
338336 var selectOptions = ( SelectProperty ) database . Properties [ "Food group" ] ;
339337 selectOptions . Name . Should ( ) . Be ( "Food group" ) ;
340338 selectOptions . Select . Options . Should ( ) . SatisfyRespectively (
You can’t perform that action at this time.
0 commit comments