Skip to content

SystemVoiceMessageSummaryUpdateModifyRequest

Bases: OCIRequest

Modify the system level data associated with Voice Messaging. The response is either a SuccessResponse or an ErrorResponse.

Attributes:

send_saved_and_urgent_mwi_on_notification (Optional[bool]):

send_message_summary_update_on_register (Optional[bool]):

min_time_between_mwi_on_register (Optional[int]):

allow_multiple_users_per_account (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemVoiceMessageSummaryUpdateModifyRequest(OCIRequest):
    """Modify the system level data associated with Voice Messaging.
        The response is either a SuccessResponse or an ErrorResponse.

    Attributes:

        send_saved_and_urgent_mwi_on_notification (Optional[bool]):

        send_message_summary_update_on_register (Optional[bool]):

        min_time_between_mwi_on_register (Optional[int]):

        allow_multiple_users_per_account (Optional[bool]):

    """

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

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

    min_time_between_mwi_on_register: Optional[int] = field(
        default=None, metadata={"alias": "minTimeBetweenMWIOnRegister"}
    )

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

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 SystemVoiceMessageSummaryUpdateModifyRequest

client = Client()

command = SystemVoiceMessageSummaryUpdateModifyRequest(
    send_saved_and_urgent_mwi_on_notification=...,
    send_message_summary_update_on_register=...,
    min_time_between_mwi_on_register=...,
    allow_multiple_users_per_account=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemVoiceMessageSummaryUpdateModifyRequest",
    send_saved_and_urgent_mwi_on_notification=...,
    send_message_summary_update_on_register=...,
    min_time_between_mwi_on_register=...,
    allow_multiple_users_per_account=...,
)

print(response)