QueryVariableBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
Current🔗
Shows current selected variable text/value on the dashboard
func (builder *QueryVariableBuilder) Current(current dashboard.VariableOption) *QueryVariableBuilder
Datasource🔗
Data source used to fetch values for a variable. It can be defined but null
.
func (builder *QueryVariableBuilder) Datasource(datasource dashboard.DataSourceRef) *QueryVariableBuilder
Description🔗
Description of variable. It can be defined but null
.
Hide🔗
Visibility configuration for the variable
Label🔗
Optional display name
Multi🔗
Whether multiple values can be selected or not from variable value list
Name🔗
Name of variable
Options🔗
Options that can be selected for a variable.
func (builder *QueryVariableBuilder) Options(options []dashboard.VariableOption) *QueryVariableBuilder
Query🔗
Query used to fetch values for a variable
Refresh🔗
func (builder *QueryVariableBuilder) Refresh(refresh dashboard.VariableRefresh) *QueryVariableBuilder
Sort🔗
Options sort order