Package com.slack.api.model.block
Class FileBlock
java.lang.Object
com.slack.api.model.block.FileBlock
- All Implemented Interfaces:
LayoutBlock
https://api.slack.com/reference/messaging/blocks#file
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileBlock.FileBlockBuilderbuilder()protected booleanbooleanReturns the block_id string; the value can be null if the object is manually crafted.getFile()getType()Determines the type of layout block, e.g.inthashCode()voidsetBlockId(String blockId) voidsetExternalId(String externalId) voidvoidvoidtoString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
FileBlock
public FileBlock() -
FileBlock
-
-
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
-
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
-
getExternalId
-
getSource
-
getFileId
-
getFile
-
setBlockId
-
setExternalId
-
setSource
-
setFileId
-
setFile
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-