UserBroadWorksMobilityModifyRequest21
Bases: OCIRequest
Modify the user's BroadWorks Mobility service settings. The response is either a SuccessResponse or an ErrorResponse.
The isActive, useMobileIdentityCallAnchoring, and preventCallsToOwnMobiles parameters can be modified by users with Group Authorization Level and above.
The mobileIdentity, profileIdentityDevicesToRing, rofileIdentityIncludeSharedCallAppearance, profileIdentityIncludeBroadworksAnywhere mobileIdentity and profileIdentityMobilityNumbersAlerted parameters can be modified by users with User Authorization Level and above when the BroadWorks Mobility service is turned on.
Attributes:
user_id (str):
is_active (Optional[bool]):
use_mobile_identity_call_anchoring (Optional[bool]):
prevent_calls_to_own_mobiles (Optional[bool]):
mobile_identity (Optional[List[BroadWorksMobilityUserMobileIdentityModifyEntry]]):
profile_identity_devices_to_ring (Optional[str]):
profile_identity_include_shared_call_appearance (Optional[bool]):
profile_identity_include_broadworks_anywhere (Optional[bool]):
profile_identity_include_executive_assistant (Optional[bool]):
profile_identity_mobility_numbers_alerted (Optional[Nillable[BroadWorksMobilityAlertingMobileNumberReplacementList]]):
Source code in src/mercury_ocip/commands/commands.py
102027 102028 102029 102030 102031 102032 102033 102034 102035 102036 102037 102038 102039 102040 102041 102042 102043 102044 102045 102046 102047 102048 102049 102050 102051 102052 102053 102054 102055 102056 102057 102058 102059 102060 102061 102062 102063 102064 102065 102066 102067 102068 102069 102070 102071 102072 102073 102074 102075 102076 102077 102078 102079 102080 102081 102082 102083 102084 102085 102086 102087 102088 102089 102090 102091 102092 102093 102094 102095 102096 102097 102098 102099 102100 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserBroadWorksMobilityModifyRequest21
client = Client()
command = UserBroadWorksMobilityModifyRequest21(
user_id=...,
is_active=...,
use_mobile_identity_call_anchoring=...,
prevent_calls_to_own_mobiles=...,
mobile_identity=...,
profile_identity_devices_to_ring=...,
profile_identity_include_shared_call_appearance=...,
profile_identity_include_broadworks_anywhere=...,
profile_identity_include_executive_assistant=...,
profile_identity_mobility_numbers_alerted=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserBroadWorksMobilityModifyRequest21",
user_id=...,
is_active=...,
use_mobile_identity_call_anchoring=...,
prevent_calls_to_own_mobiles=...,
mobile_identity=...,
profile_identity_devices_to_ring=...,
profile_identity_include_shared_call_appearance=...,
profile_identity_include_broadworks_anywhere=...,
profile_identity_include_executive_assistant=...,
profile_identity_mobility_numbers_alerted=...,
)
print(response)