UserPreferredCarrierUserGetRequest
Bases: OCIRequest
Requests the currently configured preferred carriers for a user. The response is either a UserPreferredCarrierUserGetResponse or an ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to a UserPreferredCarrierUserGetRequest.
Attributes:
intra_lata_carrier (UserPreferredCarrierName):
inter_lata_carrier (UserPreferredCarrierName):
international_carrier (UserPreferredCarrierName):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserPreferredCarrierUserGetRequest
client = Client()
command = UserPreferredCarrierUserGetRequest(
user_id=...,
)
response = client.command(command)
print(response)