Package com.slack.api.model.block
Class ContextBlock
java.lang.Object
com.slack.api.model.block.ContextBlock
- All Implemented Interfaces:
LayoutBlock
https://api.slack.com/reference/messaging/blocks#context
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Returns the block_id string; the value can be null if the object is manually crafted.getType()
Determines the type of layout block, e.g.int
hashCode()
void
setBlockId
(String blockId) void
setElements
(List<ContextBlockElement> elements) toString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ContextBlock
public ContextBlock() -
ContextBlock
-
-
Method Details
-
builder
-
getType
Description copied from interface:LayoutBlock
Determines the type of layout block, e.g. section, divider, context, actions and image.- Specified by:
getType
in interfaceLayoutBlock
-
getElements
-
getBlockId
Description copied from interface:LayoutBlock
Returns the block_id string; the value can be null if the object is manually crafted.- Specified by:
getBlockId
in interfaceLayoutBlock
-
setElements
-
setBlockId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-