SystemOCICallControlApplicationAddRequest22
Bases: OCIRequest
Add an application to the OCI call control application list. The response is either SuccessResponse or ErrorResponse.
Attributes:
application_id (str):
enable_system_wide (bool):
notification_timeout_seconds (int):
description (Optional[str]):
max_event_channels_per_set (int):
unresponsive_channel_set_grace_period_seconds (int):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemOCICallControlApplicationAddRequest22
client = Client()
command = SystemOCICallControlApplicationAddRequest22(
application_id=...,
enable_system_wide=...,
notification_timeout_seconds=...,
description=...,
max_event_channels_per_set=...,
unresponsive_channel_set_grace_period_seconds=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemOCICallControlApplicationAddRequest22",
application_id=...,
enable_system_wide=...,
notification_timeout_seconds=...,
description=...,
max_event_channels_per_set=...,
unresponsive_channel_set_grace_period_seconds=...,
)
print(response)