public class Message extends Object implements RTMMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
Message.MessageBuilder |
| Constructor and Description |
|---|
Message() |
Message(Long id,
String channel,
String text,
List<LayoutBlock> blocks,
List<Attachment> attachments) |
| Modifier and Type | Method and Description |
|---|---|
static Message.MessageBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<Attachment> |
getAttachments() |
List<LayoutBlock> |
getBlocks() |
String |
getChannel() |
Long |
getId() |
String |
getText() |
String |
getType() |
int |
hashCode() |
void |
setAttachments(List<Attachment> attachments) |
void |
setBlocks(List<LayoutBlock> blocks) |
void |
setChannel(String channel) |
void |
setId(Long id) |
void |
setText(String text) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waittoJSONStringpublic static final String TYPE_NAME
public Message()
public Message(Long id, String channel, String text, List<LayoutBlock> blocks, List<Attachment> attachments)
public static Message.MessageBuilder builder()
public Long getId()
public String getType()
public String getChannel()
public String getText()
public List<LayoutBlock> getBlocks()
public List<Attachment> getAttachments()
public void setId(Long id)
public void setChannel(String channel)
public void setText(String text)
public void setBlocks(List<LayoutBlock> blocks)
public void setAttachments(List<Attachment> attachments)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.