Interface HasOwner

All Superinterfaces:
Entity, RequiresCatnip
All Known Subinterfaces:
DMChannel, GroupDMChannel, Guild, ThreadChannel, UserDMChannel
All Known Implementing Classes:
GroupDMChannelImpl, GuildImpl, ThreadChannelImpl, UserDMChannelImpl

public interface HasOwner extends RequiresCatnip
Since:
5/1/21.
Author:
amy
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.reactivex.rxjava3.core.Maybe<User>
     
    default String
     
    long
     

    Methods inherited from interface com.mewna.catnip.entity.Entity

    catnip, serialize

    Methods inherited from interface com.mewna.catnip.entity.RequiresCatnip

    catnip
  • Method Details

    • ownerId

      @Nonnull @CheckReturnValue default String ownerId()
    • ownerIdAsLong

      long ownerIdAsLong()
    • owner

      @Nonnull @CheckReturnValue default io.reactivex.rxjava3.core.Maybe<User> owner()
      Returns:
      The owner of this resource.