EnterpriseVoiceVPNModifyPolicyRequest
Bases: OCIRequest
Modify the enterprise level data associated with a Voice VPN location code. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
location_dialing_code (str):
min_extension_length (Optional[int]):
max_extension_length (Optional[int]):
description (Optional[Nillable[str]]):
route_group_id (Optional[str]):
policy_selection (Optional[str]):
digit_manipulation (Optional[List[EnterpriseVoiceVPNDigitManipulation]]):
treatment_id (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
30811 30812 30813 30814 30815 30816 30817 30818 30819 30820 30821 30822 30823 30824 30825 30826 30827 30828 30829 30830 30831 30832 30833 30834 30835 30836 30837 30838 30839 30840 30841 30842 30843 30844 30845 30846 30847 30848 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 30859 30860 30861 30862 30863 30864 30865 30866 30867 30868 30869 30870 30871 30872 30873 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import EnterpriseVoiceVPNModifyPolicyRequest
client = Client()
command = EnterpriseVoiceVPNModifyPolicyRequest(
service_provider_id=...,
location_dialing_code=...,
min_extension_length=...,
max_extension_length=...,
description=...,
route_group_id=...,
policy_selection=...,
digit_manipulation=...,
treatment_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("EnterpriseVoiceVPNModifyPolicyRequest",
service_provider_id=...,
location_dialing_code=...,
min_extension_length=...,
max_extension_length=...,
description=...,
route_group_id=...,
policy_selection=...,
digit_manipulation=...,
treatment_id=...,
)
print(response)