SystemEnterpriseTrunkModifyRequest
Bases: OCIRequest
Modify the system level data associated with the Enterprise Trunk Service.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
enable_holdover_of_highwater_call_counts (Optional[bool]):
holdover_period (Optional[str]):
time_zone_offset_minutes (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemEnterpriseTrunkModifyRequest(OCIRequest):
"""Modify the system level data associated with the Enterprise Trunk Service.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
enable_holdover_of_highwater_call_counts (Optional[bool]):
holdover_period (Optional[str]):
time_zone_offset_minutes (Optional[str]):
"""
enable_holdover_of_highwater_call_counts: Optional[bool] = field(
default=None, metadata={"alias": "enableHoldoverOfHighwaterCallCounts"}
)
holdover_period: Optional[str] = field(
default=None, metadata={"alias": "holdoverPeriod"}
)
time_zone_offset_minutes: Optional[str] = field(
default=None, metadata={"alias": "timeZoneOffsetMinutes"}
)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemEnterpriseTrunkModifyRequest
client = Client()
command = SystemEnterpriseTrunkModifyRequest(
enable_holdover_of_highwater_call_counts=...,
holdover_period=...,
time_zone_offset_minutes=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemEnterpriseTrunkModifyRequest",
enable_holdover_of_highwater_call_counts=...,
holdover_period=...,
time_zone_offset_minutes=...,
)
print(response)