Skip to content

SystemEmergencyCallNotificationGetRequest

Bases: OCIRequest

Request the system level data associated with Emergency Call Notification. The response is either a SystemEmergencyCallNotificationGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemEmergencyCallNotificationGetRequest(OCIRequest):
    """Request the system level data associated with Emergency Call Notification.
        The response is either a SystemEmergencyCallNotificationGetResponse or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemEmergencyCallNotificationGetResponse.

Attributes:

default_from_address (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemEmergencyCallNotificationGetResponse(OCIDataResponse):
    """Response to SystemEmergencyCallNotificationGetResponse.

    Attributes:

        default_from_address (str):

    """

    default_from_address: str = field(metadata={"alias": "defaultFromAddress"})

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 SystemEmergencyCallNotificationGetRequest

client = Client()

command = SystemEmergencyCallNotificationGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemEmergencyCallNotificationGetRequest")

print(response)