Skip to content

SystemAutomaticCallbackGetReleaseCauseListRequest

Bases: OCIRequest

Request the system's automatic callback attributes. The response is either a SystemAutomaticCallbackGetReleaseCauseListResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemAutomaticCallbackGetReleaseCauseListRequest(OCIRequest):
    """Request the system's automatic callback attributes.
        The response is either a SystemAutomaticCallbackGetReleaseCauseListResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemAutomaticCallbackGetReleaseCauseListRequest.

Attributes:

release_cause (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemAutomaticCallbackGetReleaseCauseListResponse(OCIDataResponse):
    """Response to SystemAutomaticCallbackGetReleaseCauseListRequest.

    Attributes:

        release_cause (Optional[List[str]]):

    """

    release_cause: Optional[List[str]] = field(
        default=None, metadata={"alias": "releaseCause"}
    )

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 SystemAutomaticCallbackGetReleaseCauseListRequest

client = Client()

command = SystemAutomaticCallbackGetReleaseCauseListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemAutomaticCallbackGetReleaseCauseListRequest")

print(response)