File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Src/Notion.Client/Models/Database/Properties Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ namespace Notion.Client
2727 [ JsonSubtypes . KnownSubTypeAttribute ( typeof ( UrlProperty ) , PropertyType . Url ) ]
2828 [ JsonSubtypes . KnownSubTypeAttribute ( typeof ( UniqueIdProperty ) , PropertyType . UniqueId ) ]
2929 [ JsonSubtypes . KnownSubTypeAttribute ( typeof ( ButtonProperty ) , PropertyType . Button ) ]
30+ [ JsonSubtypes . KnownSubTypeAttribute ( typeof ( VerificationProperty ) , PropertyType . Verification ) ]
3031 public class Property
3132 {
3233 [ JsonProperty ( "id" ) ]
Original file line number Diff line number Diff line change @@ -74,5 +74,8 @@ public enum PropertyType
7474
7575 [ EnumMember ( Value = "button" ) ]
7676 Button ,
77+
78+ [ EnumMember ( Value = "verification" ) ]
79+ Verification
7780 }
7881}
Original file line number Diff line number Diff line change 1+ using System . Collections . Generic ;
2+ using Newtonsoft . Json ;
3+
4+ namespace Notion . Client
5+ {
6+ public class VerificationProperty : Property
7+ {
8+ public override PropertyType Type => PropertyType . Verification ;
9+
10+ [ JsonProperty ( "verification" ) ]
11+ public Dictionary < string , object > Verification { get ; set ; }
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments