Package com.slack.api.model.block
Class ActionsBlock
java.lang.Object
com.slack.api.model.block.ActionsBlock
- All Implemented Interfaces:
LayoutBlock
public class ActionsBlock extends Object implements LayoutBlock
https://api.slack.com/reference/messaging/blocks#actions
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionsBlock.ActionsBlockBuilder -
Field Summary
-
Constructor Summary
Constructors Constructor Description ActionsBlock()ActionsBlock(List<BlockElement> elements, String blockId) -
Method Summary
Modifier and Type Method Description static ActionsBlock.ActionsBlockBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetBlockId()Returns the block_id string; the value can be null if the object is manually crafted.List<BlockElement>getElements()StringgetType()Determines the type of layout block, e.g.inthashCode()voidsetBlockId(String blockId)voidsetElements(List<BlockElement> elements)StringtoString()
-
Field Details
-
TYPE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ActionsBlock
public ActionsBlock() -
ActionsBlock
-
-
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
-