UserDoNotDisturbGetRequest
Bases: OCIRequest
Request the user level data associated with Do Not Disturb. The response is either a UserDoNotDisturbGetResponse or an ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserDoNotDisturbGetRequest.
Attributes:
is_active (bool):
ring_splash (bool):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserDoNotDisturbGetRequest
client = Client()
command = UserDoNotDisturbGetRequest(
user_id=...,
)
response = client.command(command)
print(response)