Skip to content

GroupCallCapacityManagementGetInstanceRequest

Bases: OCIRequest

Gets a Call Capacity Management group. The response is either GroupCallCapacityManagementGetInstanceResponse or ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):

name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCapacityManagementGetInstanceRequest(OCIRequest):
    """Gets a Call Capacity Management group.
        The response is either GroupCallCapacityManagementGetInstanceResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

        name (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

    name: str = field(metadata={"alias": "name"})

Responses

Bases: OCIDataResponse

Response to the GroupCallCapacityManagementGetInstanceRequest. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address".

Attributes:

name (str):

max_active_calls_allowed (int):

max_incoming_active_calls_allowed (Optional[int]):

max_outgoing_active_calls_allowed (Optional[int]):

default_group_for_new_users (bool):

user_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCapacityManagementGetInstanceResponse(OCIDataResponse):
    """Response to the GroupCallCapacityManagementGetInstanceRequest.
        Contains a table with column headings: \"User Id\", \"Last Name\", \"First Name\", \"Hiragana Last Name\", \"Hiragana First Name\",
        \"Phone Number\", \"Extension\", \"Department\", \"Email Address\".

    Attributes:

        name (str):

        max_active_calls_allowed (int):

        max_incoming_active_calls_allowed (Optional[int]):

        max_outgoing_active_calls_allowed (Optional[int]):

        default_group_for_new_users (bool):

        user_table (OCITable):

    """

    name: str = field(metadata={"alias": "name"})

    max_active_calls_allowed: int = field(metadata={"alias": "maxActiveCallsAllowed"})

    max_incoming_active_calls_allowed: Optional[int] = field(
        default=None, metadata={"alias": "maxIncomingActiveCallsAllowed"}
    )

    max_outgoing_active_calls_allowed: Optional[int] = field(
        default=None, metadata={"alias": "maxOutgoingActiveCallsAllowed"}
    )

    default_group_for_new_users: bool = field(
        metadata={"alias": "defaultGroupForNewUsers"}
    )

    user_table: OCITable = field(metadata={"alias": "userTable"})

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 GroupCallCapacityManagementGetInstanceRequest

client = Client()

command = GroupCallCapacityManagementGetInstanceRequest(
    service_provider_id=...,
    group_id=...,
    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("GroupCallCapacityManagementGetInstanceRequest",
    service_provider_id=...,
    group_id=...,
    name=...,
)

print(response)