Package com.slack.api.model.block
Class RichTextBlock
java.lang.Object
com.slack.api.model.block.RichTextBlock
- All Implemented Interfaces:
LayoutBlock
https://docs.slack.dev/changelog/2019/09/01/what-they-see-is-what-you-get-and-more-and-less
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanReturns the block_id string; the value can be null if the object is manually crafted.getType()Determines the type of layout block, e.g.inthashCode()voidsetBlockId(String blockId) voidsetElements(List<BlockElement> elements) toString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
RichTextBlock
public RichTextBlock() -
RichTextBlock
-
-
Method Details
-
builder
-
getType
Description copied from interface:LayoutBlockDetermines the type of layout block, e.g. section, divider, context, actions and image.- Specified by:
getTypein interfaceLayoutBlock
-
getElements
-
getBlockId
Description copied from interface:LayoutBlockReturns the block_id string; the value can be null if the object is manually crafted.- Specified by:
getBlockIdin interfaceLayoutBlock
-
setElements
-
setBlockId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-