UserPriorityAlertModifyCriteriaRequest
Bases: OCIRequest
Modify a criteria for the user's priority alert service. The following elements are only used in AS data mode: callToNumberList
For the callToNumbers in the callToNumberList, 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):
new_criteria_name (Optional[str]):
time_schedule (Optional[Nillable[TimeSchedule]]):
from_dn_criteria (Optional[PriorityAlertCriteriaFromDnModify]):
holiday_schedule (Optional[Nillable[HolidaySchedule]]):
blacklisted (Optional[bool]):
call_to_number_list (Optional[Nillable[ReplacementCallToNumberList]]):
Source code in src/mercury_ocip_fast/commands/commands.py
113156 113157 113158 113159 113160 113161 113162 113163 113164 113165 113166 113167 113168 113169 113170 113171 113172 113173 113174 113175 113176 113177 113178 113179 113180 113181 113182 113183 113184 113185 113186 113187 113188 113189 113190 113191 113192 113193 113194 113195 113196 113197 113198 113199 113200 113201 113202 113203 113204 113205 113206 113207 113208 113209 113210 113211 113212 113213 113214 113215 113216 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserPriorityAlertModifyCriteriaRequest
client = Client()
command = UserPriorityAlertModifyCriteriaRequest(
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("UserPriorityAlertModifyCriteriaRequest",
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
print(response)