Skip to content

SystemSIPDeviceTypeLanguageMappingGetListRequest

Bases: OCIRequest

Request to get the list of device language names mapped to BroadWorks language names, per-device type. The response is either SystemSIPDeviceTypeLanguageMappingGetListResponse or ErrorResponse.

Attributes:

device_type (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSIPDeviceTypeLanguageMappingGetListRequest(OCIRequest):
    """Request to get the list of device language names mapped to BroadWorks language names, per-device type.
        The response is either SystemSIPDeviceTypeLanguageMappingGetListResponse or ErrorResponse.

    Attributes:

        device_type (str):

    """

    device_type: str = field(metadata={"alias": "deviceType"})

Responses

Bases: OCIDataResponse

Response to SystemSIPDeviceTypeLanguageMappingGetListRequest. Contains a table of device type languages mapped to equivalent BroadWorks languages. The column headings are: "BroadWorks Language", "Device Language".

Attributes:

device_type_languages_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemSIPDeviceTypeLanguageMappingGetListResponse(OCIDataResponse):
    """Response to SystemSIPDeviceTypeLanguageMappingGetListRequest.
        Contains a table of device type languages mapped to equivalent BroadWorks languages.
        The column headings are: \"BroadWorks Language\", \"Device Language\".

    Attributes:

        device_type_languages_table (OCITable):

    """

    device_type_languages_table: OCITable = field(
        metadata={"alias": "deviceTypeLanguagesTable"}
    )

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 SystemSIPDeviceTypeLanguageMappingGetListRequest

client = Client()

command = SystemSIPDeviceTypeLanguageMappingGetListRequest(
    device_type=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemSIPDeviceTypeLanguageMappingGetListRequest",
    device_type=...,
)

print(response)