mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-09-19 16:13:55 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.2 KiB
1.2 KiB
DashboardScheduleTimespan
Amount of historical data to include in each scheduled snapshot.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| n | int | Number of time units in the snapshot data range. | |
| period | DashboardScheduleTimespanPeriod |
Example
from thousandeyes_sdk.dashboards.models.dashboard_schedule_timespan import DashboardScheduleTimespan
# TODO update the JSON string below
json = "{}"
# create an instance of DashboardScheduleTimespan from a JSON string
dashboard_schedule_timespan_instance = DashboardScheduleTimespan.from_json(json)
# print the JSON string representation of the object
print(DashboardScheduleTimespan.to_json())
# convert the object into a dict
dashboard_schedule_timespan_dict = dashboard_schedule_timespan_instance.to_dict()
# create an instance of DashboardScheduleTimespan from a dict
dashboard_schedule_timespan_from_dict = DashboardScheduleTimespan.from_dict(dashboard_schedule_timespan_dict)