-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #276 from notion-dotnet/notion-version-2022-02-22
Support Notion-Version 2022-02-22 💖
- Loading branch information
Showing
66 changed files
with
1,018 additions
and
817 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
...i/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/BulletedListItemUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class BulletedListItemUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("bulleted_list_item")] | ||
public TextContentUpdate BulletedListItem { get; set; } | ||
public Info BulletedListItem { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
...ent/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingOneUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class HeadingOneUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("heading_1")] | ||
public TextContentUpdate Heading_1 { get; set; } | ||
public Info Heading_1 { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
11 changes: 9 additions & 2 deletions
11
.../Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingThreeeUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class HeadingThreeeUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("heading_3")] | ||
public TextContentUpdate Heading_3 { get; set; } | ||
public Info Heading_3 { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
11 changes: 9 additions & 2 deletions
11
...ent/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingTwoUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class HeadingTwoUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("heading_2")] | ||
public TextContentUpdate Heading_2 { get; set; } | ||
public Info Heading_2 { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
11 changes: 9 additions & 2 deletions
11
...i/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/NumberedListItemUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class NumberedListItemUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("numbered_list_item")] | ||
public TextContentUpdate NumberedListItem { get; set; } | ||
public Info NumberedListItem { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
11 changes: 9 additions & 2 deletions
11
...ient/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/ParagraphUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class ParagraphUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("paragraph")] | ||
public TextContentUpdate Paragraph { get; set; } | ||
public Info Paragraph { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
....Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/TextContentUpdate.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
....Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/ToggleUpdateBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client | ||
{ | ||
public class ToggleUpdateBlock : UpdateBlock, IUpdateBlock | ||
{ | ||
[JsonProperty("toggle")] | ||
public TextContentUpdate Toggle { get; set; } | ||
public Info Toggle { get; set; } | ||
|
||
public class Info | ||
{ | ||
[JsonProperty("rich_text")] | ||
public IEnumerable<RichTextBaseInput> RichText { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.