Package com.slack.api.model.block
Class DividerBlock
- java.lang.Object
-
- com.slack.api.model.block.DividerBlock
-
- All Implemented Interfaces:
LayoutBlock
public class DividerBlock extends Object implements LayoutBlock
https://api.slack.com/reference/messaging/blocks#divider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DividerBlock.DividerBlockBuilder
-
Constructor Summary
Constructors Constructor Description DividerBlock()
DividerBlock(String blockId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DividerBlock.DividerBlockBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getBlockId()
Returns the block_id string; the value can be null if the object is manually crafted.String
getType()
Determines the type of layout block, e.g.int
hashCode()
void
setBlockId(String blockId)
String
toString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DividerBlock
public DividerBlock()
-
DividerBlock
public DividerBlock(String blockId)
-
-
Method Detail
-
builder
public static DividerBlock.DividerBlockBuilder builder()
-
getType
public String 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
-
getBlockId
public String 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
-
setBlockId
public void setBlockId(String blockId)
-
canEqual
protected boolean canEqual(Object other)
-
-