Skip to content

SystemHuntGroupGetRequest21

Bases: OCIRequest

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

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemHuntGroupGetRequest21(OCIRequest):
    """Request the system level data associated with Hunt Group.
        The response is either a SystemHuntGroupGetResponse21 or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemHuntGroupGetRequest21.

Attributes:

remove_hunt_group_name_from_clid (bool):

uniform_call_distribution_policy_scope (str):

allow_agent_device_initiated_forward (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemHuntGroupGetResponse21(OCIDataResponse):
    """Response to SystemHuntGroupGetRequest21.

    Attributes:

        remove_hunt_group_name_from_clid (bool):

        uniform_call_distribution_policy_scope (str):

        allow_agent_device_initiated_forward (bool):

    """

    remove_hunt_group_name_from_clid: bool = field(
        metadata={"alias": "removeHuntGroupNameFromCLID"}
    )

    uniform_call_distribution_policy_scope: str = field(
        metadata={"alias": "uniformCallDistributionPolicyScope"}
    )

    allow_agent_device_initiated_forward: bool = field(
        metadata={"alias": "allowAgentDeviceInitiatedForward"}
    )

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 SystemHuntGroupGetRequest21

client = Client()

command = SystemHuntGroupGetRequest21()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemHuntGroupGetRequest21")

print(response)