UserGroupNightForwardingGetRequest
Bases: OCIRequest
Request to get the Group Night Forwarding user parameters. The response is either UserGroupNightForwardingGetResponse or ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserGroupNightForwardingGetRequest. businessHours and holidaySchedule are returned in the response only when groupNightForwarding is ‘Auto On’.
Attributes:
night_forwarding (str):
group_night_forwarding (str):
business_hours (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserGroupNightForwardingGetRequest
client = Client()
command = UserGroupNightForwardingGetRequest(
user_id=...,
)
response = client.command(command)
print(response)