Package com.slack.api.model.block
Class CallBlock
java.lang.Object
com.slack.api.model.block.CallBlock
- All Implemented Interfaces:
LayoutBlock
https://api.slack.com/reference/messaging/blocks#call
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallBlock.CallBlockBuilderbuilder()protected booleanbooleanReturns the block_id string; the value can be null if the object is manually crafted.getCall()getType()Determines the type of layout block, e.g.inthashCode()voidsetApiDecorationAvailable(Boolean apiDecorationAvailable) voidsetBlockId(String blockId) voidsetCall(CallBlock.CallData call) voidtoString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
CallBlock
public CallBlock() -
CallBlock
public CallBlock(String blockId, String callId, Boolean apiDecorationAvailable, CallBlock.CallData call)
-
-
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
-
getCallId
-
getApiDecorationAvailable
-
getCall
-
setBlockId
-
setCallId
-
setApiDecorationAvailable
-
setCall
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-