Skip to content

SystemNetworkProgressionGetRequest

Bases: OCIRequest

Request the system level data associated with network progression. The response is either a SystemNetworkProgressionGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkProgressionGetRequest(OCIRequest):
    """Request the system level data associated with network progression.
        The response is either a SystemNetworkProgressionGetResponse or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemNetworkProgressionGetRequest.

Attributes:

is_active (bool):

wait_period_seconds (int):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkProgressionGetResponse(OCIDataResponse):
    """Response to SystemNetworkProgressionGetRequest.

    Attributes:

        is_active (bool):

        wait_period_seconds (int):

    """

    is_active: bool = field(metadata={"alias": "isActive"})

    wait_period_seconds: int = field(metadata={"alias": "waitPeriodSeconds"})

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 SystemNetworkProgressionGetRequest

client = Client()

command = SystemNetworkProgressionGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemNetworkProgressionGetRequest")

print(response)