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 class
CallBlock.Call
static class
CallBlock.CallBlockBuilder
class
CallBlock.CallData
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallBlock.CallBlockBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Boolean
getApiDecorationAvailable()
String
getBlockId()
CallBlock.CallData
getCall()
String
getCallId()
String
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
setCallId(String callId)
String
toString()
-
-
-
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:LayoutBlock
Determines the type of layout block, e.g. section, divider, context, actions and image.- Specified by:
getType
in interfaceLayoutBlock
-
getBlockId
public String getBlockId()
-
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)
-
-