Skip to content

SystemNotificationOfReachabilityParametersModifyRequest

Bases: OCIRequest

Request to modify the system Notification of Reachability parameters. The response is either SuccessResponse or ErrorResponse.

Attributes:

enable_no_r (Optional[bool]):

always_send_third_party_v_mfor_unreachable (Optional[bool]):

disable_fa_cfor_third_party_voice_mail (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemNotificationOfReachabilityParametersModifyRequest(OCIRequest):
    """Request to modify the system Notification of Reachability parameters.
        The response is either SuccessResponse or ErrorResponse.

    Attributes:

        enable_no_r (Optional[bool]):

        always_send_third_party_v_mfor_unreachable (Optional[bool]):

        disable_fa_cfor_third_party_voice_mail (Optional[bool]):

    """

    enable_no_r: Optional[bool] = field(default=None, metadata={"alias": "enableNoR"})

    always_send_third_party_v_mfor_unreachable: Optional[bool] = field(
        default=None, metadata={"alias": "alwaysSendThirdPartyVMforUnreachable"}
    )

    disable_fa_cfor_third_party_voice_mail: Optional[bool] = field(
        default=None, metadata={"alias": "disableFACforThirdPartyVoiceMail"}
    )

Responses

Bases: OCIResponse

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

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 SystemNotificationOfReachabilityParametersModifyRequest

client = Client()

command = SystemNotificationOfReachabilityParametersModifyRequest(
    enable_no_r=...,
    always_send_third_party_v_mfor_unreachable=...,
    disable_fa_cfor_third_party_voice_mail=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemNotificationOfReachabilityParametersModifyRequest",
    enable_no_r=...,
    always_send_third_party_v_mfor_unreachable=...,
    disable_fa_cfor_third_party_voice_mail=...,
)

print(response)