UserPriorityAlertAddCriteriaRequest16
Bases: OCIRequest
Add a criteria to the user's priority alert service. The following elements are only used in AS data mode: callToNumber
For the callToNumber, the extension element is not used and the number element is only used when the type is BroadWorks Mobility.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
time_schedule (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
blacklisted (bool):
from_dn_criteria (PriorityAlertCriteriaFromDn):
call_to_number (Optional[List[CallToNumber]]):
Source code in src/mercury_ocip_fast/commands/commands.py
113036 113037 113038 113039 113040 113041 113042 113043 113044 113045 113046 113047 113048 113049 113050 113051 113052 113053 113054 113055 113056 113057 113058 113059 113060 113061 113062 113063 113064 113065 113066 113067 113068 113069 113070 113071 113072 113073 113074 113075 113076 113077 113078 113079 113080 113081 113082 113083 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserPriorityAlertAddCriteriaRequest16
client = Client()
command = UserPriorityAlertAddCriteriaRequest16(
user_id=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
blacklisted=...,
from_dn_criteria=...,
call_to_number=...,
)
response = client.command(command)
print(response)