Class WebhooksUpdateImpl
java.lang.Object
com.mewna.catnip.entity.impl.channel.WebhooksUpdateImpl
- All Implemented Interfaces:
WebhooksUpdate
,Entity
,GuildEntity
,HasChannel
,HasGuild
,RequiresCatnip
- Since:
- 11/10/18.
- Author:
- amy
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
catnip()
Returns the catnip instance associated with this entity.void
long
channelIdAsLong
(long channelIdAsLong) long
The id of the guild this entity is from.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.GuildEntity
guild
Methods inherited from interface com.mewna.catnip.entity.partials.HasChannel
channelId
-
Constructor Details
-
WebhooksUpdateImpl
public WebhooksUpdateImpl() -
WebhooksUpdateImpl
-
-
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 interfaceHasChannel
-
guildIdAsLong
public long guildIdAsLong()Description copied from interface:HasGuild
The id of the guild this entity is from.- Specified by:
guildIdAsLong
in interfaceHasGuild
- Returns:
- Long representing the guild ID.
-
channelIdAsLong
- Returns:
this
.
-
guildIdAsLong
- Returns:
this
.
-