UserCallForwardingSelectiveGetCriteriaRequest21
Bases: OCIRequest
Get a criteria for the user's call forwarding selective service. The response is either a UserCallForwardingSelectiveGetCriteriaResponse21 or an ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the UserCallForwardingSelectiveGetCriteriaRequest21.
Attributes:
time_schedule (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
forward_to_number_selection (str):
forward_to_phone_number (Optional[str]):
from_dn_criteria (CriteriaFromDn):
call_to_number (Optional[List[CallToNumber]]):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallForwardingSelectiveGetCriteriaRequest21
client = Client()
command = UserCallForwardingSelectiveGetCriteriaRequest21(
user_id=...,
criteria_name=...,
)
response = client.command(command)
print(response)