Action🔗
Definition🔗
class Action:
type_val: dashboardv2beta1.ActionType
title: str
fetch: typing.Optional[dashboardv2beta1.FetchOptions]
infinity: typing.Optional[dashboardv2beta1.InfinityOptions]
confirmation: typing.Optional[str]
one_click: typing.Optional[bool]
variables: typing.Optional[list[dashboardv2beta1.ActionVariable]]
style: typing.Optional[dashboardv2beta1.Dashboardv2beta1ActionStyle]
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.