Skip to content

SystemCallMeNowGetRequest

Bases: OCIRequest

Request the system level data associated with Call Me Now service. The response is either a SystemCallMeNowGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemCallMeNowGetRequest(OCIRequest):
    """Request the system level data associated with Call Me Now service.
        The response is either a SystemCallMeNowGetResponse or an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemCallMeNowGetRequest.

Attributes:

passcode_length (int):

passcode_timeout_seconds (int):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemCallMeNowGetResponse(OCIDataResponse):
    """Response to SystemCallMeNowGetRequest.

    Attributes:

        passcode_length (int):

        passcode_timeout_seconds (int):

    """

    passcode_length: int = field(metadata={"alias": "passcodeLength"})

    passcode_timeout_seconds: int = field(metadata={"alias": "passcodeTimeoutSeconds"})

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemCallMeNowGetRequest

client = Client()

command = SystemCallMeNowGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemCallMeNowGetRequest")

print(response)