Skip to content

SystemLicensingGetSystemLicenseListRequest22V2

Bases: OCIRequest

Request to get the list of system licenses in the system. The response is either a SystemLicensingGetSystemLicenseListResponse22V2 or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemLicensingGetSystemLicenseListRequest22V2(OCIRequest):
    """Request to get the list of system licenses in the system.
        The response is either a SystemLicensingGetSystemLicenseListResponse22V2 or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemLicensingGetSystemLicenseListRequest22V2.

Attributes:

license (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemLicensingGetSystemLicenseListResponse22V2(OCIDataResponse):
    """Response to SystemLicensingGetSystemLicenseListRequest22V2.

    Attributes:

        license (Optional[List[str]]):

    """

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

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 SystemLicensingGetSystemLicenseListRequest22V2

client = Client()

command = SystemLicensingGetSystemLicenseListRequest22V2()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemLicensingGetSystemLicenseListRequest22V2")

print(response)