UserSelectiveCallRejectionGetCriteriaRequest21
Bases: OCIRequest
Get a criteria for the user's selective call rejection service. The response is either a UserSelectiveCallRejectionGetCriteriaResponse21 or an ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the UserSelectiveCallRejectionGetCriteriaRequest21. Private Phone Numbers are omitted from the fromDnCriteria.
Attributes:
time_schedule (Optional[TimeSchedule]):
from_dn_criteria (SelectiveCallRejectionCriteriaCallType):
blacklisted (bool):
holiday_schedule (Optional[HolidaySchedule]):
private (bool):
call_to_number (Optional[List[CallToNumber]]):
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 UserSelectiveCallRejectionGetCriteriaRequest21
client = Client()
command = UserSelectiveCallRejectionGetCriteriaRequest21(
user_id=...,
criteria_name=...,
)
response = client.command(command)
print(response)