File tree Expand file tree Collapse file tree 5 files changed +36
-24
lines changed
Api/Databases/RequestParams Expand file tree Collapse file tree 5 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 1+ namespace Notion . Client
2+ {
3+ public class DatabasesListParameters : IDatabasesListQueryParmaters
4+ {
5+ public string StartCursor { get ; set ; }
6+ public string PageSize { get ; set ; }
7+ }
8+ }
Original file line number Diff line number Diff line change 1+ using System . Collections . Generic ;
2+
3+ namespace Notion . Client
4+ {
5+ public class DatabasesQueryParameters : IDatabaseQueryBodyParameters
6+ {
7+ public Filter Filter { get ; set ; }
8+ public List < Sort > Sorts { get ; set ; }
9+ public string StartCursor { get ; set ; }
10+ public string PageSize { get ; set ; }
11+ }
12+ }
Original file line number Diff line number Diff line change 1+ using System . Collections . Generic ;
2+
3+ namespace Notion . Client
4+ {
5+ public interface IDatabaseQueryBodyParameters : IPaginationParameters
6+ {
7+ Filter Filter { get ; set ; }
8+ List < Sort > Sorts { get ; set ; }
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ namespace Notion . Client
2+ {
3+ public interface IDatabasesListQueryParmaters : IPaginationParameters
4+ {
5+ }
6+ }
Original file line number Diff line number Diff line change 44
55namespace Notion . Client
66{
7- public interface IDatabasesListQueryParmaters : IPaginationParameters
8- {
9- }
10-
11- public class DatabasesListParameters : IDatabasesListQueryParmaters
12- {
13- public string StartCursor { get ; set ; }
14- public string PageSize { get ; set ; }
15- }
16-
17- public interface IDatabaseQueryBodyParameters : IPaginationParameters
18- {
19- Filter Filter { get ; set ; }
20- List < Sort > Sorts { get ; set ; }
21- }
22-
23- public class DatabasesQueryParameters : IDatabaseQueryBodyParameters
24- {
25- public Filter Filter { get ; set ; }
26- public List < Sort > Sorts { get ; set ; }
27- public string StartCursor { get ; set ; }
28- public string PageSize { get ; set ; }
29- }
30-
317 public class Database
328 {
339 public string Object => "database" ;
You can’t perform that action at this time.
0 commit comments