We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e86091 + e0711c7 commit 0078ef3Copy full SHA for 0078ef3
Src/Notion.Client/Api/Search/Parameters/SearchFilter.cs
@@ -1,7 +1,11 @@
1
-namespace Notion.Client
+using Newtonsoft.Json;
2
+using Newtonsoft.Json.Converters;
3
+
4
+namespace Notion.Client
5
{
6
public class SearchFilter
7
8
+ [JsonConverter(typeof(StringEnumConverter))]
9
public SearchObjectType Value { get; set; }
10
public string Property => "object";
11
}
Src/Notion.Client/Api/Search/Parameters/SearchSort.cs
@@ -1,11 +1,11 @@
-using System;
-using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Notion.Client
public class SearchSort
public SearchDirection Direction { get; set; }
public string Timestamp { get; set; }
0 commit comments