Skip to content

ServiceProviderThirdPartyEmergencyCallingGetRequest22

Bases: OCIRequest

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

Attributes:

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

    Attributes:

        service_provider_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the ServiceProviderThirdPartyEmergencyCallingGetRequest22. The response contains the third-party emergency call service settings for the service provider.

Attributes:

allow_activation (bool):

customer_id (Optional[str]):

has_group_enabled (bool):

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

    Attributes:

        allow_activation (bool):

        customer_id (Optional[str]):

        has_group_enabled (bool):

        secret_key (Optional[str]):

    """

    allow_activation: bool = field(metadata={"alias": "allowActivation"})

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

    has_group_enabled: bool = field(metadata={"alias": "hasGroupEnabled"})

    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 ServiceProviderThirdPartyEmergencyCallingGetRequest22

client = Client()

command = ServiceProviderThirdPartyEmergencyCallingGetRequest22(
    service_provider_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("ServiceProviderThirdPartyEmergencyCallingGetRequest22",
    service_provider_id=...,
)

print(response)