Skip to content

SystemLegacyAutomaticCallbackGetRequest

Bases: OCIRequest

Request the system's legacy automatic callback attributes. The response is either a SystemLegacyAutomaticCallbackGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemLegacyAutomaticCallbackGetRequest(OCIRequest):
    """Request the system's legacy automatic callback attributes.
        The response is either a SystemLegacyAutomaticCallbackGetResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemLegacyAutomaticCallbackGetRequest.

Attributes:

max_monitors_per_originator (int):

max_monitors_per_terminator (int):

t2_minutes (int):

t4_seconds (int):

t5_seconds (int):

t6_minutes (int):

t7_minutes (int):

t8_seconds (int):

t_ring_seconds (int):

t10_o_minutes (int):

t10_t_minutes (int):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemLegacyAutomaticCallbackGetResponse(OCIDataResponse):
    """Response to SystemLegacyAutomaticCallbackGetRequest.

    Attributes:

        max_monitors_per_originator (int):

        max_monitors_per_terminator (int):

        t2_minutes (int):

        t4_seconds (int):

        t5_seconds (int):

        t6_minutes (int):

        t7_minutes (int):

        t8_seconds (int):

        t_ring_seconds (int):

        t10_o_minutes (int):

        t10_t_minutes (int):

    """

    max_monitors_per_originator: int = field(
        metadata={"alias": "maxMonitorsPerOriginator"}
    )

    max_monitors_per_terminator: int = field(
        metadata={"alias": "maxMonitorsPerTerminator"}
    )

    t2_minutes: int = field(metadata={"alias": "t2Minutes"})

    t4_seconds: int = field(metadata={"alias": "t4Seconds"})

    t5_seconds: int = field(metadata={"alias": "t5Seconds"})

    t6_minutes: int = field(metadata={"alias": "t6Minutes"})

    t7_minutes: int = field(metadata={"alias": "t7Minutes"})

    t8_seconds: int = field(metadata={"alias": "t8Seconds"})

    t_ring_seconds: int = field(metadata={"alias": "tRingSeconds"})

    t10_o_minutes: int = field(metadata={"alias": "t10OMinutes"})

    t10_t_minutes: int = field(metadata={"alias": "t10TMinutes"})

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 SystemLegacyAutomaticCallbackGetRequest

client = Client()

command = SystemLegacyAutomaticCallbackGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemLegacyAutomaticCallbackGetRequest")

print(response)