UserAssignedServicesGetListRequest
Bases: OCIRequest
Get the list of assigned User and Group Services for the specified user. The response is either an UserAssignedServicesGetListResponse or an ErrorResponse.
Attributes:
user_id (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserAssignedServicesGetListRequest. A user can have both user services and group services because of music on hold.
Attributes:
group_service_entry (Optional[List[AssignedGroupServicesEntry]]):
user_service_entry (Optional[List[AssignedUserServicesEntry]]):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserAssignedServicesGetListRequest
client = Client()
command = UserAssignedServicesGetListRequest(
user_id=...,
)
response = client.command(command)
print(response)