Package notion.api.v1.model.blocks
Class HeadingTwoBlock.Element
-
- All Implemented Interfaces:
public class HeadingTwoBlock.Element
-
-
Field Summary
Fields Modifier and Type Field Description private List<PageProperty.RichText>
richText
private Boolean
isToggleable
private BlockColor
color
private List<Block>
children
-
Constructor Summary
Constructors Constructor Description HeadingTwoBlock.Element(List<PageProperty.RichText> richText, Boolean isToggleable, BlockColor color, List<Block> children)
-
Method Summary
Modifier and Type Method Description final List<PageProperty.RichText>
getRichText()
final Unit
setRichText(List<PageProperty.RichText> richText)
final Boolean
isToggleable()
final Unit
setToggleable(Boolean isToggleable)
final BlockColor
getColor()
final Unit
setColor(BlockColor color)
final List<Block>
getChildren()
final Unit
setChildren(List<Block> children)
-
-
Constructor Detail
-
HeadingTwoBlock.Element
HeadingTwoBlock.Element(List<PageProperty.RichText> richText, Boolean isToggleable, BlockColor color, List<Block> children)
-
-
Method Detail
-
getRichText
final List<PageProperty.RichText> getRichText()
-
setRichText
final Unit setRichText(List<PageProperty.RichText> richText)
-
isToggleable
final Boolean isToggleable()
-
setToggleable
final Unit setToggleable(Boolean isToggleable)
-
getColor
final BlockColor getColor()
-
setColor
final Unit setColor(BlockColor color)
-
getChildren
final List<Block> getChildren()
-
setChildren
final Unit setChildren(List<Block> children)
-
-
-
-