Skip to content

SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetRequest22V2

Bases: OCIRequest

Request to get the configuration for a call processing policy profile Flexible Seating Host subscriber type profile. The response is either a SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetResponse22V2 or an ErrorResponse.

Attributes:

call_processing_policy_profile_name (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetRequest22V2(
    OCIRequest
):
    """Request to get the configuration for a call processing policy profile Flexible Seating Host subscriber type profile.
        The response is either a SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetResponse22V2 or an
        ErrorResponse.

    Attributes:

        call_processing_policy_profile_name (str):

    """

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

Responses

Bases: OCIDataResponse

Response to SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetRequest22V2. The following elements are only used in AS data mode: useMaxCallsPerSecond, value "false" is returned in XS data mode. maxCallsPerSecond, value "1" is returned in XS data mode

Attributes:

use_clid_policy (bool):

clid_policy (str):

emergency_clid_policy (str):

use_group_name (bool):

block_calling_name_for_external_calls (bool):

allow_configurable_clid_for_redirecting_identity (Optional[bool]):

allow_department_clid_name_override (bool):

enterprise_calls_clid_policy (str):

enterprise_group_calls_clid_policy (str):

service_provider_group_calls_clid_policy (str):

use_call_limits_policy (bool):

use_max_simultaneous_calls (bool):

max_simultaneous_calls (int):

use_max_simultaneous_video_calls (bool):

max_simultaneous_video_calls (int):

use_max_call_time_for_answered_calls (bool):

max_call_time_for_answered_calls_minutes (int):

use_max_call_time_for_unanswered_calls (bool):

max_call_time_for_unanswered_calls_minutes (int):

use_translation_routing_policy (bool):

network_usage_selection (str):

enable_enterprise_extension_dialing (bool):

enforce_group_calling_line_identity_restriction (bool):

enforce_enterprise_calling_line_identity_restriction (bool):

allow_enterprise_group_call_typing_for_private_dialing_plan (bool):

allow_enterprise_group_call_typing_for_public_dialing_plan (bool):

override_clid_restriction_for_private_call_category (bool):

use_enterprise_clid_for_private_call_category (bool):

include_redirections_in_maximum_number_of_concurrent_calls (bool):

use_user_phone_number_for_group_calls_when_internal_clid_unavailable (bool):

use_user_phone_number_for_enterprise_calls_when_internal_clid_unavailable (bool):

use_max_calls_per_second (bool):

max_calls_per_second (int):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetResponse22V2(
    OCIDataResponse
):
    """Response to SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetRequest22V2.
        The following elements are only used in AS data mode:
          useMaxCallsPerSecond, value \"false\" is returned in XS data mode.
          maxCallsPerSecond, value \"1\" is returned in XS data mode

    Attributes:

        use_clid_policy (bool):

        clid_policy (str):

        emergency_clid_policy (str):

        use_group_name (bool):

        block_calling_name_for_external_calls (bool):

        allow_configurable_clid_for_redirecting_identity (Optional[bool]):

        allow_department_clid_name_override (bool):

        enterprise_calls_clid_policy (str):

        enterprise_group_calls_clid_policy (str):

        service_provider_group_calls_clid_policy (str):

        use_call_limits_policy (bool):

        use_max_simultaneous_calls (bool):

        max_simultaneous_calls (int):

        use_max_simultaneous_video_calls (bool):

        max_simultaneous_video_calls (int):

        use_max_call_time_for_answered_calls (bool):

        max_call_time_for_answered_calls_minutes (int):

        use_max_call_time_for_unanswered_calls (bool):

        max_call_time_for_unanswered_calls_minutes (int):

        use_translation_routing_policy (bool):

        network_usage_selection (str):

        enable_enterprise_extension_dialing (bool):

        enforce_group_calling_line_identity_restriction (bool):

        enforce_enterprise_calling_line_identity_restriction (bool):

        allow_enterprise_group_call_typing_for_private_dialing_plan (bool):

        allow_enterprise_group_call_typing_for_public_dialing_plan (bool):

        override_clid_restriction_for_private_call_category (bool):

        use_enterprise_clid_for_private_call_category (bool):

        include_redirections_in_maximum_number_of_concurrent_calls (bool):

        use_user_phone_number_for_group_calls_when_internal_clid_unavailable (bool):

        use_user_phone_number_for_enterprise_calls_when_internal_clid_unavailable (bool):

        use_max_calls_per_second (bool):

        max_calls_per_second (int):

    """

    use_clid_policy: bool = field(metadata={"alias": "useCLIDPolicy"})

    clid_policy: str = field(metadata={"alias": "clidPolicy"})

    emergency_clid_policy: str = field(metadata={"alias": "emergencyClidPolicy"})

    use_group_name: bool = field(metadata={"alias": "useGroupName"})

    block_calling_name_for_external_calls: bool = field(
        metadata={"alias": "blockCallingNameForExternalCalls"}
    )

    allow_configurable_clid_for_redirecting_identity: Optional[bool] = field(
        default=None, metadata={"alias": "allowConfigurableCLIDForRedirectingIdentity"}
    )

    allow_department_clid_name_override: bool = field(
        metadata={"alias": "allowDepartmentCLIDNameOverride"}
    )

    enterprise_calls_clid_policy: str = field(
        metadata={"alias": "enterpriseCallsCLIDPolicy"}
    )

    enterprise_group_calls_clid_policy: str = field(
        metadata={"alias": "enterpriseGroupCallsCLIDPolicy"}
    )

    service_provider_group_calls_clid_policy: str = field(
        metadata={"alias": "serviceProviderGroupCallsCLIDPolicy"}
    )

    use_call_limits_policy: bool = field(metadata={"alias": "useCallLimitsPolicy"})

    use_max_simultaneous_calls: bool = field(
        metadata={"alias": "useMaxSimultaneousCalls"}
    )

    max_simultaneous_calls: int = field(metadata={"alias": "maxSimultaneousCalls"})

    use_max_simultaneous_video_calls: bool = field(
        metadata={"alias": "useMaxSimultaneousVideoCalls"}
    )

    max_simultaneous_video_calls: int = field(
        metadata={"alias": "maxSimultaneousVideoCalls"}
    )

    use_max_call_time_for_answered_calls: bool = field(
        metadata={"alias": "useMaxCallTimeForAnsweredCalls"}
    )

    max_call_time_for_answered_calls_minutes: int = field(
        metadata={"alias": "maxCallTimeForAnsweredCallsMinutes"}
    )

    use_max_call_time_for_unanswered_calls: bool = field(
        metadata={"alias": "useMaxCallTimeForUnansweredCalls"}
    )

    max_call_time_for_unanswered_calls_minutes: int = field(
        metadata={"alias": "maxCallTimeForUnansweredCallsMinutes"}
    )

    use_translation_routing_policy: bool = field(
        metadata={"alias": "useTranslationRoutingPolicy"}
    )

    network_usage_selection: str = field(metadata={"alias": "networkUsageSelection"})

    enable_enterprise_extension_dialing: bool = field(
        metadata={"alias": "enableEnterpriseExtensionDialing"}
    )

    enforce_group_calling_line_identity_restriction: bool = field(
        metadata={"alias": "enforceGroupCallingLineIdentityRestriction"}
    )

    enforce_enterprise_calling_line_identity_restriction: bool = field(
        metadata={"alias": "enforceEnterpriseCallingLineIdentityRestriction"}
    )

    allow_enterprise_group_call_typing_for_private_dialing_plan: bool = field(
        metadata={"alias": "allowEnterpriseGroupCallTypingForPrivateDialingPlan"}
    )

    allow_enterprise_group_call_typing_for_public_dialing_plan: bool = field(
        metadata={"alias": "allowEnterpriseGroupCallTypingForPublicDialingPlan"}
    )

    override_clid_restriction_for_private_call_category: bool = field(
        metadata={"alias": "overrideCLIDRestrictionForPrivateCallCategory"}
    )

    use_enterprise_clid_for_private_call_category: bool = field(
        metadata={"alias": "useEnterpriseCLIDForPrivateCallCategory"}
    )

    include_redirections_in_maximum_number_of_concurrent_calls: bool = field(
        metadata={"alias": "includeRedirectionsInMaximumNumberOfConcurrentCalls"}
    )

    use_user_phone_number_for_group_calls_when_internal_clid_unavailable: bool = field(
        metadata={"alias": "useUserPhoneNumberForGroupCallsWhenInternalCLIDUnavailable"}
    )

    use_user_phone_number_for_enterprise_calls_when_internal_clid_unavailable: bool = field(
        metadata={
            "alias": "useUserPhoneNumberForEnterpriseCallsWhenInternalCLIDUnavailable"
        }
    )

    use_max_calls_per_second: bool = field(metadata={"alias": "useMaxCallsPerSecond"})

    max_calls_per_second: int = field(metadata={"alias": "maxCallsPerSecond"})

Bases: OCIResponse

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

client = Client()

command = SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetRequest22V2(
    call_processing_policy_profile_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemCallProcessingPolicyProfileFlexibleSeatingHostProfileGetRequest22V2",
    call_processing_policy_profile_name=...,
)

print(response)