Package com.slack.api.model.event
Class DndUpdatedEvent
- java.lang.Object
-
- com.slack.api.model.event.DndUpdatedEvent
-
- All Implemented Interfaces:
Event,Serializable
public class DndUpdatedEvent extends Object implements Event
The dnd_updated event is sent to the current user when their Do Not Disturb settings have changed.This event is not available to bot user subscriptions in the Events API.
https://api.slack.com/events/dnd_updated
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDndUpdatedEvent.DndStatus
-
Constructor Summary
Constructors Constructor Description DndUpdatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)DndUpdatedEvent.DndStatusgetDndStatus()StringgetEventTs()StringgetType()StringgetUser()inthashCode()voidsetDndStatus(DndUpdatedEvent.DndStatus dndStatus)voidsetEventTs(String eventTs)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
-
getUser
public String getUser()
-
getDndStatus
public DndUpdatedEvent.DndStatus getDndStatus()
-
getEventTs
public String getEventTs()
-
setUser
public void setUser(String user)
-
setDndStatus
public void setDndStatus(DndUpdatedEvent.DndStatus dndStatus)
-
setEventTs
public void setEventTs(String eventTs)
-
canEqual
protected boolean canEqual(Object other)
-
-