SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest
Bases: OCIRequest
Get the list of Network Classes of Service that contain a specific Communication Barring Profile. The response is either a SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListResponse or an ErrorResponse.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest(
OCIRequest
):
"""Get the list of Network Classes of Service that contain a specific
Communication Barring Profile.
The response is either a SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListResponse
or an ErrorResponse.
Attributes:
name (str):
"""
name: str = field(metadata={"alias": "name"})
|
Responses
Bases: OCIDataResponse
Response to the SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest. The response contains a table of all Network Classes of Service that contain the specific Communication Barring Profile. The column headings are "Name" and "Description"
Attributes:
network_class_of_service_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListResponse(
OCIDataResponse
):
"""Response to the SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest.
The response contains a table of all Network Classes of Service that
contain the specific Communication Barring Profile. The column headings
are \"Name\" and \"Description\"
Attributes:
network_class_of_service_table (OCITable):
"""
network_class_of_service_table: OCITable = field(
metadata={"alias": "networkClassOfServiceTable"}
)
|
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 SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest
client = Client()
command = SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest(
name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemNetworkClassOfServiceGetCommunicationBarringProfileUsageListRequest",
name=...,
)
print(response)