GroupScheduleModifyEventRequest
Bases: OCIRequest
Modify an event of a group schedule. The response is either a SuccessResponse or an ErrorResponse. The startDate element is adjusted to the first occurrence of the recurrent schedule that comes at or after the startDate. The endDate element is set to the sum of the adjusted starDate element value and the event duration.
Attributes:
service_provider_id (str):
group_id (str):
schedule_key (ScheduleKey):
event_name (str):
new_event_name (Optional[str]):
start_date (Optional[int]):
all_day_event (Optional[bool]):
start_time (Optional[HourMinute]):
end_time (Optional[HourMinute]):
end_date (Optional[int]):
recurrence (Optional[Nillable[Recurrence]]):
Source code in src/mercury_ocip_fast/commands/commands.py
55780 55781 55782 55783 55784 55785 55786 55787 55788 55789 55790 55791 55792 55793 55794 55795 55796 55797 55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809 55810 55811 55812 55813 55814 55815 55816 55817 55818 55819 55820 55821 55822 55823 55824 55825 55826 55827 55828 55829 55830 55831 55832 55833 55834 55835 55836 55837 55838 55839 55840 55841 55842 55843 55844 55845 55846 55847 55848 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupScheduleModifyEventRequest
client = Client()
command = GroupScheduleModifyEventRequest(
service_provider_id=...,
group_id=...,
schedule_key=...,
event_name=...,
new_event_name=...,
start_date=...,
all_day_event=...,
start_time=...,
end_time=...,
end_date=...,
recurrence=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupScheduleModifyEventRequest",
service_provider_id=...,
group_id=...,
schedule_key=...,
event_name=...,
new_event_name=...,
start_date=...,
all_day_event=...,
start_time=...,
end_time=...,
end_date=...,
recurrence=...,
)
print(response)