tock / ai.tock.bot.definition / Parameters

Parameters

data class Parameters (source)

Use ParameterKey to create this class.

For instance :

where KeyEnum implements ParameterKey.

Constructors

<init>

Parameters(vararg entries: Pair<String, String>)

Use ParameterKey to create this class.

Parameters(entries: Map<String, String>)

Functions

plus

operator fun plus(param: Parameters): Parameters

toArray

fun toArray(): Array<Pair<String, String>>

toMap

fun toMap(): Map<String, String>

Companion Object Properties

EMPTY

An empty parameters.

val EMPTY: Parameters