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 -
Field Summary
-
Constructor Summary
Constructors Constructor Description DndUpdatedEvent() -
Method Summary
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()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DndUpdatedEvent
public DndUpdatedEvent()
-
-
Method Details
-
getType
-
getUser
-
getDndStatus
-
getEventTs
-
setUser
-
setDndStatus
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-