Skip to content

SystemVideoServerParametersGetRequest

Bases: OCIRequest

Request to get the list of video server system parameters. The response is either SystemVideoServerParametersGetResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemVideoServerParametersGetRequest(OCIRequest):
    """Request to get the list of video server system parameters.
        The response is either SystemVideoServerParametersGetResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemVideoServerParametersGetRequest. Contains a list of system video server parameters.

Attributes:

video_server_response_timer_milliseconds (int):

video_server_selection_route_timer_milliseconds (int):

use_static_video_server_device (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemVideoServerParametersGetResponse(OCIDataResponse):
    """Response to SystemVideoServerParametersGetRequest.
        Contains a list of system video server parameters.

    Attributes:

        video_server_response_timer_milliseconds (int):

        video_server_selection_route_timer_milliseconds (int):

        use_static_video_server_device (bool):

    """

    video_server_response_timer_milliseconds: int = field(
        metadata={"alias": "videoServerResponseTimerMilliseconds"}
    )

    video_server_selection_route_timer_milliseconds: int = field(
        metadata={"alias": "videoServerSelectionRouteTimerMilliseconds"}
    )

    use_static_video_server_device: bool = field(
        metadata={"alias": "useStaticVideoServerDevice"}
    )

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 SystemVideoServerParametersGetRequest

client = Client()

command = SystemVideoServerParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemVideoServerParametersGetRequest")

print(response)