Skip to content

SystemBroadWorksAnywhereGetRequest

Bases: OCIRequest

Get the Broadworks Anywhere system parameters. The response is either a SystemBroadWorksAnywhereGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemBroadWorksAnywhereGetRequest(OCIRequest):
    """Get the Broadworks Anywhere system parameters.
        The response is either a SystemBroadWorksAnywhereGetResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

The response to a SystemBroadWorksAnywhereGetRequest.

Attributes:

enable_transfer_notification (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemBroadWorksAnywhereGetResponse(OCIDataResponse):
    """The response to a SystemBroadWorksAnywhereGetRequest.

    Attributes:

        enable_transfer_notification (bool):

    """

    enable_transfer_notification: bool = field(
        metadata={"alias": "enableTransferNotification"}
    )

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 SystemBroadWorksAnywhereGetRequest

client = Client()

command = SystemBroadWorksAnywhereGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemBroadWorksAnywhereGetRequest")

print(response)