Package com.slack.api.model.block
Class RichTextBlock
- java.lang.Object
-
- com.slack.api.model.block.RichTextBlock
-
- All Implemented Interfaces:
LayoutBlock
public class RichTextBlock extends Object implements LayoutBlock
https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRichTextBlock.RichTextBlockBuilder
-
Constructor Summary
Constructors Constructor Description RichTextBlock()RichTextBlock(List<BlockElement> elements, String blockId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RichTextBlock.RichTextBlockBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetBlockId()List<BlockElement>getElements()StringgetType()Determines the type of layout block, e.g.inthashCode()voidsetBlockId(String blockId)voidsetElements(List<BlockElement> elements)StringtoString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RichTextBlock
public RichTextBlock()
-
RichTextBlock
public RichTextBlock(List<BlockElement> elements, String blockId)
-
-
Method Detail
-
builder
public static RichTextBlock.RichTextBlockBuilder builder()
-
getType
public String getType()
Description copied from interface:LayoutBlockDetermines the type of layout block, e.g. section, divider, context, actions and image.- Specified by:
getTypein interfaceLayoutBlock
-
getElements
public List<BlockElement> getElements()
-
getBlockId
public String getBlockId()
-
setElements
public void setElements(List<BlockElement> elements)
-
setBlockId
public void setBlockId(String blockId)
-
canEqual
protected boolean canEqual(Object other)
-
-