Skip to content

SystemThirdPartyVoiceMailSupportGetDnListRequest

Bases: OCIRequest

Request to get a list of ThirdPartyVoiceMailSupport User DN's defined in the system. The response is either a SystemThirdPartyVoiceMailSupportGetDnListResponse or an ErrorResponse. The search can be done using multiple criterion.

Attributes:

response_size_limit (Optional[int]):

search_criteria_system_service_dn (Optional[List[SearchCriteriaSystemServiceDn]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemThirdPartyVoiceMailSupportGetDnListRequest(OCIRequest):
    """Request to get a list of ThirdPartyVoiceMailSupport User DN's defined in the system.
       The response is either a SystemThirdPartyVoiceMailSupportGetDnListResponse or an ErrorResponse.
       The search can be done using multiple criterion.

    Attributes:

        response_size_limit (Optional[int]):

        search_criteria_system_service_dn (Optional[List[SearchCriteriaSystemServiceDn]]):

    """

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

    search_criteria_system_service_dn: Optional[List[SearchCriteriaSystemServiceDn]] = (
        field(default=None, metadata={"alias": "searchCriteriaSystemServiceDn"})
    )

Responses

Bases: OCIDataResponse

Response to SystemThirdPartyVoiceMailSupportGetDnListRequest. Contains a table with a row for each ThirdPartyVoiceMailSupport User DN and column headings: "Phone Number", "Description"

Attributes:

third_party_voice_mail_support_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemThirdPartyVoiceMailSupportGetDnListResponse(OCIDataResponse):
    """Response to SystemThirdPartyVoiceMailSupportGetDnListRequest.
       Contains a table with a row for each ThirdPartyVoiceMailSupport User DN and column headings:
       \"Phone Number\", \"Description\"

    Attributes:

        third_party_voice_mail_support_table (OCITable):

    """

    third_party_voice_mail_support_table: OCITable = field(
        metadata={"alias": "thirdPartyVoiceMailSupportTable"}
    )

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 SystemThirdPartyVoiceMailSupportGetDnListRequest

client = Client()

command = SystemThirdPartyVoiceMailSupportGetDnListRequest(
    response_size_limit=...,
    search_criteria_system_service_dn=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemThirdPartyVoiceMailSupportGetDnListRequest",
    response_size_limit=...,
    search_criteria_system_service_dn=...,
)

print(response)