GroupTrunkGroupModifyRequest14sp9
Bases: OCIRequest
Modify the maximum and bursting maximum permissible active Trunk Group calls for the group. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
max_active_calls (Optional[int]):
bursting_max_active_calls (Optional[UnboundedNonNegativeInt]):
number_of_bursting_btl_us (Optional[int]):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class GroupTrunkGroupModifyRequest14sp9(OCIRequest):
"""Modify the maximum and bursting maximum permissible active Trunk Group calls for the group.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
max_active_calls (Optional[int]):
bursting_max_active_calls (Optional[UnboundedNonNegativeInt]):
number_of_bursting_btl_us (Optional[int]):
"""
service_provider_id: str = field(metadata={"alias": "serviceProviderId"})
group_id: str = field(metadata={"alias": "groupId"})
max_active_calls: Optional[int] = field(
default=None, metadata={"alias": "maxActiveCalls"}
)
bursting_max_active_calls: Optional[UnboundedNonNegativeInt] = field(
default=None, metadata={"alias": "burstingMaxActiveCalls"}
)
number_of_bursting_btl_us: Optional[int] = field(
default=None, metadata={"alias": "numberOfBurstingBTLUs"}
)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupTrunkGroupModifyRequest14sp9
client = Client()
command = GroupTrunkGroupModifyRequest14sp9(
service_provider_id=...,
group_id=...,
max_active_calls=...,
bursting_max_active_calls=...,
number_of_bursting_btl_us=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupTrunkGroupModifyRequest14sp9",
service_provider_id=...,
group_id=...,
max_active_calls=...,
bursting_max_active_calls=...,
number_of_bursting_btl_us=...,
)
print(response)