SwitchVariable
Constructor
SwitchVariable(name: str)
Methods
build
Builds the object.
def build() -> dashboardv2.SwitchVariableKind
current
def current(current: str) -> typing.Self
description
def description(description: str) -> typing.Self
disabled_value
def disabled_value(disabled_value: str) -> typing.Self
enabled_value
def enabled_value(enabled_value: str) -> typing.Self
hide
def hide(hide: dashboardv2.VariableHide) -> typing.Self
label
def label(label: str) -> typing.Self
name
def name(name: str) -> typing.Self
origin
def origin(origin: cogbuilder.Builder[dashboardv2.ControlSourceRef]) -> typing.Self
skip_url_sync
def skip_url_sync(skip_url_sync: bool) -> typing.Self
See also