VariableDoc

@Serializable
data class VariableDoc(val name: String, val type: String = "", val description: String = "", val defaultValue: String = "")(source)

Documentation for a single variable in a message or term.

Constructors

Link copied to clipboard
constructor(name: String, type: String = "", description: String = "", defaultValue: String = "")

Properties

Link copied to clipboard

Default value for the variable (e.g., "Arial" for {string, "Arial"})

Link copied to clipboard

The variable description

Link copied to clipboard

The variable name (without $ prefix)

Link copied to clipboard

The variable type (e.g., "String", "Number"), or empty if not specified