Skip to content

GroupCallCenterDistinctiveRingingGetRequest

Bases: OCIRequest

Get the distinctive ringing configuration values for call center. The response is either a GroupCallCenterDistinctiveRingingGetResponse or an ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterDistinctiveRingingGetRequest(OCIRequest):
    """Get the distinctive ringing configuration values for call center.
        The response is either a GroupCallCenterDistinctiveRingingGetResponse
        or an ErrorResponse.

    Attributes:

        service_user_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the GroupCallCenterDistinctiveRingingGetRequest.

The following element is only used in AS data mode and not returned in XS data mode:
  distinctiveRingingForceDeliveryRingPattern

Attributes:

distinctive_ringing_call_center_calls (bool):

distinctive_ringing_ring_pattern_for_call_center (str):

distinctive_ringing_force_delivery_ring_pattern (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterDistinctiveRingingGetResponse(OCIDataResponse):
    """Response to the GroupCallCenterDistinctiveRingingGetRequest.

        The following element is only used in AS data mode and not returned in XS data mode:
          distinctiveRingingForceDeliveryRingPattern

    Attributes:

        distinctive_ringing_call_center_calls (bool):

        distinctive_ringing_ring_pattern_for_call_center (str):

        distinctive_ringing_force_delivery_ring_pattern (Optional[str]):

    """

    distinctive_ringing_call_center_calls: bool = field(
        metadata={"alias": "distinctiveRingingCallCenterCalls"}
    )

    distinctive_ringing_ring_pattern_for_call_center: str = field(
        metadata={"alias": "distinctiveRingingRingPatternForCallCenter"}
    )

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

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 GroupCallCenterDistinctiveRingingGetRequest

client = Client()

command = GroupCallCenterDistinctiveRingingGetRequest(
    service_user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

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

print(response)