NominatedInput

@Serializable
data class NominatedInput(val key: String, val kind: NominatedInputKind, val displayName: String? = null, val description: String? = null, val unit: String? = null)(source)

One author-nominated input — a control or random-variable parameter the model developer has flagged as worth surfacing first in an application.

This is a reference into the model's full input surface, not a copy: key joins back to a ksl.controls.ControlData (for the three control families) or to a ksl.utilities.random.rvariable.parameters.RVParameterData (for NominatedInputKind.RV_PARAMETER) carried by the same ModelDescriptor. Bounds, type, and current value live on those DTOs; the nomination adds only salience and lean, model-semantic labelling.

Parameters

key

the control keyName ("elementName.propertyName") or the flattened RV-parameter key ("rvNameparamName")

kind

which family this input belongs to

displayName

optional human label

description

optional one-line description of what the input means

unit

optional unit of measure (e.g. "minutes", "servers")

Constructors

Link copied to clipboard
constructor(key: String, kind: NominatedInputKind, displayName: String? = null, description: String? = null, unit: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard
Link copied to clipboard
val unit: String?