Skip to content

SystemVideoServerGetListRequest

Bases: OCIRequest

Request to get a list of video servers defined in the system. The response is either a SystemVideoServerGetListResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemVideoServerGetListRequest(OCIRequest):
    """Request to get a list of video servers defined in the system.
        The response is either a SystemVideoServerGetListResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemVideoServerGetListRequest. The Video Server table column headings are: "Net Address", "Port", "Transport", "Description". Transport types: udp, tcp, unspecified

Attributes:

video_server_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemVideoServerGetListResponse(OCIDataResponse):
    """Response to SystemVideoServerGetListRequest. The Video Server table column
        headings are: \"Net Address\", \"Port\", \"Transport\", \"Description\".
        Transport types: udp, tcp, unspecified

    Attributes:

        video_server_table (OCITable):

    """

    video_server_table: OCITable = field(metadata={"alias": "videoServerTable"})

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import SystemVideoServerGetListRequest

client = Client()

command = SystemVideoServerGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemVideoServerGetListRequest")

print(response)