Skip to content

SystemThirdPartyVoiceMailSupportModifyRequest

Bases: OCIRequest

Modify the system level data associated with Third-party Voice Mail Support. The response is either a SuccessResponse or an ErrorResponse.

The following elements are only used in AS data mode:
  stripDiversionOnVMDestinationRetrieval

Attributes:

override_alt_caller_id_for_vm_retrieval (Optional[bool]):

strip_diversion_on_vm_destination_retrieval (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemThirdPartyVoiceMailSupportModifyRequest(OCIRequest):
    """Modify the system level data associated with Third-party Voice Mail Support.
        The response is either a SuccessResponse or an ErrorResponse.

        The following elements are only used in AS data mode:
          stripDiversionOnVMDestinationRetrieval

    Attributes:

        override_alt_caller_id_for_vm_retrieval (Optional[bool]):

        strip_diversion_on_vm_destination_retrieval (Optional[bool]):

    """

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

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

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 SystemThirdPartyVoiceMailSupportModifyRequest

client = Client()

command = SystemThirdPartyVoiceMailSupportModifyRequest(
    override_alt_caller_id_for_vm_retrieval=...,
    strip_diversion_on_vm_destination_retrieval=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemThirdPartyVoiceMailSupportModifyRequest",
    override_alt_caller_id_for_vm_retrieval=...,
    strip_diversion_on_vm_destination_retrieval=...,
)

print(response)