Skip to content

SystemDomainParametersGetRequest

Bases: OCIRequest

Request to get the list of system Domain parameters. The response is either SystemDomainParametersGetResponse or ErrorResponse.

Attributes:

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

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemDomainParametersGetRequest. Contains the system Domain parameters.

The following elements are only used in AS data mode:
  useAliasForDomain, value "false" is returned in XS data mode.

Attributes:

use_alias_for_domain (bool):

default_domain (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemDomainParametersGetResponse(OCIDataResponse):
    """Response to SystemDomainParametersGetRequest.
        Contains the system Domain parameters.

        The following elements are only used in AS data mode:
          useAliasForDomain, value \"false\" is returned in XS data mode.

    Attributes:

        use_alias_for_domain (bool):

        default_domain (Optional[str]):

    """

    use_alias_for_domain: bool = field(metadata={"alias": "useAliasForDomain"})

    default_domain: Optional[str] = field(
        default=None, metadata={"alias": "defaultDomain"}
    )

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 SystemDomainParametersGetRequest

client = Client()

command = SystemDomainParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemDomainParametersGetRequest")

print(response)