Skip to content

SystemHuntGroupModifyRequest21

Bases: OCIRequest

Modify the system level data associated with Hunt Group. The response is either a SuccessResponse or an ErrorResponse.

Attributes:

remove_hunt_group_name_from_clid (Optional[bool]):

uniform_call_distribution_policy_scope (Optional[str]):

allow_agent_device_initiated_forward (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemHuntGroupModifyRequest21(OCIRequest):
    """Modify the system level data associated with Hunt Group.
        The response is either a SuccessResponse or an ErrorResponse.

    Attributes:

        remove_hunt_group_name_from_clid (Optional[bool]):

        uniform_call_distribution_policy_scope (Optional[str]):

        allow_agent_device_initiated_forward (Optional[bool]):

    """

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

    uniform_call_distribution_policy_scope: Optional[str] = field(
        default=None, metadata={"alias": "uniformCallDistributionPolicyScope"}
    )

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

Responses

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

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 SystemHuntGroupModifyRequest21

client = Client()

command = SystemHuntGroupModifyRequest21(
    remove_hunt_group_name_from_clid=...,
    uniform_call_distribution_policy_scope=...,
    allow_agent_device_initiated_forward=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemHuntGroupModifyRequest21",
    remove_hunt_group_name_from_clid=...,
    uniform_call_distribution_policy_scope=...,
    allow_agent_device_initiated_forward=...,
)

print(response)