Package com.slack.api.model.event
Class ChannelRenameEvent
- java.lang.Object
-
- com.slack.api.model.event.ChannelRenameEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class ChannelRenameEvent extends Object implements Event
The channel_rename event is sent to all connections for a workspace when a channel is renamed. Clients can use this to update their local list of channels.https://api.slack.com/events/channel_rename
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChannelRenameEvent.Channel
-
Constructor Summary
Constructors Constructor Description ChannelRenameEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
ChannelRenameEvent.Channel
getChannel()
String
getEventTs()
String
getType()
int
hashCode()
void
setChannel(ChannelRenameEvent.Channel channel)
void
setEventTs(String eventTs)
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 ChannelRenameEvent.Channel getChannel()
-
getEventTs
public String getEventTs()
-
setChannel
public void setChannel(ChannelRenameEvent.Channel channel)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-