Skip to content

SystemRoutingProfileParametersGetRequest

Bases: OCIRequest

Request to get the list of Routing Profile related system parameters. The response is either SystemRoutingProfileParametersGetResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemRoutingProfileParametersGetRequest(OCIRequest):
    """Request to get the list of Routing Profile related system parameters.
        The response is either SystemRoutingProfileParametersGetResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemRoutingProfileParametersGetRequest. Contains a list of Routing Profile parameters.

Attributes:

enable_permissive_routing (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemRoutingProfileParametersGetResponse(OCIDataResponse):
    """Response to SystemRoutingProfileParametersGetRequest.
        Contains a list of Routing Profile parameters.

    Attributes:

        enable_permissive_routing (bool):

    """

    enable_permissive_routing: bool = field(
        metadata={"alias": "enablePermissiveRouting"}
    )

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 SystemRoutingProfileParametersGetRequest

client = Client()

command = SystemRoutingProfileParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemRoutingProfileParametersGetRequest")

print(response)