ServiceProviderNumberPortabilityQueryModifyRequest
Bases: OCIRequest
Modify the Service Provider Number Portability Query information. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
enable_number_portability_query_for_outgoing_calls (Optional[bool]):
enable_number_portability_query_for_incoming_calls (Optional[bool]):
enable_number_portability_query_for_network_calls_only (Optional[bool]):
delete_digit_pattern (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderNumberPortabilityQueryModifyRequest
client = Client()
command = ServiceProviderNumberPortabilityQueryModifyRequest(
service_provider_id=...,
enable_number_portability_query_for_outgoing_calls=...,
enable_number_portability_query_for_incoming_calls=...,
enable_number_portability_query_for_network_calls_only=...,
delete_digit_pattern=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("ServiceProviderNumberPortabilityQueryModifyRequest",
service_provider_id=...,
enable_number_portability_query_for_outgoing_calls=...,
enable_number_portability_query_for_incoming_calls=...,
enable_number_portability_query_for_network_calls_only=...,
delete_digit_pattern=...,
)
print(response)