Class MessagePinInfoImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.audit.MessagePinInfoImpl
- All Implemented Interfaces:
Entity
,MessagePinInfo
,OptionalEntryInfo
,RequiresCatnip
- Since:
- March 18th, 2020
- Author:
- kjp12
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMessagePinInfoImpl
(Catnip catnip, long channelIdAsLong, long messageIdAsLong) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
catnip()
Returns the catnip instance associated with this entity.void
long
channelIdAsLong
(long channelIdAsLong) long
messageIdAsLong
(long messageIdAsLong) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.guild.audit.MessagePinInfo
channelId, messageId
-
Constructor Details
-
MessagePinInfoImpl
public MessagePinInfoImpl() -
MessagePinInfoImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
channelIdAsLong
public long channelIdAsLong()- Specified by:
channelIdAsLong
in interfaceMessagePinInfo
-
messageIdAsLong
public long messageIdAsLong()- Specified by:
messageIdAsLong
in interfaceMessagePinInfo
-
channelIdAsLong
- Returns:
this
.
-
messageIdAsLong
- Returns:
this
.
-