UserPrivacyModifyRequest
Bases: OCIRequest
Modify the user level data associated with Privacy. This command is supported for regular users only. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
user_id (str):
enable_directory_privacy (Optional[bool]):
enable_auto_attendant_extension_dialing_privacy (Optional[bool]):
enable_auto_attendant_name_dialing_privacy (Optional[bool]):
enable_phone_status_privacy (Optional[bool]):
permitted_monitor_user_id_list (Optional[Nillable[ReplacementUserIdList]]):
Source code in src/mercury_ocip_fast/commands/commands.py
113305 113306 113307 113308 113309 113310 113311 113312 113313 113314 113315 113316 113317 113318 113319 113320 113321 113322 113323 113324 113325 113326 113327 113328 113329 113330 113331 113332 113333 113334 113335 113336 113337 113338 113339 113340 113341 113342 113343 113344 113345 113346 113347 113348 113349 113350 113351 113352 113353 113354 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserPrivacyModifyRequest
client = Client()
command = UserPrivacyModifyRequest(
user_id=...,
enable_directory_privacy=...,
enable_auto_attendant_extension_dialing_privacy=...,
enable_auto_attendant_name_dialing_privacy=...,
enable_phone_status_privacy=...,
permitted_monitor_user_id_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("UserPrivacyModifyRequest",
user_id=...,
enable_directory_privacy=...,
enable_auto_attendant_extension_dialing_privacy=...,
enable_auto_attendant_name_dialing_privacy=...,
enable_phone_status_privacy=...,
permitted_monitor_user_id_list=...,
)
print(response)