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.
1 parent 63ef92a commit 773d38bCopy full SHA for 773d38b
Src/Notion.Client/Models/IObject.cs
@@ -1,5 +1,6 @@
1
using JsonSubTypes;
2
using Newtonsoft.Json;
3
+using Newtonsoft.Json.Converters;
4
5
namespace Notion.Client
6
{
@@ -11,6 +12,8 @@ namespace Notion.Client
11
12
public interface IObject
13
14
string Id { get; set; }
15
+
16
+ [JsonConverter(typeof(StringEnumConverter))]
17
ObjectType Object { get; }
18
}
19
0 commit comments