mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
1004 B
1004 B
ApiDuration
Specifies a fixed timespan for data aggregation.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| value | int | Timespan value. | [optional] |
| unit | LegacyDurationUnit | [optional] |
Example
from thousandeyes_sdk.dashboards.models.api_duration import ApiDuration
# TODO update the JSON string below
json = "{}"
# create an instance of ApiDuration from a JSON string
api_duration_instance = ApiDuration.from_json(json)
# print the JSON string representation of the object
print(ApiDuration.to_json())
# convert the object into a dict
api_duration_dict = api_duration_instance.to_dict()
# create an instance of ApiDuration from a dict
api_duration_from_dict = ApiDuration.from_dict(api_duration_dict)