Skip to content

SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest

Bases: OCIRequest

Request to get the list of Peer SIP Connection system parameters The response is a SystemGeographicRedundancyPeerSipConnectionMonitoringGetResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest(OCIRequest):
    """Request to get the list of Peer SIP Connection system parameters
        The response is a SystemGeographicRedundancyPeerSipConnectionMonitoringGetResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest. Contains a list of Peer SIP Connection Monitoring system parameters.

Attributes:

enabled (bool):

heartbeat_interval (int):

heartbeat_timeout (int):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemGeographicRedundancyPeerSipConnectionMonitoringGetResponse(OCIDataResponse):
    """Response to SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest.
        Contains a list of Peer SIP Connection Monitoring system parameters.

    Attributes:

        enabled (bool):

        heartbeat_interval (int):

        heartbeat_timeout (int):

    """

    enabled: bool = field(metadata={"alias": "enabled"})

    heartbeat_interval: int = field(metadata={"alias": "heartbeatInterval"})

    heartbeat_timeout: int = field(metadata={"alias": "heartbeatTimeout"})

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest

client = Client()

command = SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemGeographicRedundancyPeerSipConnectionMonitoringGetRequest")

print(response)