mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
1.2 KiB
1.2 KiB
ApiDefaultTimespan
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| duration | int | Relative timespan in seconds. | [optional] |
| start | datetime | UTC start date of the timespan range (ISO date-time format). | [optional] |
| end | datetime | UTC end date of the timespan range (ISO date-time format). | [optional] |
Example
from thousandeyes_sdk.dashboards.models.api_default_timespan import ApiDefaultTimespan
# TODO update the JSON string below
json = "{}"
# create an instance of ApiDefaultTimespan from a JSON string
api_default_timespan_instance = ApiDefaultTimespan.from_json(json)
# print the JSON string representation of the object
print(ApiDefaultTimespan.to_json())
# convert the object into a dict
api_default_timespan_dict = api_default_timespan_instance.to_dict()
# create an instance of ApiDefaultTimespan from a dict
api_default_timespan_from_dict = ApiDefaultTimespan.from_dict(api_default_timespan_dict)