Dashboards Type¶
Arrangement¶
Attributes:
widget_id: str
x: int or float
y: int or float
width: int or float
height: int or float
tab: Optional[str]
DashboardCreateInfo¶
Attributes:
label: str
arrangement: list[Arrangement]
tags: list[TagsObj]
visible: bool
icon¶
Attributes:
url: str
color: Optional[str]
conditions¶
Attributes:
key: str
value: str
filter_conditions¶
Attributes:
blueprint_device: str
tag_key: str
type: str
blueprint_devices¶
Attributes:
conditions: list[conditions]
name: str
id: str
label: str
filter_conditions: list[filter_conditions]
theme: any
setup: any
DashboardInfo¶
Attributes:
id: GenericID
created_at: datetime
updated_at: datetime
last_access: datetime
group_by: list
tabs: list
icon: icon
background: any
type: str
blueprint_device_behavior: “more_than_one” or “always”
blueprint_selector_behavior: “open” or “closed” or “always_open” or “always_closed”
blueprint_devices: blueprint_devices
theme: any
setup: any
shared: shared
WidgetData¶
Attributes:
origin: GenericID
qty: Optional[Union[int, float]]
timezone: Optional[str]
variables: Optional[str]
bucket: Optional[GenericID]
query: Optional[“min” or “max” or “count” or “avg” or “sum”]
start_date: Optional[Union[datetime, str]]
end_date: Optional[Union[datetime, str]]
overwrite: Optional[bool]
WidgetResource¶
Attributes:
filter: list[TagsObj]
DeviceResourceView¶
DeviceResourceView = f”tags.{str}” or f”param.{str}” or “name” or “id” or “bucket_name” or “network_name” or “connector_name” or “connector” or “network” or “bucket” or “last_input” or “created_at” or “active”
WidgetDeviceResource¶
Attributes:
type: “device”
view: DeviceResourceView
editable: “name” or f”tags.{str}” or f”param.{str}”
EditDeviceResource¶
Attributes:
device: GenericID
name: Optional[str]
active: Optional[bool]
edit: dict[str, Union[str, bool]]
EditResourceOptions¶
Attributes:
identifier: Optional[str]
WidgetInfo¶
Attributes:
analysis_run: Optional[GenericID]
dashboard: Optional[GenericID]
display: any
data: Optional[list[WidgetData]]
resource: Optional[list[WidgetDeviceResource]]
id: Optional[GenericID]
label: str
realtime: Optional[bool]
type: str
PostDataModel¶
Attributes:
origin: GenericID
variable: str
blueprint_devices¶
Attributes:
origin: GenericID
id: GenericID
bucket: Optional[GenericID]
widgetOverwrite¶
Attributes:
start_date: Optional[any]
end_date: Optional[any]
timezone: Optional[any]
GetDataModel¶
Attributes:
overwrite: Optional[widgetOverwrite]
blueprint_devices: Optional[list[blueprint_devices]]
page: Optional[Union[int, float]]
amount: Optional[Union[int, float]]
PublicKeyResponse¶
Attributes:
token: GenericToken
expire_time: ExpireTimeOption
EditDataModel¶
EditDataModel = PostDataModel and {id: GenericID}
PublicKeyResponse¶
PublicKeyResponse = PublicKeyResponse
widgetOverwriteOptions¶
widgetOverwriteOptions = “start_date” or “end_date” or “timezone”