Class SlashCommandResponse
- java.lang.Object
-
- com.slack.api.app_backend.slash_commands.response.SlashCommandResponse
-
public class SlashCommandResponse extends Object
https://api.slack.com/docs/interactive-message-field-guide
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlashCommandResponse.SlashCommandResponseBuilder
-
Constructor Summary
Constructors Constructor Description SlashCommandResponse()SlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlashCommandResponse.SlashCommandResponseBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<Attachment>getAttachments()List<LayoutBlock>getBlocks()StringgetResponseType()StringgetText()inthashCode()voidsetAttachments(List<Attachment> attachments)voidsetBlocks(List<LayoutBlock> blocks)voidsetResponseType(String responseType)voidsetText(String text)StringtoString()
-
-
-
Constructor Detail
-
SlashCommandResponse
public SlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks)
-
SlashCommandResponse
public SlashCommandResponse()
-
-
Method Detail
-
builder
public static SlashCommandResponse.SlashCommandResponseBuilder builder()
-
getResponseType
public String getResponseType()
-
getText
public String getText()
-
getAttachments
public List<Attachment> getAttachments()
-
getBlocks
public List<LayoutBlock> getBlocks()
-
setResponseType
public void setResponseType(String responseType)
-
setText
public void setText(String text)
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
setBlocks
public void setBlocks(List<LayoutBlock> blocks)
-
canEqual
protected boolean canEqual(Object other)
-
-