Skip to content

SystemClassmarkGetListRequest

Bases: OCIRequest

Get the list of all Class Mark in system. The response is either a SystemClassmarkGetListResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemClassmarkGetListRequest(OCIRequest):
    """Get the list of all Class Mark in system.
        The response is either a SystemClassmarkGetListResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemClassmarkGetListRequest. Contains a table of with the column headings: "Class Mark", "Value" and "Web Display Key".

Attributes:

classmark_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemClassmarkGetListResponse(OCIDataResponse):
    """Response to SystemClassmarkGetListRequest.
        Contains a table of with the column headings: \"Class Mark\", \"Value\" and \"Web Display Key\".

    Attributes:

        classmark_table (OCITable):

    """

    classmark_table: OCITable = field(metadata={"alias": "classmarkTable"})

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 SystemClassmarkGetListRequest

client = Client()

command = SystemClassmarkGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemClassmarkGetListRequest")

print(response)