File tree Expand file tree Collapse file tree 2 files changed +4
-30
lines changed
Src/Notion.Client/Api/Databases/RequestParams
DatabasesCreateParameters/PropertySchema
DatabasesUpdateParameters/PropertySchema Expand file tree Collapse file tree 2 files changed +4
-30
lines changed Original file line number Diff line number Diff line change 1- using System ;
2- using Newtonsoft . Json ;
1+ using Newtonsoft . Json ;
32
43namespace Notion . Client
54{
65 public class RelationPropertySchema : IPropertySchema
76 {
87 [ JsonProperty ( "relation" ) ]
9- public RelationInfo Relation { get ; set ; }
10-
11- public class RelationInfo
12- {
13- [ JsonProperty ( "database_id" ) ]
14- public Guid DatabaseId { get ; set ; }
15-
16- [ JsonProperty ( "synced_property_id" ) ]
17- public string SyncedPropertyId { get ; set ; }
18-
19- [ JsonProperty ( "synced_property_name" ) ]
20- public string SyncedPropertyName { get ; set ; }
21- }
8+ public RelationData Relation { get ; set ; }
229 }
2310}
Original file line number Diff line number Diff line change 1- using System ;
2- using Newtonsoft . Json ;
1+ using Newtonsoft . Json ;
32
43namespace Notion . Client
54{
65 public class RelationUpdatePropertySchema : UpdatePropertySchema
76 {
87 [ JsonProperty ( "relation" ) ]
9- public RelationInfo Relation { get ; set ; }
10-
11- public class RelationInfo
12- {
13- [ JsonProperty ( "database_id" ) ]
14- public Guid DatabaseId { get ; set ; }
15-
16- [ JsonProperty ( "synced_property_id" ) ]
17- public string SyncedPropertyId { get ; set ; }
18-
19- [ JsonProperty ( "synced_property_name" ) ]
20- public string SyncedPropertyName { get ; set ; }
21- }
8+ public RelationData Relation { get ; set ; }
229 }
2310}
You can’t perform that action at this time.
0 commit comments