mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
1.2 KiB
1.2 KiB
ScheduledJob
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| cron | str | ||
| current_session_id | str | [optional] | |
| currently_running | bool | [optional] | |
| execution_mode | str | [optional] | |
| id | str | ||
| last_run | datetime | [optional] | |
| paused | bool | [optional] | |
| process_start_time | datetime | [optional] | |
| source | str |
Example
from goose_api.models.scheduled_job import ScheduledJob
# TODO update the JSON string below
json = "{}"
# create an instance of ScheduledJob from a JSON string
scheduled_job_instance = ScheduledJob.from_json(json)
# print the JSON string representation of the object
print(ScheduledJob.to_json())
# convert the object into a dict
scheduled_job_dict = scheduled_job_instance.to_dict()
# create an instance of ScheduledJob from a dict
scheduled_job_from_dict = ScheduledJob.from_dict(scheduled_job_dict)