Class DeletedInviteImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.DeletedInviteImpl
- All Implemented Interfaces:
Entity
,DeletedInvite
,HasChannel
,RequiresCatnip
- Since:
- 4/24/20.
- Author:
- amy
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDeletedInviteImpl
(Catnip catnip, String code, long channelIdAsLong, long guildIdAsLong) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
catnip()
Returns the catnip instance associated with this entity.void
long
channelIdAsLong
(long channelIdAsLong) code()
long
guildIdAsLong
(long guildIdAsLong) 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.partials.HasChannel
channelId
-
Constructor Details
-
DeletedInviteImpl
public DeletedInviteImpl() -
DeletedInviteImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
code
- Specified by:
code
in interfaceDeletedInvite
- Returns:
- The code of the invite that was deleted.
-
channelIdAsLong
public long channelIdAsLong()- Specified by:
channelIdAsLong
in interfaceHasChannel
-
guildIdAsLong
public long guildIdAsLong() -
code
- Returns:
this
.
-
channelIdAsLong
- Returns:
this
.
-
guildIdAsLong
- Returns:
this
.
-