Skip to content

SystemCallNotifyGetRequest

Bases: OCIRequest

Request the system level data associated with Call Notify. The response is either a SystemCallNotifyGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallNotifyGetRequest(OCIRequest):
    """Request the system level data associated with Call Notify.
        The response is either a SystemCallNotifyGetResponse or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemCallNotifyGetRequest.

Attributes:

default_from_address (str):

use_short_subject_line (bool):

use_dn_in_mail_body (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallNotifyGetResponse(OCIDataResponse):
    """Response to SystemCallNotifyGetRequest.

    Attributes:

        default_from_address (str):

        use_short_subject_line (bool):

        use_dn_in_mail_body (bool):

    """

    default_from_address: str = field(metadata={"alias": "defaultFromAddress"})

    use_short_subject_line: bool = field(metadata={"alias": "useShortSubjectLine"})

    use_dn_in_mail_body: bool = field(metadata={"alias": "useDnInMailBody"})

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 SystemCallNotifyGetRequest

client = Client()

command = SystemCallNotifyGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemCallNotifyGetRequest")

print(response)