Skip to content

GroupCallCenterQueueStatusNotificationGetRequest

Bases: OCIRequest

Get the status configuration for a given call center. The response is either a GroupCallCenterQueueStatusNotificationGetResponse or an ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterQueueStatusNotificationGetRequest(OCIRequest):
    """Get the status configuration for a given call center.
        The response is either a GroupCallCenterQueueStatusNotificationGetResponse or an ErrorResponse.

    Attributes:

        service_user_id (str):

    """

    service_user_id: str = field(metadata={"alias": "serviceUserId"})

Responses

Bases: OCIDataResponse

Response to the GroupCallCenterQueueStatusNotificationGetRequest. The response contains the call center status configuration information.

Attributes:

enable_queue_status_notification (bool):

enable_queue_depth_threshold (bool):

enable_waiting_time_threshold (bool):

number_of_calls_threshold (int):

waiting_time_of_calls_threshold (int):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterQueueStatusNotificationGetResponse(OCIDataResponse):
    """Response to the GroupCallCenterQueueStatusNotificationGetRequest.
        The response contains the call center status configuration information.

    Attributes:

        enable_queue_status_notification (bool):

        enable_queue_depth_threshold (bool):

        enable_waiting_time_threshold (bool):

        number_of_calls_threshold (int):

        waiting_time_of_calls_threshold (int):

    """

    enable_queue_status_notification: bool = field(
        metadata={"alias": "enableQueueStatusNotification"}
    )

    enable_queue_depth_threshold: bool = field(
        metadata={"alias": "enableQueueDepthThreshold"}
    )

    enable_waiting_time_threshold: bool = field(
        metadata={"alias": "enableWaitingTimeThreshold"}
    )

    number_of_calls_threshold: int = field(metadata={"alias": "numberOfCallsThreshold"})

    waiting_time_of_calls_threshold: int = field(
        metadata={"alias": "waitingTimeOfCallsThreshold"}
    )

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 GroupCallCenterQueueStatusNotificationGetRequest

client = Client()

command = GroupCallCenterQueueStatusNotificationGetRequest(
    service_user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("GroupCallCenterQueueStatusNotificationGetRequest",
    service_user_id=...,
)

print(response)