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
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CallBlock.CallBlockBuilder
builder()
protected boolean
boolean
Returns 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.int
hashCode()
void
setApiDecorationAvailable
(Boolean apiDecorationAvailable) void
setBlockId
(String blockId) void
setCall
(CallBlock.CallData call) void
toString()
-
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:LayoutBlock
Determines the type of layout block, e.g. section, divider, context, actions and image.- Specified by:
getType
in interfaceLayoutBlock
-
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
-
getCallId
-
getApiDecorationAvailable
-
getCall
-
setBlockId
-
setCallId
-
setApiDecorationAvailable
-
setCall
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-