mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
1.7 KiB
1.7 KiB
ApiWidgetData
Response of a widget data request.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| group_labels | **List[ApiReportDataComponentLabelMap]** | [optional] | |
| bin_size | int | Duration of each bin. | [optional] |
| data | ApiWidgetsDataV2 | [optional] | |
| start_date | datetime | (Optional) When passing `window` or `startDate` parameter, the client will also receive the `startDate` field indicating the UTC start date of the data's time range being retrieved (ISO date-time format). | [optional] [readonly] |
| end_date | datetime | (Optional) When passing `window` or `endDate` parameter, the client will also receive the `endDate` field indicating the UTC end date of the data's time range being retrieved (ISO date-time format). | [optional] [readonly] |
Example
from thousandeyes_sdk.dashboards.models.api_widget_data import ApiWidgetData
# TODO update the JSON string below
json = "{}"
# create an instance of ApiWidgetData from a JSON string
api_widget_data_instance = ApiWidgetData.from_json(json)
# print the JSON string representation of the object
print(ApiWidgetData.to_json())
# convert the object into a dict
api_widget_data_dict = api_widget_data_instance.to_dict()
# create an instance of ApiWidgetData from a dict
api_widget_data_from_dict = ApiWidgetData.from_dict(api_widget_data_dict)