Skip to content

SystemAccessDeviceTypeGetListRequest

Bases: OCIRequest

Requests the list of access device types. The response is either SystemAccessDeviceTypeGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemAccessDeviceTypeGetListRequest(OCIRequest):
    """Requests the list of access device types.
        The response is either SystemAccessDeviceTypeGetListResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemAccessDeviceTypeGetListRequest.

Attributes:

device_type (List[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemAccessDeviceTypeGetListResponse(OCIDataResponse):
    """Response to SystemAccessDeviceTypeGetListRequest.

    Attributes:

        device_type (List[str]):

    """

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

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 SystemAccessDeviceTypeGetListRequest

client = Client()

command = SystemAccessDeviceTypeGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemAccessDeviceTypeGetListRequest")

print(response)