Skip to content

SystemMGCPDeviceTypeGetListRequest

Bases: OCIRequest

Request to get the list of mgcp device types in the system. See Also: SystemDeviceTypeGetAvailableListRequest14sp3. The response is either SystemMGCPDeviceTypeGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemMGCPDeviceTypeGetListRequest(OCIRequest):
    """Request to get the list of mgcp device types in the system.
        See Also: SystemDeviceTypeGetAvailableListRequest14sp3.
        The response is either SystemMGCPDeviceTypeGetListResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemMGCPDeviceTypeGetListRequest. Contains a table of identity/ device profile types configured in the system. The column headings are: "Device Type", "Profile", "Is Obsolete".

Attributes:

device_type_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemMGCPDeviceTypeGetListResponse(OCIDataResponse):
    """Response to SystemMGCPDeviceTypeGetListRequest.
        Contains a table of identity/ device profile types configured in the system.
        The column headings are: \"Device Type\", \"Profile\", \"Is Obsolete\".

    Attributes:

        device_type_table (OCITable):

    """

    device_type_table: OCITable = field(metadata={"alias": "deviceTypeTable"})

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 SystemMGCPDeviceTypeGetListRequest

client = Client()

command = SystemMGCPDeviceTypeGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemMGCPDeviceTypeGetListRequest")

print(response)