Skip to content

SystemPushNotificationAllowedApplicationGetListRequest

Bases: OCIRequest

Request to get the list of allowed push notification applications. The response is either SystemPushNotificationAllowedApplicationGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemPushNotificationAllowedApplicationGetListRequest(OCIRequest):
    """Request to get the list of allowed push notification applications.
        The response is either SystemPushNotificationAllowedApplicationGetListResponse or
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemPushNotificationAllowedApplicationGetListRequest. Contains a table with a row for each allowed push notification application with columns: "Application Id", "Description"

Attributes:

application_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemPushNotificationAllowedApplicationGetListResponse(OCIDataResponse):
    """Response to SystemPushNotificationAllowedApplicationGetListRequest.
        Contains a table with a row for each allowed push notification application with columns:
        \"Application Id\", \"Description\"

    Attributes:

        application_table (OCITable):

    """

    application_table: OCITable = field(metadata={"alias": "applicationTable"})

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 SystemPushNotificationAllowedApplicationGetListRequest

client = Client()

command = SystemPushNotificationAllowedApplicationGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemPushNotificationAllowedApplicationGetListRequest")

print(response)