Skip to content

SystemCustomerOriginatedTraceGetRequest

Bases: OCIRequest

Request the system level data associated with Customer Originated Trace. The response is either a SystemCustomerOriginatedTraceGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCustomerOriginatedTraceGetRequest(OCIRequest):
    """Request the system level data associated with Customer Originated Trace.
        The response is either a SystemCustomerOriginatedTraceGetResponse or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemCustomerOriginatedTraceGetRequest.

Attributes:

screen_malicious_callers (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCustomerOriginatedTraceGetResponse(OCIDataResponse):
    """Response to SystemCustomerOriginatedTraceGetRequest.

    Attributes:

        screen_malicious_callers (bool):

    """

    screen_malicious_callers: bool = field(metadata={"alias": "screenMaliciousCallers"})

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 SystemCustomerOriginatedTraceGetRequest

client = Client()

command = SystemCustomerOriginatedTraceGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemCustomerOriginatedTraceGetRequest")

print(response)