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 class
MessagePayload.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.MessagePayloadBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<Attachment>
getAttachments()
List<LayoutBlock>
getBlocks()
String
getText()
int
hashCode()
void
setAttachments(List<Attachment> attachments)
void
setBlocks(List<LayoutBlock> blocks)
void
setText(String text)
String
toString()
-
-
-
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)
-
-