UserOutgoingCallingPlanSustainedAuthorizationCodeGetRequest
Bases: OCIRequest
Request the sustained authorization code setting for a user. The response is either a UserOutgoingCallingPlanSustainedAuthorizationCodeGetResponse or an ErrorResponse. Engineering Note: This command is used internally by Call Processing.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserOutgoingCallingPlanAuthorizationCodeGetRequest.
Attributes:
code (Optional[str]):
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 UserOutgoingCallingPlanSustainedAuthorizationCodeGetRequest
client = Client()
command = UserOutgoingCallingPlanSustainedAuthorizationCodeGetRequest(
user_id=...,
)
response = client.command(command)
print(response)