thousandeyes-sdk-python/thousandeyes-sdk-dashboards/docs/DefaultTimespan.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

1.4 KiB

DefaultTimespan

Properties

Name Type Description Notes
timespan_duration int Relative timespan in seconds. [optional]
timespan_start str UTC start date of the timespan range. [optional]
timespan_end str UTC end date of the timespan range. [optional]
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.default_timespan import DefaultTimespan

# TODO update the JSON string below
json = "{}"
# create an instance of DefaultTimespan from a JSON string
default_timespan_instance = DefaultTimespan.from_json(json)
# print the JSON string representation of the object
print(DefaultTimespan.to_json())

# convert the object into a dict
default_timespan_dict = default_timespan_instance.to_dict()
# create an instance of DefaultTimespan from a dict
default_timespan_from_dict = DefaultTimespan.from_dict(default_timespan_dict)

[Back to Model list] [Back to API list] [Back to README]