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_fast/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_fast/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: OCIResponseSource 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 GroupThirdPartyEmergencyCallingGetRequest22
client = Client()
command = GroupThirdPartyEmergencyCallingGetRequest22(
service_provider_id=...,
group_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("GroupThirdPartyEmergencyCallingGetRequest22",
service_provider_id=...,
group_id=...,
)
print(response)