SystemTwoStageDialingGetDnListRequest
Bases: OCIRequest
Request to get a list of Two Stage Dialing dns defined in the system. The response is either a SystemTwoStageDialingGetDnListResponse or an ErrorResponse.
Attributes:
response_size_limit (Optional[int]):
search_criteria_system_service_dn (Optional[List[SearchCriteriaSystemServiceDn]]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemTwoStageDialingGetDnListRequest(OCIRequest):
"""Request to get a list of Two Stage Dialing dns defined in the system.
The response is either a SystemTwoStageDialingGetDnListResponse
or an ErrorResponse.
Attributes:
response_size_limit (Optional[int]):
search_criteria_system_service_dn (Optional[List[SearchCriteriaSystemServiceDn]]):
"""
response_size_limit: Optional[int] = field(
default=None, metadata={"alias": "responseSizeLimit"}
)
search_criteria_system_service_dn: Optional[List[SearchCriteriaSystemServiceDn]] = (
field(default=None, metadata={"alias": "searchCriteriaSystemServiceDn"})
)
|
Responses
Bases: OCIDataResponse
Response to SystemTwoStageDialingGetDnListRequest. The Two Stage Dialing DN List table column headings are: "Phone Number", "Description".
Attributes:
phone_number_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemTwoStageDialingGetDnListResponse(OCIDataResponse):
"""Response to SystemTwoStageDialingGetDnListRequest.
The Two Stage Dialing DN List table column
headings are: \"Phone Number\", \"Description\".
Attributes:
phone_number_table (OCITable):
"""
phone_number_table: OCITable = field(metadata={"alias": "phoneNumberTable"})
|
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 SystemTwoStageDialingGetDnListRequest
client = Client()
command = SystemTwoStageDialingGetDnListRequest(
response_size_limit=...,
search_criteria_system_service_dn=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemTwoStageDialingGetDnListRequest",
response_size_limit=...,
search_criteria_system_service_dn=...,
)
print(response)