Class ThreadListSyncImpl
java.lang.Object
com.mewna.catnip.entity.impl.channel.ThreadListSyncImpl
- All Implemented Interfaces:
ThreadListSync
,HasGuild
- Since:
- 5/9/21.
- Author:
- amy
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionThreadListSyncImpl
(long guildIdAsLong, List<String> channelIds, List<ThreadChannel> threads, List<ThreadChannel.ThreadMember> members) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
channelIds
(List<String> channelIds) long
The id of the guild this entity is from.guildIdAsLong
(long guildIdAsLong) members()
members
(List<ThreadChannel.ThreadMember> members) threads()
threads
(List<ThreadChannel> threads)
-
Constructor Details
-
ThreadListSyncImpl
public ThreadListSyncImpl() -
ThreadListSyncImpl
public ThreadListSyncImpl(long guildIdAsLong, List<String> channelIds, List<ThreadChannel> threads, List<ThreadChannel.ThreadMember> members)
-
-
Method Details
-
builder
-
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.
-
channelIds
- Specified by:
channelIds
in interfaceThreadListSync
-
threads
- Specified by:
threads
in interfaceThreadListSync
-
members
- Specified by:
members
in interfaceThreadListSync
-
guildIdAsLong
- Returns:
this
.
-
channelIds
- Returns:
this
.
-
threads
- Returns:
this
.
-
members
- Returns:
this
.
-