UserCommunicationBarringAuthorizationCodeGetListRequest
Bases: OCIRequest
Get a list of Communication Barring Authorization Code for a user. The response is either a UserCommunicationBarringAuthorizationCodeGetListResponse or an ErorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserCommunicationBarringAuthorizationCodeGetListRequest. Contains a list of Communication Barring Authorization Codes assigned to the user.
Attributes:
code (Optional[List[CommunicationBarringAuthorizationCodeEntry]]):
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 UserCommunicationBarringAuthorizationCodeGetListRequest
client = Client()
command = UserCommunicationBarringAuthorizationCodeGetListRequest(
user_id=...,
)
response = client.command(command)
print(response)