Skip to content

SystemRuntimeDataPublicationGetRequest

Bases: OCIRequest

Get the system call admission control parameters. The response is either a SystemRuntimeDataPublicationGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemRuntimeDataPublicationGetRequest(OCIRequest):
    """Get the system call admission control parameters.
        The response is either a SystemRuntimeDataPublicationGetResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemRuntimeDataPublicationGetRequest. The response contains the system call admission control parameters information. The following elements are only used in AS data mode: enableRuntimeDataSync, value "false" is returned in XS data mode. runtimeDataSyncIntervalInMilliSeconds value "1000" is returned in XS data mode.

Attributes:

enable_runtime_data_sync (bool):

runtime_data_sync_interval_in_milli_seconds (int):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemRuntimeDataPublicationGetResponse(OCIDataResponse):
    """Response to the SystemRuntimeDataPublicationGetRequest.
        The response contains the system call admission control parameters information.
        The following elements are only used in AS data mode:
          enableRuntimeDataSync, value \"false\" is returned in XS data mode.
          runtimeDataSyncIntervalInMilliSeconds value \"1000\" is returned in XS data mode.

    Attributes:

        enable_runtime_data_sync (bool):

        runtime_data_sync_interval_in_milli_seconds (int):

    """

    enable_runtime_data_sync: bool = field(metadata={"alias": "enableRuntimeDataSync"})

    runtime_data_sync_interval_in_milli_seconds: int = field(
        metadata={"alias": "runtimeDataSyncIntervalInMilliSeconds"}
    )

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 SystemRuntimeDataPublicationGetRequest

client = Client()

command = SystemRuntimeDataPublicationGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemRuntimeDataPublicationGetRequest")

print(response)