Skip to content

ConstantVariableBuilder🔗

Constructor🔗

func NewConstantVariableBuilder(name string) *ConstantVariableBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *ConstantVariableBuilder) Build() (VariableModel, error)

Description🔗

Description of variable. It can be defined but null.

func (builder *ConstantVariableBuilder) Description(description string) *ConstantVariableBuilder

Label🔗

Optional display name

func (builder *ConstantVariableBuilder) Label(label string) *ConstantVariableBuilder

Name🔗

Name of variable

func (builder *ConstantVariableBuilder) Name(name string) *ConstantVariableBuilder

Value🔗

Query used to fetch values for a variable

func (builder *ConstantVariableBuilder) Value(query dashboard.StringOrMap) *ConstantVariableBuilder

See also🔗