Class ActionResponse
- java.lang.Object
-
- com.slack.api.app_backend.interactive_components.response.ActionResponse
-
public class ActionResponse extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionResponse.ActionResponseBuilder
-
Constructor Summary
Constructors Constructor Description ActionResponse()
ActionResponse(String responseType, String text, boolean replaceOriginal, boolean deleteOriginal, List<Attachment> attachments, List<LayoutBlock> blocks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionResponse.ActionResponseBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<Attachment>
getAttachments()
List<LayoutBlock>
getBlocks()
String
getResponseType()
String
getText()
int
hashCode()
boolean
isDeleteOriginal()
boolean
isReplaceOriginal()
void
setAttachments(List<Attachment> attachments)
void
setBlocks(List<LayoutBlock> blocks)
void
setDeleteOriginal(boolean deleteOriginal)
void
setReplaceOriginal(boolean replaceOriginal)
void
setResponseType(String responseType)
void
setText(String text)
String
toString()
-
-
-
Constructor Detail
-
ActionResponse
public ActionResponse(String responseType, String text, boolean replaceOriginal, boolean deleteOriginal, List<Attachment> attachments, List<LayoutBlock> blocks)
-
ActionResponse
public ActionResponse()
-
-
Method Detail
-
builder
public static ActionResponse.ActionResponseBuilder builder()
-
getResponseType
public String getResponseType()
-
getText
public String getText()
-
isReplaceOriginal
public boolean isReplaceOriginal()
-
isDeleteOriginal
public boolean isDeleteOriginal()
-
getAttachments
public List<Attachment> getAttachments()
-
getBlocks
public List<LayoutBlock> getBlocks()
-
setResponseType
public void setResponseType(String responseType)
-
setText
public void setText(String text)
-
setReplaceOriginal
public void setReplaceOriginal(boolean replaceOriginal)
-
setDeleteOriginal
public void setDeleteOriginal(boolean deleteOriginal)
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
setBlocks
public void setBlocks(List<LayoutBlock> blocks)
-
canEqual
protected boolean canEqual(Object other)
-
-