Skip to content

SystemGroupNightForwardingGetRequest

Bases: OCIRequest

Request to get the Group Night Forwarding system parameters. The response is either SystemGroupNightForwardingGetResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemGroupNightForwardingGetRequest(OCIRequest):
    """Request to get the Group Night Forwarding system parameters.
        The response is either SystemGroupNightForwardingGetResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemGroupNightForwardingGetRequest.

Attributes:

night_forward_inter_group_calls_within_enterprise (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemGroupNightForwardingGetResponse(OCIDataResponse):
    """Response to SystemGroupNightForwardingGetRequest.

    Attributes:

        night_forward_inter_group_calls_within_enterprise (bool):

    """

    night_forward_inter_group_calls_within_enterprise: bool = field(
        metadata={"alias": "nightForwardInterGroupCallsWithinEnterprise"}
    )

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 SystemGroupNightForwardingGetRequest

client = Client()

command = SystemGroupNightForwardingGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemGroupNightForwardingGetRequest")

print(response)