ServiceProviderRoutePointExternalSystemUnassignListRequest
Bases: OCIRequest
Unassign a list of route point external systems from a service provider. The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
route_point_external_system (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class ServiceProviderRoutePointExternalSystemUnassignListRequest(OCIRequest):
"""Unassign a list of route point external systems from a service provider.
The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
route_point_external_system (Optional[List[str]]):
"""
service_provider_id: str = field(metadata={"alias": "serviceProviderId"})
route_point_external_system: Optional[List[str]] = field(
default=None, metadata={"alias": "routePointExternalSystem"}
)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource 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 ServiceProviderRoutePointExternalSystemUnassignListRequest
client = Client()
command = ServiceProviderRoutePointExternalSystemUnassignListRequest(
service_provider_id=...,
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("ServiceProviderRoutePointExternalSystemUnassignListRequest",
service_provider_id=...,
route_point_external_system=...,
)
print(response)