public class SlashCommandResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SlashCommandResponse.SlashCommandResponseBuilder |
| Constructor and Description |
|---|
SlashCommandResponse() |
SlashCommandResponse(String responseType,
String text,
List<Attachment> attachments,
List<LayoutBlock> blocks) |
| Modifier and Type | Method and Description |
|---|---|
static SlashCommandResponse.SlashCommandResponseBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<Attachment> |
getAttachments() |
List<LayoutBlock> |
getBlocks() |
String |
getResponseType() |
String |
getText() |
int |
hashCode() |
void |
setAttachments(List<Attachment> attachments) |
void |
setBlocks(List<LayoutBlock> blocks) |
void |
setResponseType(String responseType) |
void |
setText(String text) |
String |
toString() |
public SlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks)
public SlashCommandResponse()
public static SlashCommandResponse.SlashCommandResponseBuilder builder()
public String getResponseType()
public String getText()
public List<Attachment> getAttachments()
public List<LayoutBlock> getBlocks()
public void setResponseType(String responseType)
public void setText(String text)
public void setAttachments(List<Attachment> attachments)
public void setBlocks(List<LayoutBlock> blocks)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.