Class MessagePayload
- java.lang.Object
-
- com.slack.api.socket_mode.response.MessagePayload
-
public class MessagePayload extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessagePayload.MessagePayloadBuilder
-
Constructor Summary
Constructors Constructor Description MessagePayload()MessagePayload(String text, List<Attachment> attachments, List<LayoutBlock> blocks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessagePayload.MessagePayloadBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<Attachment>getAttachments()List<LayoutBlock>getBlocks()StringgetText()inthashCode()voidsetAttachments(List<Attachment> attachments)voidsetBlocks(List<LayoutBlock> blocks)voidsetText(String text)StringtoString()
-
-
-
Constructor Detail
-
MessagePayload
public MessagePayload()
-
MessagePayload
public MessagePayload(String text, List<Attachment> attachments, List<LayoutBlock> blocks)
-
-
Method Detail
-
builder
public static MessagePayload.MessagePayloadBuilder builder()
-
getText
public String getText()
-
getAttachments
public List<Attachment> getAttachments()
-
getBlocks
public List<LayoutBlock> getBlocks()
-
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)
-
-