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 classLinkSharedEvent.Link
-
Constructor Summary
Constructors Constructor Description LinkSharedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetEventTs()List<LinkSharedEvent.Link>getLinks()StringgetMessageTs()StringgetThreadTs()StringgetType()StringgetUser()inthashCode()voidsetChannel(String channel)voidsetEventTs(String eventTs)voidsetLinks(List<LinkSharedEvent.Link> links)voidsetMessageTs(String messageTs)voidsetThreadTs(String threadTs)voidsetUser(String user)StringtoString()-
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()
-
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)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-