GroupCallCapacityManagementAddInstanceRequest
Bases: OCIRequest
Adds a Call Capacity Management group. The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
name (str):
max_active_calls_allowed (int):
max_incoming_active_calls_allowed (Optional[int]):
max_outgoing_active_calls_allowed (Optional[int]):
become_default_group_for_new_users (bool):
user_id (Optional[List[str]]):
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 GroupCallCapacityManagementAddInstanceRequest
client = Client()
command = GroupCallCapacityManagementAddInstanceRequest(
service_provider_id=...,
group_id=...,
name=...,
max_active_calls_allowed=...,
max_incoming_active_calls_allowed=...,
max_outgoing_active_calls_allowed=...,
become_default_group_for_new_users=...,
user_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupCallCapacityManagementAddInstanceRequest",
service_provider_id=...,
group_id=...,
name=...,
max_active_calls_allowed=...,
max_incoming_active_calls_allowed=...,
max_outgoing_active_calls_allowed=...,
become_default_group_for_new_users=...,
user_id=...,
)
print(response)