-
- All Implemented Interfaces:
-
notion.api.v1.model.blocks.Block,notion.api.v1.model.common.WithObjectType
public class ParagraphBlock implements Block
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classParagraphBlock.Element
-
Field Summary
Fields Modifier and Type Field Description private final ObjectTypeobjectTypeprivate BlockTypetypeprivate Stringidprivate StringcreatedTimeprivate StringlastEditedTimeprivate BooleanhasChildrenprivate Booleanarchivedprivate final ParagraphBlock.Elementparagraph
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ObjectTypegetObjectType()BlockTypegetType()UnitsetType(BlockType type)StringgetId()UnitsetId(String id)StringgetCreatedTime()UnitsetCreatedTime(String createdTime)StringgetLastEditedTime()UnitsetLastEditedTime(String lastEditedTime)BooleangetHasChildren()UnitsetHasChildren(Boolean hasChildren)BooleangetArchived()UnitsetArchived(Boolean archived)final ParagraphBlock.ElementgetParagraph()-
Methods inherited from class notion.api.v1.model.blocks.ParagraphBlock
asBulletedListItem, asChildPage, asHeadingOne, asHeadingThree, asHeadingTwo, asNumberedListItem, asParagraph, asToDo, asToggle, asUnsupported -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ParagraphBlock
ParagraphBlock(ParagraphBlock.Element paragraph, String id, Boolean hasChildren, String createdTime, String lastEditedTime)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, BlockType type, String id, String createdTime, String lastEditedTime, Boolean hasChildren, Boolean archived, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, BlockType type, String id, String createdTime, String lastEditedTime, Boolean hasChildren, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, BlockType type, String id, String createdTime, String lastEditedTime, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, BlockType type, String id, String createdTime, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, BlockType type, String id, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, BlockType type, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ObjectType objectType, ParagraphBlock.Element paragraph)
-
ParagraphBlock
ParagraphBlock(ParagraphBlock.Element paragraph)
-
-
Method Detail
-
getObjectType
ObjectType getObjectType()
-
getCreatedTime
String getCreatedTime()
-
setCreatedTime
Unit setCreatedTime(String createdTime)
-
getLastEditedTime
String getLastEditedTime()
-
setLastEditedTime
Unit setLastEditedTime(String lastEditedTime)
-
getHasChildren
Boolean getHasChildren()
-
setHasChildren
Unit setHasChildren(Boolean hasChildren)
-
getArchived
Boolean getArchived()
-
setArchived
Unit setArchived(Boolean archived)
-
getParagraph
final ParagraphBlock.Element getParagraph()
-
-
-
-