Skip to content

CommPilotExpressRedirectionWithException

Bases: OCIType

CommPilot Express type to transfer to voice mail or forward to a number with certain exceptions used in the context of a get.

Attributes:

send_calls_to_voice_mail_except_excluded_numbers (bool):

excluded_phone_number01 (Optional[str]):

excluded_phone_number02 (Optional[str]):

excluded_phone_number03 (Optional[str]):

forward_excluded_numbers_to (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class CommPilotExpressRedirectionWithException(OCIType):
    """CommPilot Express type to transfer to voice mail or forward to a number
        with certain exceptions used in the context of a get.

    Attributes:

        send_calls_to_voice_mail_except_excluded_numbers (bool):

        excluded_phone_number01 (Optional[str]):

        excluded_phone_number02 (Optional[str]):

        excluded_phone_number03 (Optional[str]):

        forward_excluded_numbers_to (Optional[str]):

    """

    send_calls_to_voice_mail_except_excluded_numbers: bool = field(
        metadata={"alias": "sendCallsToVoiceMailExceptExcludedNumbers"}
    )

    excluded_phone_number01: Optional[str] = field(
        default=None, metadata={"alias": "excludedPhoneNumber01"}
    )

    excluded_phone_number02: Optional[str] = field(
        default=None, metadata={"alias": "excludedPhoneNumber02"}
    )

    excluded_phone_number03: Optional[str] = field(
        default=None, metadata={"alias": "excludedPhoneNumber03"}
    )

    forward_excluded_numbers_to: Optional[str] = field(
        default=None, metadata={"alias": "forwardExcludedNumbersTo"}
    )