Package com.slack.api.model.event
Class LinkSharedEvent
- java.lang.Object
-
- com.slack.api.model.event.LinkSharedEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class LinkSharedEvent extends Object implements Event
The thread_ts field only appears when the link was shared within a message thread.https://api.slack.com/events/link_shared
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinkSharedEvent.Link
-
Constructor Summary
Constructors Constructor Description LinkSharedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
String
getEventTs()
List<LinkSharedEvent.Link>
getLinks()
String
getMessageTs()
String
getSource()
String
getThreadTs()
String
getType()
String
getUnfurlId()
String
getUser()
int
hashCode()
boolean
isBotUserMember()
void
setBotUserMember(boolean botUserMember)
void
setChannel(String channel)
void
setEventTs(String eventTs)
void
setLinks(List<LinkSharedEvent.Link> links)
void
setMessageTs(String messageTs)
void
setSource(String source)
void
setThreadTs(String threadTs)
void
setUnfurlId(String unfurlId)
void
setUser(String user)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChannel
public String getChannel()
-
getUser
public String getUser()
-
getMessageTs
public String getMessageTs()
-
getThreadTs
public String getThreadTs()
-
getLinks
public List<LinkSharedEvent.Link> getLinks()
-
isBotUserMember
public boolean isBotUserMember()
-
getUnfurlId
public String getUnfurlId()
-
getSource
public String getSource()
-
getEventTs
public String getEventTs()
-
setChannel
public void setChannel(String channel)
-
setUser
public void setUser(String user)
-
setMessageTs
public void setMessageTs(String messageTs)
-
setThreadTs
public void setThreadTs(String threadTs)
-
setLinks
public void setLinks(List<LinkSharedEvent.Link> links)
-
setBotUserMember
public void setBotUserMember(boolean botUserMember)
-
setUnfurlId
public void setUnfurlId(String unfurlId)
-
setSource
public void setSource(String source)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-