Action🔗
Dashboard action
Definition🔗
class Action:
"""
Dashboard action
"""
type_val: dashboard.ActionType
title: str
fetch: typing.Optional[dashboard.FetchOptions]
infinity: typing.Optional[dashboard.InfinityOptions]
confirmation: typing.Optional[str]
one_click: typing.Optional[bool]
variables: typing.Optional[list[dashboard.ActionVariable]]
style: typing.Optional[dashboard.DashboardActionStyle]
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.