Skip to content

GroupThirdPartyEmergencyCallingGetRequest22

Bases: OCIRequest

Get the third-party emergency call service settings for the Group. The response is either a GroupThirdPartyEmergencyCallingGetResponse22 or an ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupThirdPartyEmergencyCallingGetRequest22(OCIRequest):
    """Get the third-party emergency call service settings for the Group.
        The response is either a GroupThirdPartyEmergencyCallingGetResponse22 or an ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

    """

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

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

Responses

Bases: OCIDataResponse

Response to the GroupThirdPartyEmergencyCallingGetRequest22. The response contains the third-party emergency call service settings for the Group.

Attributes:

enable_device_management (bool):

enable_routing (bool):

customer_id (Optional[str]):

secret_key (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupThirdPartyEmergencyCallingGetResponse22(OCIDataResponse):
    """Response to the GroupThirdPartyEmergencyCallingGetRequest22.
        The response contains the third-party emergency call service settings for the Group.

    Attributes:

        enable_device_management (bool):

        enable_routing (bool):

        customer_id (Optional[str]):

        secret_key (Optional[str]):

    """

    enable_device_management: bool = field(metadata={"alias": "enableDeviceManagement"})

    enable_routing: bool = field(metadata={"alias": "enableRouting"})

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

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

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 GroupThirdPartyEmergencyCallingGetRequest22

client = Client()

command = GroupThirdPartyEmergencyCallingGetRequest22(
    service_provider_id=...,
    group_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupThirdPartyEmergencyCallingGetRequest22",
    service_provider_id=...,
    group_id=...,
)

print(response)