ServiceProviderExtensionLengthGetRequest
Bases: OCIRequest
Request the service provider's extension length. The response is either a ServiceProviderExtensionLengthGetResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to ServiceProviderExtensionLengthGetRequest.
Attributes:
default_extension_length (Optional[int]):
location_routing_prefix_digit (Optional[int]):
location_code_length (Optional[int]):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import ServiceProviderExtensionLengthGetRequest
client = Client()
command = ServiceProviderExtensionLengthGetRequest(
service_provider_id=...,
)
response = client.command(command)
print(response)