Class ApplicationCommandOptionImpl
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.ApplicationCommandOptionImpl
- All Implemented Interfaces:
- ApplicationCommandOption,- HasDescription,- HasName
- Since:
- 12/10/20.
- Author:
- amy
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Constructor SummaryConstructorsConstructorDescriptionApplicationCommandOptionImpl(ApplicationCommandOptionType type, boolean defaultOption, boolean required, List<ApplicationCommandOptionChoice<?>> choices, List<ApplicationCommandOption> options, List<Channel.ChannelType> channelTypes, String description, String name) 
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()channelTypes(List<Channel.ChannelType> channelTypes) choices()choices(List<ApplicationCommandOptionChoice<?>> choices) booleandefaultOption(boolean defaultOption) description(String description) name()options()options(List<ApplicationCommandOption> options) booleanrequired()required(boolean required) type()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mewna.catnip.entity.interaction.command.ApplicationCommandOptiontoJson
- 
Constructor Details- 
ApplicationCommandOptionImplpublic ApplicationCommandOptionImpl()
- 
ApplicationCommandOptionImplpublic ApplicationCommandOptionImpl(ApplicationCommandOptionType type, boolean defaultOption, boolean required, List<ApplicationCommandOptionChoice<?>> choices, List<ApplicationCommandOption> options, List<Channel.ChannelType> channelTypes, String description, String name) 
 
- 
- 
Method Details- 
builder
- 
type- Specified by:
- typein interface- ApplicationCommandOption
 
- 
defaultOptionpublic boolean defaultOption()- Specified by:
- defaultOptionin interface- ApplicationCommandOption
 
- 
requiredpublic boolean required()- Specified by:
- requiredin interface- ApplicationCommandOption
 
- 
choices- Specified by:
- choicesin interface- ApplicationCommandOption
 
- 
options- Specified by:
- optionsin interface- ApplicationCommandOption
 
- 
channelTypes- Specified by:
- channelTypesin interface- ApplicationCommandOption
 
- 
description- Specified by:
- descriptionin interface- HasDescription
 
- 
name
- 
type- Returns:
- this.
 
- 
defaultOption- Returns:
- this.
 
- 
required- Returns:
- this.
 
- 
choices- Returns:
- this.
 
- 
options- Returns:
- this.
 
- 
channelTypes- Returns:
- this.
 
- 
description- Returns:
- this.
 
- 
name- Returns:
- this.
 
 
-