Package com.slack.api.model.block
Class FileBlock
- java.lang.Object
-
- com.slack.api.model.block.FileBlock
-
- All Implemented Interfaces:
LayoutBlock
public class FileBlock extends Object implements LayoutBlock
https://api.slack.com/reference/messaging/blocks#file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileBlock.FileBlockBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileBlock.FileBlockBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetBlockId()StringgetExternalId()StringgetSource()StringgetType()Determines the type of layout block, e.g.inthashCode()voidsetBlockId(String blockId)voidsetExternalId(String externalId)voidsetSource(String source)StringtoString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static FileBlock.FileBlockBuilder 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
-
getBlockId
public String getBlockId()
-
getExternalId
public String getExternalId()
-
getSource
public String getSource()
-
setBlockId
public void setBlockId(String blockId)
-
setExternalId
public void setExternalId(String externalId)
-
setSource
public void setSource(String source)
-
canEqual
protected boolean canEqual(Object other)
-
-