Skip to content

SystemNetworkDeviceMonitorParametersGetRequest

Bases: OCIRequest

Request to get the list of Network Device Polling system parameters. The response is either SystemNetworkDeviceMonitorParametersGetResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkDeviceMonitorParametersGetRequest(OCIRequest):
    """Request to get the list of Network Device Polling system parameters.
        The response is either SystemNetworkDeviceMonitorParametersGetResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemNetworkDeviceMonitorParametersGetListRequest. Contains a list of system Network Device Polling parameters.

Attributes:

polling_interval_minutes (int):

failed_polling_interval_minutes (int):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkDeviceMonitorParametersGetResponse(OCIDataResponse):
    """Response to SystemNetworkDeviceMonitorParametersGetListRequest.
        Contains a list of system Network Device Polling parameters.

    Attributes:

        polling_interval_minutes (int):

        failed_polling_interval_minutes (int):

    """

    polling_interval_minutes: int = field(metadata={"alias": "pollingIntervalMinutes"})

    failed_polling_interval_minutes: int = field(
        metadata={"alias": "failedPollingIntervalMinutes"}
    )

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 SystemNetworkDeviceMonitorParametersGetRequest

client = Client()

command = SystemNetworkDeviceMonitorParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemNetworkDeviceMonitorParametersGetRequest")

print(response)