Class ApplicationCommandOptionIntegerChoiceImpl
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.ApplicationCommandOptionIntegerChoiceImpl
- All Implemented Interfaces:
Entity
,ApplicationCommandOptionChoice<Integer>
,ApplicationCommandOptionIntegerChoice
,HasName
,RequiresCatnip
public class ApplicationCommandOptionIntegerChoiceImpl
extends Object
implements ApplicationCommandOptionIntegerChoice, RequiresCatnip
- Since:
- 12/10/20.
- Author:
- amy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionApplicationCommandOptionIntegerChoiceImpl
(Catnip catnip, String name, Integer 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
-
ApplicationCommandOptionIntegerChoiceImpl
public ApplicationCommandOptionIntegerChoiceImpl() -
ApplicationCommandOptionIntegerChoiceImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
public static ApplicationCommandOptionIntegerChoiceImpl.ApplicationCommandOptionIntegerChoiceImplBuilder builder() -
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
name
-
value
- Specified by:
value
in interfaceApplicationCommandOptionChoice<Integer>
-
name
- Returns:
this
.
-
value
- Returns:
this
.
-