Skip to content

SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequest22V2

Bases: OCIRequest

Request to get the configuration for a call processing policy profile Auto Attendant subscriber type profile. The response is either a SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequestResponse22V2 or an ErrorResponse. The response contains the call processing policy profile setting for Auto Attendant.

Attributes:

call_processing_policy_profile_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequest22V2(OCIRequest):
    """Request to get the configuration for a call processing policy profile Auto Attendant subscriber type profile.
        The response is either a SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequestResponse22V2 or an
        ErrorResponse.
        The response contains the call processing policy profile setting for Auto Attendant.

    Attributes:

        call_processing_policy_profile_name (str):

    """

    call_processing_policy_profile_name: str = field(
        metadata={"alias": "callProcessingPolicyProfileName"}
    )

Responses

Bases: OCIResponse

Source 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 SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequest22V2

client = Client()

command = SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequest22V2(
    call_processing_policy_profile_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("SystemCallProcessingPolicyProfileAutoAttendantProfileGetRequest22V2",
    call_processing_policy_profile_name=...,
)

print(response)