Class ThreadChannelImpl.ThreadMemberImpl
java.lang.Object
com.mewna.catnip.entity.impl.channel.ThreadChannelImpl.ThreadMemberImpl
- All Implemented Interfaces:
ThreadChannel.ThreadMember
,Entity
,HasJoinedAt
,HasUser
,Snowflake
,Timestamped
,RequiresCatnip
- Enclosing class:
- ThreadChannelImpl
public static class ThreadChannelImpl.ThreadMemberImpl
extends Object
implements ThreadChannel.ThreadMember
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Constructor Summary
ConstructorDescriptionThreadMemberImpl
(Catnip catnip, long idAsLong, long userIdAsLong, String joinedAt) -
Method Summary
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.Snowflake
creationTime, creationTimestamp, id
Methods inherited from interface com.mewna.catnip.entity.channel.ThreadChannel.ThreadMember
flags
Methods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Constructor Details
-
ThreadMemberImpl
public ThreadMemberImpl() -
ThreadMemberImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
joinedAt
- Specified by:
joinedAt
in interfaceHasJoinedAt
-
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. -
userIdAsLong
public long userIdAsLong()- Specified by:
userIdAsLong
in interfaceHasUser
-
idAsLong
- Returns:
this
.
-
userIdAsLong
- Returns:
this
.
-
joinedAt
- Returns:
this
.
-