ServiceProviderCommunicationBarringProfileGetCriteriaUsageListRequest
Bases: OCIRequest
Get a list of Communication Barring profiles within a service provider that have a given Communication Barring Criteria assigned. The response is either a ServiceProviderCommunicationBarring ProfileGetCriteriaUsageListResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
criteria_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class ServiceProviderCommunicationBarringProfileGetCriteriaUsageListRequest(OCIRequest):
"""Get a list of Communication Barring profiles within a service provider that have a given Communication Barring Criteria assigned.
The response is either a ServiceProviderCommunicationBarring ProfileGetCriteriaUsageListResponse
or an ErrorResponse.
Attributes:
service_provider_id (str):
criteria_name (str):
"""
service_provider_id: str = field(metadata={"alias": "serviceProviderId"})
criteria_name: str = field(metadata={"alias": "criteriaName"})
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip_fast/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderCommunicationBarringProfileGetCriteriaUsageListRequest
client = Client()
command = ServiceProviderCommunicationBarringProfileGetCriteriaUsageListRequest(
service_provider_id=...,
criteria_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("ServiceProviderCommunicationBarringProfileGetCriteriaUsageListRequest",
service_provider_id=...,
criteria_name=...,
)
print(response)