Skip to content

TextBoxVariableBuilder🔗

Constructor🔗

func NewTextBoxVariableBuilder(name string) *TextBoxVariableBuilder

Methods🔗

Build🔗

Builds the object.

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

Current🔗

Shows current selected variable text/value on the dashboard

func (builder *TextBoxVariableBuilder) Current(current dashboard.VariableOption) *TextBoxVariableBuilder

DefaultValue🔗

Query used to fetch values for a variable

func (builder *TextBoxVariableBuilder) DefaultValue(query dashboard.StringOrMap) *TextBoxVariableBuilder

Description🔗

Description of variable. It can be defined but null.

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

Hide🔗

Visibility configuration for the variable

func (builder *TextBoxVariableBuilder) Hide(hide dashboard.VariableHide) *TextBoxVariableBuilder

Label🔗

Optional display name

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

Name🔗

Name of variable

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

Options🔗

Options that can be selected for a variable.

func (builder *TextBoxVariableBuilder) Options(options []dashboard.VariableOption) *TextBoxVariableBuilder

See also🔗