Class SelectImpl.SelectOptionImpl
java.lang.Object
com.mewna.catnip.entity.impl.message.component.SelectImpl.SelectOptionImpl
- All Implemented Interfaces:
Select.SelectOption
- Enclosing class:
- SelectImpl
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionSelectOptionImpl
(String label, String value, String description, Emoji emoji, boolean isDefault) -
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.message.component.Select.SelectOption
toJson
-
Constructor Details
-
SelectOptionImpl
public SelectOptionImpl() -
SelectOptionImpl
-
-
Method Details
-
builder
-
label
- Specified by:
label
in interfaceSelect.SelectOption
-
value
- Specified by:
value
in interfaceSelect.SelectOption
-
description
- Specified by:
description
in interfaceSelect.SelectOption
-
emoji
- Specified by:
emoji
in interfaceSelect.SelectOption
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceSelect.SelectOption
-
label
- Returns:
this
.
-
value
- Returns:
this
.
-
description
- Returns:
this
.
-
emoji
- Returns:
this
.
-
isDefault
- Returns:
this
.
-