AdHocVariableBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
AllowCustomValue🔗
Allow custom values to be entered in the variable
Datasource🔗
Data source used to fetch values for a variable. It can be defined but null.
func (builder *AdHocVariableBuilder) Datasource(datasource common.DataSourceRef) *AdHocVariableBuilder
Definition🔗
Description🔗
Description of variable. It can be defined but null.
Hide🔗
Visibility configuration for the variable
Label🔗
Optional display name
Name🔗
Name of variable
StaticOptions🔗
Additional static options for query variable
func (builder *AdHocVariableBuilder) StaticOptions(staticOptions []dashboard.VariableOption) *AdHocVariableBuilder
StaticOptionsOrder🔗
Ordering of static options in relation to options returned from data source for query variable
func (builder *AdHocVariableBuilder) StaticOptionsOrder(staticOptionsOrder dashboard.VariableModelStaticOptionsOrder) *AdHocVariableBuilder