SystemSIPDeviceTypeLanguageMappingModifyRequest
Bases: OCIRequest
Request to modify the device language name that is mapped to a BroadWorks language name. The request can be used to map many languages. The response is either SuccessResponse or ErrorResponse.
Attributes:
device_type (str):
language_mapping (Optional[List[DeviceManagementLanguageMapping]]):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class SystemSIPDeviceTypeLanguageMappingModifyRequest(OCIRequest):
"""Request to modify the device language name that is mapped to a BroadWorks language name. The request can be used to map many languages.
The response is either SuccessResponse or ErrorResponse.
Attributes:
device_type (str):
language_mapping (Optional[List[DeviceManagementLanguageMapping]]):
"""
device_type: str = field(metadata={"alias": "deviceType"})
language_mapping: Optional[List[DeviceManagementLanguageMapping]] = field(
default=None, metadata={"alias": "languageMapping"}
)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource 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 SystemSIPDeviceTypeLanguageMappingModifyRequest
client = Client()
command = SystemSIPDeviceTypeLanguageMappingModifyRequest(
device_type=...,
language_mapping=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemSIPDeviceTypeLanguageMappingModifyRequest",
device_type=...,
language_mapping=...,
)
print(response)