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.6 KiB
1.6 KiB
DashboardScheduleCronSpec
Cron-style recurrence specification for a dashboard snapshot schedule.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| start_time | int | Schedule start time as a Unix timestamp in seconds. | |
| zone_code | str | An IANA time zone identifier used to interpret `startTime` and recurrence. For example, `America/Los_Angeles`. | |
| repeat | DashboardScheduleCustomRepeatType | ||
| end_repeat | DashboardScheduleEndCondition | [optional] | |
| custom_repeat | DashboardScheduleCustomRepeat |
Example
from thousandeyes_sdk.dashboards.models.dashboard_schedule_cron_spec import DashboardScheduleCronSpec
# TODO update the JSON string below
json = "{}"
# create an instance of DashboardScheduleCronSpec from a JSON string
dashboard_schedule_cron_spec_instance = DashboardScheduleCronSpec.from_json(json)
# print the JSON string representation of the object
print(DashboardScheduleCronSpec.to_json())
# convert the object into a dict
dashboard_schedule_cron_spec_dict = dashboard_schedule_cron_spec_instance.to_dict()
# create an instance of DashboardScheduleCronSpec from a dict
dashboard_schedule_cron_spec_from_dict = DashboardScheduleCronSpec.from_dict(dashboard_schedule_cron_spec_dict)