Skip to content

SystemGETSResourcePriorityGetListRequest

Bases: OCIRequest

Get a list of GETS Resource Priorities. The response is either SystemGETSResourcePriorityGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemGETSResourcePriorityGetListRequest(OCIRequest):
    """Get a list of GETS Resource Priorities.
        The response is either SystemGETSResourcePriorityGetListResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemGETSResourcePriorityGetListRequest. The table columns are: "Priority Value", "Priority Level" and "Priority Class".

Attributes:

resource_priority_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemGETSResourcePriorityGetListResponse(OCIDataResponse):
    """Response to SystemGETSResourcePriorityGetListRequest.
        The table columns are: \"Priority Value\", \"Priority Level\" and \"Priority Class\".

    Attributes:

        resource_priority_table (OCITable):

    """

    resource_priority_table: OCITable = field(
        metadata={"alias": "resourcePriorityTable"}
    )

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 SystemGETSResourcePriorityGetListRequest

client = Client()

command = SystemGETSResourcePriorityGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemGETSResourcePriorityGetListRequest")

print(response)