-
Notifications
You must be signed in to change notification settings - Fork 1
Block
fasteiner edited this page Feb 22, 2025
·
1 revision
classDiagram
note for notion_block "Object: Block"
class notion_block {
$object = "block"
$id = $null
$parent = $null
$children
[string] $created_time
[notion_user] $created_by
[string] $last_edited_time
[notion_user] $last_edited_by
[bool] $archived = $false
[bool] $in_trash = $false
[bool] $has_children = $false
addChild()
ConvertFromObject()
}
class bookmark_structure{
[notion_blocktype] $type = "bookmark"
[rich_text[]] $caption
[string] $url = $null
}
class notion_bookmark_block {
[notion_blocktype] $type = "bookmark"
[bookmark_structure] $bookmark
ConvertFromObject()
}
`bookmark_structure` <.. `notion_bookmark_block`:uses
`notion_block` --|> `notion_bookmark_block`:inherits
class notion_breadcrumb_block {
[notion_blocktype] $type = "breadcrumb"
[object] $breadcrumb
ConvertFromObject()
}
`notion_block` --|> `notion_breadcrumb_block`:inherits
class bulleted_list_item_structure {
[rich_text[]] $rich_text
[notion_color] $color = "default"
[notion_block[]] $children
}
class notion_bulleted_list_item_block {
[notion_blocktype] $type = "bulleted_list_item"
[bulleted_list_item_structure] $bulleted_list_item
ConvertFromObject()
}
`bulleted_list_item_structure` <.. `notion_bulleted_list_item_block`:uses
`notion_block` --|> `notion_bulleted_list_item_block`:inherits
class callout_structure {
[notion_blocktype] $type = "callout"
[rich_text[]] $rich_text
[notion_emoji] $icon
[notion_color] $color = "default"
}
class notion_callout_block {
[notion_blocktype] $type = "callout"
[callout_structure] $callout
ConvertFromObject()
}
`callout_structure` <.. `notion_callout_block`:uses
`notion_block` --|> `notion_callout_block`:inherits
class child_database_structure {
[string] $title = $null
}
class notion_child_database_block {
link notion_child_database_block "https://developers.notion.com/reference/block#child-database"
[notion_blocktype] $type = "child_database"
[child_database_structure] $child_database
ConvertFromObject()
}
`child_database_structure` <.. `notion_child_database_block`:uses
`notion_block` --|> `notion_child_database_block`:inherits
Home
Module-FAQ
SetupOfIntegration
Commands
- Connect-Notion
- ConvertTo-NotionObject
- Disconnect-Notion
- Invoke-NotionApiCall
- Block
- Add-NotionBlockToPage
- Get-NotionBlock
- Get-NotionBlockChildren
- New-NotionBlock
- Remove-NotionBlock
- Update-NotionBlock
- _RichText
- Bookmark
- Breadcrumb
- BulletedListItem
- Callout
- ChildDatabase
- Code
- Column
- ColumnList
- Divider
- Embed
- Equation
- File
- Heading
- Image
- LinkPreview
- NumberedListItem
- Paragraph
- Quote
- Synced
- Table
- TableOfContents
- TableRow
- ToDo
- Toggle
- Video
- Database
- Emoji
- File
- Page
- Parent
- User
Classes
- Block
- Comment
- Database
- Database
- DatabaseProperties
- Emoji
- File
- General
- Page
- page
- page_reference
- PageProperties
- Parent
- Unfurl attribute
- User
Enums
- notion_color
- icontype
- Block
- blocktype
- RichText
- rich_text_type
- rich_text_mention_type
- Type
- MentionType
- DatabaseProperties
- File
- PageProperties
- Parent
- Properties
- User