ChoiceOptionWrapper

sealed class ChoiceOptionWrapper<B : BaseChoiceBuilder<*, *>, T> : OptionWrapper<B>

Inheritors

Types

Link copied to clipboard
inner class ChoiceWrapper(val name: Key, val value: T)
Link copied to clipboard
class Integer constructor(displayName: Key, description: Key, body: suspend IntegerOptionBuilder.() -> Unit) : ChoiceOptionWrapper<IntegerOptionBuilder, Long>
Link copied to clipboard
class Number constructor(displayName: Key, description: Key, body: suspend NumberOptionBuilder.() -> Unit) : ChoiceOptionWrapper<NumberOptionBuilder, Double>
Link copied to clipboard
class String constructor(displayName: Key, description: Key, body: suspend StringChoiceBuilder.() -> Unit) : ChoiceOptionWrapper<StringChoiceBuilder, String>

Properties

Link copied to clipboard
val body: suspend B.() -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val modifiers: MutableList<suspend B.() -> Unit>
Link copied to clipboard
val type: KClass<B>

Functions

Link copied to clipboard
suspend fun apply(builder: B): B
Link copied to clipboard
fun choice(name: Key, value: T)
Link copied to clipboard
fun modify(body: suspend B.() -> Unit)
Link copied to clipboard
suspend fun toKord(): OptionsBuilder