Package discord4j.core.spec
Interface Spec<T>
-
- Type Parameters:
T
- the type of the resulting object.
- All Known Subinterfaces:
AuditSpec<T>
- All Known Implementing Classes:
AuditLogQuerySpec
,BanQuerySpec
,CategoryCreateSpec
,CategoryEditSpec
,EmbedCreateSpec
,GuildCreateFromTemplateSpec
,GuildCreateSpec
,GuildEditSpec
,GuildEmojiCreateSpec
,GuildEmojiEditSpec
,GuildMemberEditSpec
,GuildPruneCountSpec
,GuildPruneSpec
,GuildTemplateCreateSpec
,GuildTemplateEditSpec
,InteractionApplicationCommandCallbackSpec
,InviteCreateSpec
,MessageCreateSpec
,MessageEditSpec
,MessageReferenceSpec
,NewsChannelCreateSpec
,NewsChannelEditSpec
,RoleCreateSpec
,RoleEditSpec
,StoreChannelEditSpec
,TextChannelCreateSpec
,TextChannelEditSpec
,UserEditSpec
,VoiceChannelCreateSpec
,VoiceChannelEditSpec
,VoiceChannelJoinSpec
,WebhookCreateSpec
,WebhookEditSpec
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Spec<T>
A contract specifying how an object should be built.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
asRequest()
-
-
-
Method Detail
-
asRequest
T asRequest()
-
-