Class ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder
- Enclosing class:
- ApplicationCommandOptionImpl
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
channelTypes
(List<Channel.ChannelType> channelTypes) choices
(List<ApplicationCommandOptionChoice<?>> choices) defaultOption
(boolean defaultOption) description
(String description) options
(List<ApplicationCommandOption> options) required
(boolean required) toString()
-
Method Details
-
type
public ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder type(ApplicationCommandOptionType type) - Returns:
this
.
-
defaultOption
public ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder defaultOption(boolean defaultOption) - Returns:
this
.
-
required
- Returns:
this
.
-
choices
public ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder choices(List<ApplicationCommandOptionChoice<?>> choices) - Returns:
this
.
-
options
public ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder options(List<ApplicationCommandOption> options) - Returns:
this
.
-
channelTypes
public ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder channelTypes(List<Channel.ChannelType> channelTypes) - Returns:
this
.
-
description
public ApplicationCommandOptionImpl.ApplicationCommandOptionImplBuilder description(String description) - Returns:
this
.
-
name
- Returns:
this
.
-
build
-
toString
-