Metadata

sealed class Metadata<IN, T : Any>(source)

Metadata for elicitation parameters which can be added to the schema of the elicitation

Inheritors

Types

Link copied to clipboard
abstract class boolean<T : Any>(name: String) : Elicitation.Metadata<Boolean, T>
Link copied to clipboard
class EnumMapping<T : Enum<T>>(mappings: Map<T, String>, default: T? = null) : Elicitation.Metadata<T, MoshiNode>
Link copied to clipboard
class EnumMappings<T : Enum<T>>(mappings: Map<T, String>, defaults: List<T> = emptyList()) : Elicitation.Metadata<List<T>, MoshiNode>
Link copied to clipboard
abstract class integer<T : Any>(name: String) : Elicitation.Metadata<Long, T>
Link copied to clipboard
abstract class number<T : Any>(name: String) : Elicitation.Metadata<Number, T>
Link copied to clipboard
abstract class string<T : Any>(name: String) : Elicitation.Metadata<String, T>

Properties

Link copied to clipboard
Link copied to clipboard
abstract val value: T

Functions

Link copied to clipboard
open override fun toString(): String