Skip to content

SystemRoutePointExternalSystemGetRoutePointListRequest

Bases: OCIRequest

Get a list of Route Points that are using the specified Route Point External System. The response is either a SystemRoutePointExternalSystemGetRoutePointListResponse or an ErrorResponse.

Attributes:

route_point_external_system (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemRoutePointExternalSystemGetRoutePointListRequest(OCIRequest):
    """Get a list of Route Points that are using the specified Route Point External System.
      The response is either a SystemRoutePointExternalSystemGetRoutePointListResponse or an
      ErrorResponse.

    Attributes:

        route_point_external_system (str):

    """

    route_point_external_system: str = field(
        metadata={"alias": "routePointExternalSystem"}
    )

Responses

Bases: OCIDataResponse

Response to the SystemRoutePointExternalSystemGetRoutePointListRequest.

Attributes:

service_user_id (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemRoutePointExternalSystemGetRoutePointListResponse(OCIDataResponse):
    """Response to the SystemRoutePointExternalSystemGetRoutePointListRequest.

    Attributes:

        service_user_id (Optional[List[str]]):

    """

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

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 SystemRoutePointExternalSystemGetRoutePointListRequest

client = Client()

command = SystemRoutePointExternalSystemGetRoutePointListRequest(
    route_point_external_system=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemRoutePointExternalSystemGetRoutePointListRequest",
    route_point_external_system=...,
)

print(response)