Skip to content

SystemExecutiveGetRequest24

Bases: OCIRequest

Request to get the Executive system parameters. The response is either SystemExecutiveGetResponse24 or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemExecutiveGetRequest24(OCIRequest):
    """Request to get the Executive system parameters.
         The response is either SystemExecutiveGetResponse24 or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemExecutiveGetRequest.

Attributes:

treat_virtual_on_net_calls_as_internal (bool):

consider_executive_on_hook_for_assistant_calls (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemExecutiveGetResponse24(OCIDataResponse):
    """Response to SystemExecutiveGetRequest.

    Attributes:

        treat_virtual_on_net_calls_as_internal (bool):

        consider_executive_on_hook_for_assistant_calls (bool):

    """

    treat_virtual_on_net_calls_as_internal: bool = field(
        metadata={"alias": "treatVirtualOnNetCallsAsInternal"}
    )

    consider_executive_on_hook_for_assistant_calls: bool = field(
        metadata={"alias": "considerExecutiveOnHookForAssistantCalls"}
    )

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 SystemExecutiveGetRequest24

client = Client()

command = SystemExecutiveGetRequest24()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemExecutiveGetRequest24")

print(response)