Skip to content

SystemNotificationOfReachabilityParametersGetRequest

Bases: OCIRequest

Request to get the system Notification of Reachability parameters. The response is either SystemNotificationOfReachabilityParametersGetResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemNotificationOfReachabilityParametersGetRequest(OCIRequest):
    """Request to get the system Notification of Reachability parameters.
        The response is either SystemNotificationOfReachabilityParametersGetResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemNotificationOfReachabilityParametersGetRequest. Contains the system Notification of Reachability parameters.

Attributes:

enable_no_r (bool):

always_send_third_party_v_mfor_unreachable (bool):

disable_fa_cfor_third_party_voice_mail (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemNotificationOfReachabilityParametersGetResponse(OCIDataResponse):
    """Response to SystemNotificationOfReachabilityParametersGetRequest.
        Contains the system Notification of Reachability parameters.

    Attributes:

        enable_no_r (bool):

        always_send_third_party_v_mfor_unreachable (bool):

        disable_fa_cfor_third_party_voice_mail (bool):

    """

    enable_no_r: bool = field(metadata={"alias": "enableNoR"})

    always_send_third_party_v_mfor_unreachable: bool = field(
        metadata={"alias": "alwaysSendThirdPartyVMforUnreachable"}
    )

    disable_fa_cfor_third_party_voice_mail: bool = field(
        metadata={"alias": "disableFACforThirdPartyVoiceMail"}
    )

Bases: OCIResponse

Source 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 SystemNotificationOfReachabilityParametersGetRequest

client = Client()

command = SystemNotificationOfReachabilityParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemNotificationOfReachabilityParametersGetRequest")

print(response)