mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-09-19 16:13:55 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
2.2 KiB
2.2 KiB
ApiWidgetsDataV2
Data of a widget.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| cards | **List[ApiNumbersCardData]** | [optional] | |
| columns | **List[ApiMultiMetricColumnData]** | [optional] | |
| points | **List[ApiWidgetDataPoint]** | [optional] | |
| tests | **List[ApiTestTableData]** | [optional] | |
| start_round | int | Epoch time (seconds) indicating the start time of the round. | [optional] |
| alert_suppression_windows | **List[ApiDashboardAsw]** | [optional] | |
| total_alerts | int | Total number of active alerts within configured timespan. | [optional] |
| active_alerts | int | Total number of currently active alerts. | [optional] |
| alerts | **List[ApiAlertListAlert]** | [optional] | |
| summary | ApiAgentStatusSummary | [optional] | |
| agents | **List[ApiAgentStatusAgent]** | [optional] | |
| rows | **List[ApiListWidgetRow]** | Detailed information about each row in the List widget. | [optional] |
| legend | Dict[str, int] | Map of legend labels to their counts for the List widget. | [optional] |
| status | str | Message for not fully configured card or no data. | [optional] |
Example
from thousandeyes_sdk.dashboards.models.api_widgets_data_v2 import ApiWidgetsDataV2
# TODO update the JSON string below
json = "{}"
# create an instance of ApiWidgetsDataV2 from a JSON string
api_widgets_data_v2_instance = ApiWidgetsDataV2.from_json(json)
# print the JSON string representation of the object
print(ApiWidgetsDataV2.to_json())
# convert the object into a dict
api_widgets_data_v2_dict = api_widgets_data_v2_instance.to_dict()
# create an instance of ApiWidgetsDataV2 from a dict
api_widgets_data_v2_from_dict = ApiWidgetsDataV2.from_dict(api_widgets_data_v2_dict)