Class ApplicationCommandInteractionDataOptionImpl
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.ApplicationCommandInteractionDataOptionImpl
- All Implemented Interfaces:
Entity,ApplicationCommandInteractionDataOption,HasName,RequiresCatnip
public class ApplicationCommandInteractionDataOptionImpl
extends Object
implements ApplicationCommandInteractionDataOption, RequiresCatnip
- Since:
- 12/10/20.
- Author:
- amy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionApplicationCommandInteractionDataOptionImpl(Catnip catnip, String name, ApplicationCommandOptionType type, ApplicationCommandOptionChoice<?> value, List<ApplicationCommandInteractionDataOption> options) -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationCommandInteractionDataOptionImpl.ApplicationCommandInteractionDataOptionImplBuilderbuilder()catnip()Returns the catnip instance associated with this entity.voidname()options()type()value()value(ApplicationCommandOptionChoice<?> value)
-
Constructor Details
-
ApplicationCommandInteractionDataOptionImpl
public ApplicationCommandInteractionDataOptionImpl() -
ApplicationCommandInteractionDataOptionImpl
public ApplicationCommandInteractionDataOptionImpl(Catnip catnip, String name, ApplicationCommandOptionType type, ApplicationCommandOptionChoice<?> value, List<ApplicationCommandInteractionDataOption> options)
-
-
Method Details
-
catnip
- Specified by:
catnipin interfaceRequiresCatnip
-
builder
public static ApplicationCommandInteractionDataOptionImpl.ApplicationCommandInteractionDataOptionImplBuilder builder() -
catnip
Description copied from interface:EntityReturns the catnip instance associated with this entity. -
name
-
type
- Specified by:
typein interfaceApplicationCommandInteractionDataOption
-
value
- Specified by:
valuein interfaceApplicationCommandInteractionDataOption
-
options
- Specified by:
optionsin interfaceApplicationCommandInteractionDataOption
-
name
- Returns:
this.
-
type
- Returns:
this.
-
value
- Returns:
this.
-
options
public ApplicationCommandInteractionDataOptionImpl options(List<ApplicationCommandInteractionDataOption> options) - Returns:
this.
-