SystemHomeNetworkGetListRequest
Bases: OCIRequest
Get the list of all Home Networks. The response is either a SystemHomeNetworkGetListResponse or an ErrorResponse.
Attributes:
response_size_limit (Optional[int]):
search_criteria_home_msc_address (Optional[List[SearchCriteriaHomeMscAddress]]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemHomeNetworkGetListRequest(OCIRequest):
"""Get the list of all Home Networks.
The response is either a SystemHomeNetworkGetListResponse or an ErrorResponse.
Attributes:
response_size_limit (Optional[int]):
search_criteria_home_msc_address (Optional[List[SearchCriteriaHomeMscAddress]]):
"""
response_size_limit: Optional[int] = field(
default=None, metadata={"alias": "responseSizeLimit"}
)
search_criteria_home_msc_address: Optional[List[SearchCriteriaHomeMscAddress]] = (
field(default=None, metadata={"alias": "searchCriteriaHomeMscAddress"})
)
|
Responses
Bases: OCIDataResponse
Response to the SystemHomeNetworkGetListRequest.
Attributes:
msc_address (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemHomeNetworkGetListResponse(OCIDataResponse):
"""Response to the SystemHomeNetworkGetListRequest.
Attributes:
msc_address (Optional[List[str]]):
"""
msc_address: Optional[List[str]] = field(
default=None, metadata={"alias": "mscAddress"}
)
|
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 SystemHomeNetworkGetListRequest
client = Client()
command = SystemHomeNetworkGetListRequest(
response_size_limit=...,
search_criteria_home_msc_address=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemHomeNetworkGetListRequest",
response_size_limit=...,
search_criteria_home_msc_address=...,
)
print(response)