Class PartialMemberImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.PartialMemberImpl
- All Implemented Interfaces:
Entity
,PartialMember
,GuildEntity
,HasGuild
,Snowflake
,Timestamped
,RequiresCatnip
- Since:
- 10/4/18.
- Author:
- amy
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Constructor Summary
ConstructorDescription -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.partials.GuildEntity
guild
Methods inherited from interface com.mewna.catnip.entity.guild.PartialMember
idAsLong
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
-
PartialMemberImpl
public PartialMemberImpl() -
PartialMemberImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
user
- Specified by:
user
in interfacePartialMember
-
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.
-
roleIds
- Specified by:
roleIds
in interfacePartialMember
-
nick
- Specified by:
nick
in interfacePartialMember
-
user
- Returns:
this
.
-
guildIdAsLong
- Returns:
this
.
-
roleIds
- Returns:
this
.
-
nick
- Returns:
this
.
-