VariablePatch

data class VariablePatch(val expression: String? = null, val name: String? = null)

Variable is the definition of a variable that is used for composition.

Constructors

Link copied to clipboard
constructor(expression: String? = null, name: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val expression: String? = null

Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.

Link copied to clipboard
val name: String? = null

Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through variables For example, if name is "foo", the variable will be available as variables.foo