Skip to content

SystemPhoneListsModifyRequest

Bases: OCIRequest

Modify system phone list settings.

Attributes:

allow_special_numbers_in_phone_lists (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemPhoneListsModifyRequest(OCIRequest):
    """Modify system phone list settings.

    Attributes:

        allow_special_numbers_in_phone_lists (Optional[bool]):

    """

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

Responses

:: mercury_ocip_fast.commands.base_command.ErrorResponse

:: mercury_ocip_fast.commands.base_command.SuccessResponse

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemPhoneListsModifyRequest

client = Client()

command = SystemPhoneListsModifyRequest(
    allow_special_numbers_in_phone_lists=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemPhoneListsModifyRequest",
    allow_special_numbers_in_phone_lists=...,
)

print(response)