Skip to content

SystemBwDiameterRoutingRealmGetListRequest

Bases: OCIRequest

Requests the list of Diameter routing realms. The response is either SystemBwDiameterRoutingRealmGetListResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemBwDiameterRoutingRealmGetListRequest(OCIRequest):
    """Requests the list of Diameter routing realms.
        The response is either SystemBwDiameterRoutingRealmGetListResponse or  ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Contains a 4 column table with column headings 'Instance', 'Realm', 'ApplicationID', and 'Default'. One row is present for each Diameter routing realm.

Attributes:

routing_realm_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemBwDiameterRoutingRealmGetListResponse(OCIDataResponse):
    """Contains a 4 column table with column headings 'Instance', 'Realm', 'ApplicationID', and 'Default'.  One row is present for each Diameter routing realm.

    Attributes:

        routing_realm_table (OCITable):

    """

    routing_realm_table: OCITable = field(metadata={"alias": "routingRealmTable"})

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 SystemBwDiameterRoutingRealmGetListRequest

client = Client()

command = SystemBwDiameterRoutingRealmGetListRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemBwDiameterRoutingRealmGetListRequest")

print(response)