Package com.slack.api.model.block
Class CallBlock
- java.lang.Object
-
- com.slack.api.model.block.CallBlock
-
- All Implemented Interfaces:
LayoutBlock
public class CallBlock extends Object implements LayoutBlock
https://api.slack.com/reference/messaging/blocks#call
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCallBlock.Callstatic classCallBlock.CallBlockBuilderclassCallBlock.CallData
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallBlock.CallBlockBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)BooleangetApiDecorationAvailable()StringgetBlockId()Returns the block_id string; the value can be null if the object is manually crafted.CallBlock.CallDatagetCall()StringgetCallId()StringgetType()Determines the type of layout block, e.g.inthashCode()voidsetApiDecorationAvailable(Boolean apiDecorationAvailable)voidsetBlockId(String blockId)voidsetCall(CallBlock.CallData call)voidsetCallId(String callId)StringtoString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CallBlock
public CallBlock()
-
CallBlock
public CallBlock(String blockId, String callId, Boolean apiDecorationAvailable, CallBlock.CallData call)
-
-
Method Detail
-
builder
public static CallBlock.CallBlockBuilder 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()
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
public String getCallId()
-
getApiDecorationAvailable
public Boolean getApiDecorationAvailable()
-
getCall
public CallBlock.CallData getCall()
-
setBlockId
public void setBlockId(String blockId)
-
setCallId
public void setCallId(String callId)
-
setApiDecorationAvailable
public void setApiDecorationAvailable(Boolean apiDecorationAvailable)
-
setCall
public void setCall(CallBlock.CallData call)
-
canEqual
protected boolean canEqual(Object other)
-
-