thousandeyes-sdk-python/thousandeyes-sdk-dashboards/docs/ApiWidgetData.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

35 lines
1.7 KiB
Markdown

# ApiWidgetData
Response of a widget data request.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**group_labels** | [**List[ApiReportDataComponentLabelMap]**](ApiReportDataComponentLabelMap.md) | | [optional]
**bin_size** | **int** | Duration of each bin. | [optional]
**data** | [**ApiWidgetsDataV2**](ApiWidgetsDataV2.md) | | [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
```python
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)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)