SystemCallProcessingPolicyProfileGetRequest21
Bases: OCIRequest
Request to get a call processing policy profile in system. The response is either a SystemCallProcessingPolicyProfileGetResponse21 or an ErrorResponse.
Attributes:
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileGetRequest21(OCIRequest):
"""Request to get a call processing policy profile in system.
The response is either a SystemCallProcessingPolicyProfileGetResponse21 or an ErrorResponse.
Attributes:
name (str):
"""
name: str = field(metadata={"alias": "name"})
|
Responses
Bases: OCIDataResponse
Response to a SystemCallProcessingPolicyProfileGetRequest21.
Attributes:
description (Optional[str]):
assigned_subscriber_type (Optional[List[str]]):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileGetResponse21(OCIDataResponse):
"""Response to a SystemCallProcessingPolicyProfileGetRequest21.
Attributes:
description (Optional[str]):
assigned_subscriber_type (Optional[List[str]]):
"""
description: Optional[str] = field(default=None, metadata={"alias": "description"})
assigned_subscriber_type: Optional[List[str]] = field(
default=None, metadata={"alias": "assignedSubscriberType"}
)
|
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 SystemCallProcessingPolicyProfileGetRequest21
client = Client()
command = SystemCallProcessingPolicyProfileGetRequest21(
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("SystemCallProcessingPolicyProfileGetRequest21",
name=...,
)
print(response)