SystemScheduleGetEventRequest
Bases: OCIRequest
Get an event from a system schedule. The response is either a SystemScheduleGetEventResponse or an ErrorResponse.
Attributes:
schedule_key (ScheduleKey):
event_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to SystemScheduleGetEventRequest. The response contains the event of the system schedulable.
Attributes:
start_date (int):
all_day_event (Optional[bool]):
start_time (Optional[HourMinute]):
end_time (Optional[HourMinute]):
end_date (int):
recurrence (Optional[Recurrence]):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemScheduleGetEventRequest
client = Client()
command = SystemScheduleGetEventRequest(
schedule_key=...,
event_name=...,
)
response = client.command(command)
print(response)