Skip to content

Commit 879e6e9

Browse files
Fix code factor warnings 🚨
1 parent 6238e4b commit 879e6e9

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

‎Src/Notion.Client/Models/Blocks/ColumnBlock.cs‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,4 @@ public class Info
1616
public IEnumerable<IColumnChildrenBlock> Children { get; set; }
1717
}
1818
}
19-
20-
public class ColumnListBlock : Block, INonColumnBlock
21-
{
22-
public override BlockType Type => BlockType.ColumnList;
23-
24-
[JsonProperty("column_list")]
25-
public Info ColumnList { get; set; }
26-
27-
public class Info
28-
{
29-
[JsonProperty("children")]
30-
public IEnumerable<ColumnBlock> Children { get; set; }
31-
}
32-
}
3319
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System.Collections.Generic;
2+
using Newtonsoft.Json;
3+
4+
namespace Notion.Client
5+
{
6+
public class ColumnListBlock : Block, INonColumnBlock
7+
{
8+
public override BlockType Type => BlockType.ColumnList;
9+
10+
[JsonProperty("column_list")]
11+
public Info ColumnList { get; set; }
12+
13+
public class Info
14+
{
15+
[JsonProperty("children")]
16+
public IEnumerable<ColumnBlock> Children { get; set; }
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)