Skip to content

SystemNetworkSynchingServerGetListRequest

Bases: OCIRequest

Request to get a list of Network Servers defined in the system. The response is either a SystemNetworkSynchingServerGetListResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkSynchingServerGetListRequest(OCIRequest):
    """Request to get a list of Network Servers defined in the system.
        The response is either a SystemNetworkSynchingServerGetListResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemNetworkSynchingServerGetListRequest. The Network Server table column headings are: "Net Address", "Port", "Secure", "Description", "Order". The following columns are only used in XS data mode and not returned in AS data mode: Order The following elements are only used in AS data mode and not returned in XS data mode: preferredNetworkServerNetAddress

Attributes:

preferred_network_server_net_address (Optional[str]):

network_synching_server_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemNetworkSynchingServerGetListResponse(OCIDataResponse):
    """Response to SystemNetworkSynchingServerGetListRequest. The Network Server table column
        headings are: \"Net Address\", \"Port\", \"Secure\", \"Description\", \"Order\".
        The following columns are only used in XS data mode and not returned in AS data mode:
          Order
        The following elements are only used in AS data mode and not returned in XS data mode:
          preferredNetworkServerNetAddress

    Attributes:

        preferred_network_server_net_address (Optional[str]):

        network_synching_server_table (OCITable):

    """

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

    network_synching_server_table: OCITable = field(
        metadata={"alias": "networkSynchingServerTable"}
    )

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 SystemNetworkSynchingServerGetListRequest

client = Client()

command = SystemNetworkSynchingServerGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemNetworkSynchingServerGetListRequest")

print(response)