Class InviteImpl.InviterImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.InviteImpl.InviterImpl
- All Implemented Interfaces:
Entity
,Invite.Inviter
,Snowflake
,Timestamped
,RequiresCatnip
- Enclosing class:
- InviteImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Constructor Summary
ConstructorDescriptionInviterImpl
(Catnip catnip, long idAsLong, String username, String discriminator, String avatar) -
Method Summary
Modifier and TypeMethodDescriptionboolean
avatar()
avatarUrl
(ImageOptions options) builder()
catnip()
Returns the catnip instance associated with this entity.void
discriminator
(String discriminator) effectiveAvatarUrl
(ImageOptions options) boolean
int
hashCode()
long
idAsLong()
The ID of this snowflake, as a long.idAsLong
(long idAsLong) toString()
username()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestamp, id
Methods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Constructor Details
-
InviterImpl
public InviterImpl() -
InviterImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
animatedAvatar
public boolean animatedAvatar()- Specified by:
animatedAvatar
in interfaceInvite.Inviter
-
defaultAvatarUrl
- Specified by:
defaultAvatarUrl
in interfaceInvite.Inviter
-
avatarUrl
- Specified by:
avatarUrl
in interfaceInvite.Inviter
-
avatarUrl
- Specified by:
avatarUrl
in interfaceInvite.Inviter
-
effectiveAvatarUrl
- Specified by:
effectiveAvatarUrl
in interfaceInvite.Inviter
-
effectiveAvatarUrl
- Specified by:
effectiveAvatarUrl
in interfaceInvite.Inviter
-
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
idAsLong
public long idAsLong()Description copied from interface:Snowflake
The ID of this snowflake, as a long. -
username
- Specified by:
username
in interfaceInvite.Inviter
-
discriminator
- Specified by:
discriminator
in interfaceInvite.Inviter
-
avatar
- Specified by:
avatar
in interfaceInvite.Inviter
-
idAsLong
- Returns:
this
.
-
username
- Returns:
this
.
-
discriminator
- Returns:
this
.
-
avatar
- Returns:
this
.
-