Defines the schedule for automatic downloading and updates, including timing and optional timeout.
| Name | Type | Description | Notes |
|---|---|---|---|
| time_zone | str | Time zone identifiers follow the IANA format AREA/LOCATION, where AREA represents a continent or ocean, and LOCATION specifies a particular site within that area, for example America/New_York, Europe/Paris. Only unambiguous 3-character time zones are supported ("GMT", "UTC"). | [optional] [default to 'Local'] |
| at | str | Cron expression format for scheduling times. The format is `* * * * `: - Minutes: `` matches 0-59. - Hours: `` matches 0-23. - Day of Month: `` matches 1-31. - Month: `` matches 1-12. - Day of Week: `` matches 0-6. Supported operators: - ``: Matches any value (e.g., `` in hours matches every hour). - `-`: Range (e.g., `0-8` for 12 AM to 8 AM). - `,`: List (e.g., `1,12` for 1st and 12th minute). - `/`: Step (e.g., `/12` for every 12th minute). - Single value (e.g., `8` matches the 8th minute). Example: ` 0-8,16-23 * * *`. | |
| start_grace_duration | str | The maximum duration allowed for the action to complete. The duration should be specified as a positive integer followed by a time unit. Supported time units are: `s` for seconds, `m` for minutes, `h` for hours. |
from flightctl.models.update_schedule import UpdateSchedule
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateSchedule from a JSON string
update_schedule_instance = UpdateSchedule.from_json(json)
# print the JSON string representation of the object
print(UpdateSchedule.to_json())
# convert the object into a dict
update_schedule_dict = update_schedule_instance.to_dict()
# create an instance of UpdateSchedule from a dict
update_schedule_from_dict = UpdateSchedule.from_dict(update_schedule_dict)