Class ApplicationCommandOptionDoubleChoiceImpl
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.ApplicationCommandOptionDoubleChoiceImpl
- All Implemented Interfaces:
Entity
,ApplicationCommandOptionChoice<Double>
,ApplicationCommandOptionDoubleChoice
,HasName
,RequiresCatnip
public class ApplicationCommandOptionDoubleChoiceImpl
extends Object
implements ApplicationCommandOptionDoubleChoice, RequiresCatnip
- Since:
- 11/27/21.
- Author:
- amy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionApplicationCommandOptionDoubleChoiceImpl
(Catnip catnip, String name, Double value) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.interaction.command.ApplicationCommandOptionChoice
toJson
-
Constructor Details
-
ApplicationCommandOptionDoubleChoiceImpl
public ApplicationCommandOptionDoubleChoiceImpl() -
ApplicationCommandOptionDoubleChoiceImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
public static ApplicationCommandOptionDoubleChoiceImpl.ApplicationCommandOptionDoubleChoiceImplBuilder builder() -
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
name
-
value
- Specified by:
value
in interfaceApplicationCommandOptionChoice<Double>
-
name
- Returns:
this
.
-
value
- Returns:
this
.
-