UserDirectRouteGetRequest
Bases: OCIRequest
Get the direct route setting and the list of DTGs/Trunk Identities assigned to a user. The response is either UserDirectRouteGetResponse or ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserDirectRouteGetRequest. Contains the direct route setting and the list of DTGs/Trunk Identities assigned to a user.
Attributes:
outgoing_dtg_policy (str):
outgoing_trunk_identity_policy (str):
direct_route_identity_list (Optional[DirectRouteIdentifiers]):
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 UserDirectRouteGetRequest
client = Client()
command = UserDirectRouteGetRequest(
user_id=...,
)
response = client.command(command)
print(response)