Skip to content

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_fast/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: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

Bases: OCIResponse

Source 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 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_fast.client import Client

client = Client()

response = client.raw_command("SystemEnterpriseTrunkModifyRequest",
    enable_holdover_of_highwater_call_counts=...,
    holdover_period=...,
    time_zone_offset_minutes=...,
)

print(response)