Skip to content

SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest

Bases: OCIRequest

Request a list of system voice portals that have a given Network Class of Service assigned. The response is either a SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListResponse or ErrorResponse.

Attributes:

name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest(OCIRequest):
    """Request a list of system voice portals that have a given Network Class
        of Service assigned.
        The response is either a
        SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListResponse or
        ErrorResponse.

    Attributes:

        name (str):

    """

    name: str = field(metadata={"alias": "name"})

Responses

Bases: OCIDataResponse

Response to the SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest. The response contains a table of system voice portals that have the given Network Class of Service assigned. The column headings are "System Voice Portal Id" and "Name".

Attributes:

system_voice_portal_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListResponse(
    OCIDataResponse
):
    """Response to the
        SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest.
        The response contains a table of system voice portals that have
        the given Network Class of Service assigned. The column headings are
        \"System Voice Portal Id\" and \"Name\".

    Attributes:

        system_voice_portal_table (OCITable):

    """

    system_voice_portal_table: OCITable = field(
        metadata={"alias": "systemVoicePortalTable"}
    )

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 SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest

client = Client()

command = SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest(
    name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemNetworkClassOfServiceGetAssignedSystemVoicePortalListRequest",
    name=...,
)

print(response)