Skip to content

SystemMaliciousCallTraceGetRequest

Bases: OCIRequest

Get Malicious Call Trace system parameters and the list of users that use the Malicious Call Trace feature. The response is either a SystemMaliciousCallTraceGetResponse or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemMaliciousCallTraceGetRequest(OCIRequest):
    """Get Malicious Call Trace system parameters and the list of users that use the
        Malicious Call Trace feature.
        The response is either a SystemMaliciousCallTraceGetResponse or
        an ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemMaliciousCallTraceGetRequest. The response contains the Malicious Call Trace system parameters and the list of users that use the Malicious Call Trace feature.

The column headings are "Service Provider Id",
"Group Id", "User Id", "Last Name", "First Name", "Phone Number", "Trace Type", "Status",
"Hiragana Last Name" and "Hiragana First Name", "Extension", "Department", "Email Address".

Attributes:

play_mct_warning_announcement (bool):

user_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemMaliciousCallTraceGetResponse(OCIDataResponse):
    """Response to the SystemMaliciousCallTraceGetRequest.
        The response contains the Malicious Call Trace system parameters and the list of users
        that use the Malicious Call Trace feature.

        The column headings are \"Service Provider Id\",
        \"Group Id\", \"User Id\", \"Last Name\", \"First Name\", \"Phone Number\", \"Trace Type\", \"Status\",
        \"Hiragana Last Name\" and \"Hiragana First Name\", \"Extension\", \"Department\", \"Email Address\".

    Attributes:

        play_mct_warning_announcement (bool):

        user_table (OCITable):

    """

    play_mct_warning_announcement: bool = field(
        metadata={"alias": "playMCTWarningAnnouncement"}
    )

    user_table: OCITable = field(metadata={"alias": "userTable"})

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 SystemMaliciousCallTraceGetRequest

client = Client()

command = SystemMaliciousCallTraceGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemMaliciousCallTraceGetRequest")

print(response)