@@ -39,9 +39,9 @@ public class ParagraphBlock : BlockBase
3939 {
4040 public override BlockType Type => BlockType . Paragraph ;
4141
42- public ParagraphClass Paragraph { get ; set ; }
42+ public Info Paragraph { get ; set ; }
4343
44- public class ParagraphClass
44+ public class Info
4545 {
4646 public IEnumerable < RichTextBase > Text { get ; set ; }
4747 public IEnumerable < BlockBase > Children { get ; set ; }
@@ -53,11 +53,11 @@ public class HeadingOneBlock : BlockBase
5353 public override BlockType Type => BlockType . Heading_1 ;
5454
5555 [ JsonProperty ( "heading_1" ) ]
56- public HeadingOneClass Heading_1 { get ; set ; }
56+ public Info Heading_1 { get ; set ; }
5757
5858 public override bool HasChildren => false ;
5959
60- public class HeadingOneClass
60+ public class Info
6161 {
6262 public IEnumerable < RichTextBase > Text { get ; set ; }
6363 }
@@ -68,11 +68,11 @@ public class HeadingTwoBlock : BlockBase
6868 public override BlockType Type => BlockType . Heading_2 ;
6969
7070 [ JsonProperty ( "heading_2" ) ]
71- public HeadingTwoClass Heading_2 { get ; set ; }
71+ public Info Heading_2 { get ; set ; }
7272
7373 public override bool HasChildren => false ;
7474
75- public class HeadingTwoClass
75+ public class Info
7676 {
7777 public IEnumerable < RichTextBase > Text { get ; set ; }
7878 }
@@ -83,11 +83,11 @@ public class HeadingThreeeBlock : BlockBase
8383 public override BlockType Type => BlockType . Heading_3 ;
8484
8585 [ JsonProperty ( "heading_3" ) ]
86- public HeadingThreeClass Heading_3 { get ; set ; }
86+ public Info Heading_3 { get ; set ; }
8787
8888 public override bool HasChildren => false ;
8989
90- public class HeadingThreeClass
90+ public class Info
9191 {
9292 public IEnumerable < RichTextBase > Text { get ; set ; }
9393 }
@@ -98,9 +98,9 @@ public class BulletedListItemBlock : BlockBase
9898 public override BlockType Type => BlockType . BulletedListItem ;
9999
100100 [ JsonProperty ( "bulleted_list_item" ) ]
101- public BulletedListItemClass BulletedListItem { get ; set ; }
101+ public Info BulletedListItem { get ; set ; }
102102
103- public class BulletedListItemClass
103+ public class Info
104104 {
105105 public IEnumerable < RichTextBase > Text { get ; set ; }
106106 public IEnumerable < BlockBase > Children { get ; set ; }
@@ -112,9 +112,9 @@ public class NumberedListItemBlock : BlockBase
112112 public override BlockType Type => BlockType . NumberedListItem ;
113113
114114 [ JsonProperty ( "numbered_list_item" ) ]
115- public NumberedListItemClass NumberedListItem { get ; set ; }
115+ public Info NumberedListItem { get ; set ; }
116116
117- public class NumberedListItemClass
117+ public class Info
118118 {
119119 public IEnumerable < RichTextBase > Text { get ; set ; }
120120 public IEnumerable < BlockBase > Children { get ; set ; }
@@ -126,9 +126,9 @@ public class ToDoBlock : BlockBase
126126 public override BlockType Type => BlockType . ToDo ;
127127
128128 [ JsonProperty ( "to_do" ) ]
129- public ToDoClass ToDo { get ; set ; }
129+ public Info ToDo { get ; set ; }
130130
131- public class ToDoClass
131+ public class Info
132132 {
133133 public IEnumerable < RichTextBase > Text { get ; set ; }
134134
@@ -143,9 +143,9 @@ public class ToggleBlock : BlockBase
143143 {
144144 public override BlockType Type => BlockType . Toggle ;
145145
146- public ToggleClass Toggle { get ; set ; }
146+ public Info Toggle { get ; set ; }
147147
148- public class ToggleClass
148+ public class Info
149149 {
150150 public IEnumerable < RichTextBase > Text { get ; set ; }
151151 public IEnumerable < BlockBase > Children { get ; set ; }
@@ -157,9 +157,9 @@ public class ChildPageBlock : BlockBase
157157 public override BlockType Type => BlockType . ChildPage ;
158158
159159 [ JsonProperty ( "child_page" ) ]
160- public ChildPageClass ChildPage { get ; set ; }
160+ public Info ChildPage { get ; set ; }
161161
162- public class ChildPageClass
162+ public class Info
163163 {
164164 public string Title { get ; set ; }
165165 }
0 commit comments