8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation. 8000
There was an error while loading. Please reload this page.
2 parents 279f65a + d37dd32 commit 46ac4b9Copy full SHA for 46ac4b9
Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/CodeUpdateBlock.cs
@@ -0,0 +1,20 @@
1
+using System.Collections.Generic;
2
+using Newtonsoft.Json;
3
+
4
+namespace Notion.Client
5
+{
6
+ public class CodeUpdateBlock : IUpdateBlock
7
+ {
8
+ [JsonProperty("code")]
9
+ public Info Code { get; set; }
10
11
+ public class Info
12
13
+ [JsonProperty("text")]
14
+ public IEnumerable<RichTextBase> Text { get; set; }
15
16
+ [JsonProperty("language")]
17
+ public string Language { get; set; }
18
+ }
19
20
+}
0 commit comments