Class WebhooksUpdateImpl

java.lang.Object
com.mewna.catnip.entity.impl.channel.WebhooksUpdateImpl
All Implemented Interfaces:
WebhooksUpdate, Entity, GuildEntity, HasChannel, HasGuild, RequiresCatnip

public class WebhooksUpdateImpl extends Object implements WebhooksUpdate, RequiresCatnip
Since:
11/10/18.
Author:
amy
  • Constructor Details

    • WebhooksUpdateImpl

      public WebhooksUpdateImpl()
    • WebhooksUpdateImpl

      public WebhooksUpdateImpl(Catnip catnip, long channelIdAsLong, long guildIdAsLong)
  • Method Details

    • catnip

      public void catnip(@Nonnull Catnip catnip)
      Specified by:
      catnip in interface RequiresCatnip
    • builder

    • catnip

      public Catnip catnip()
      Description copied from interface: Entity
      Returns the catnip instance associated with this entity.
      Specified by:
      catnip in interface Entity
      Returns:
      The catnip instance of this entity.
    • channelIdAsLong

      public long channelIdAsLong()
      Specified by:
      channelIdAsLong in interface HasChannel
    • guildIdAsLong

      public long guildIdAsLong()
      Description copied from interface: HasGuild
      The id of the guild this entity is from.
      Specified by:
      guildIdAsLong in interface HasGuild
      Returns:
      Long representing the guild ID.
    • channelIdAsLong

      public WebhooksUpdateImpl channelIdAsLong(long channelIdAsLong)
      Returns:
      this.
    • guildIdAsLong

      public WebhooksUpdateImpl guildIdAsLong(long guildIdAsLong)
      Returns:
      this.