Class ChannelUpdateArchiveTimestampEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.GenericChannelEvent
-
- net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent<OffsetDateTime>
-
- net.dv8tion.jda.api.events.channel.update.ChannelUpdateArchiveTimestampEvent
-
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<Channel,OffsetDateTime>
public class ChannelUpdateArchiveTimestampEvent extends GenericChannelUpdateEvent<OffsetDateTime>
-
-
Field Summary
Fields Modifier and Type Field Description static ChannelField
FIELD
-
Constructor Summary
Constructors Constructor Description ChannelUpdateArchiveTimestampEvent(JDA api, long responseNumber, Channel channel, long oldValue, long newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getNewValue()
The new valueOffsetDateTime
getOldValue()
The old value-
Methods inherited from class net.dv8tion.jda.api.events.channel.update.GenericChannelUpdateEvent
getEntity, getPropertyIdentifier
-
Methods inherited from class net.dv8tion.jda.api.events.channel.GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromType
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getResponseNumber
-
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
-
-
-
Field Detail
-
FIELD
public static final ChannelField FIELD
-
-
Method Detail
-
getOldValue
public OffsetDateTime getOldValue()
Description copied from interface:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<Channel,OffsetDateTime>
- Overrides:
getOldValue
in classGenericChannelUpdateEvent<OffsetDateTime>
- Returns:
- The old value
-
getNewValue
public OffsetDateTime getNewValue()
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<Channel,OffsetDateTime>
- Overrides:
getNewValue
in classGenericChannelUpdateEvent<OffsetDateTime>
- Returns:
- The new value
-
-