Class BulkDeletedMessagesImpl
java.lang.Object
com.mewna.catnip.entity.impl.message.BulkDeletedMessagesImpl
- All Implemented Interfaces:
Entity
,BulkDeletedMessages
,RequiresCatnip
- Since:
- 10/4/18.
- Author:
- amy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionBulkDeletedMessagesImpl
(Catnip catnip, List<String> ids, long channelIdAsLong, long guildIdAsLong) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
catnip()
Returns the catnip instance associated with this entity.void
long
channelIdAsLong
(long channelIdAsLong) boolean
long
guildIdAsLong
(long guildIdAsLong) int
hashCode()
ids()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.message.BulkDeletedMessages
channelId, guildId
-
Constructor Details
-
BulkDeletedMessagesImpl
public BulkDeletedMessagesImpl() -
BulkDeletedMessagesImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
ids
- Specified by:
ids
in interfaceBulkDeletedMessages
- Returns:
- The ids of the messages that were deleted.
-
channelIdAsLong
public long channelIdAsLong()- Specified by:
channelIdAsLong
in interfaceBulkDeletedMessages
- Returns:
- The id of the channel the messages were deleted in.
-
guildIdAsLong
public long guildIdAsLong()- Specified by:
guildIdAsLong
in interfaceBulkDeletedMessages
- Returns:
- The id of the guild the messages were deleted in, if applicable.
-
ids
- Returns:
this
.
-
channelIdAsLong
- Returns:
this
.
-
guildIdAsLong
- Returns:
this
.
-