UserDnGetActivationListRequest
Bases: OCIRequest
Request to get a list of DNs associated with a user and their activation state. The response is either UserDnGetActivationListResponse or ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserDnGetActivationListRequest. The response contains a table with columns: "Phone Number", and "Activated". The "Phone Number" column contains a single DN. The "Activated" column indicates if the phone number is activated or not.
Attributes:
dn_table (OCITable):
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 UserDnGetActivationListRequest
client = Client()
command = UserDnGetActivationListRequest(
user_id=...,
)
response = client.command(command)
print(response)