Skip to content

SystemCallCenterEnhancedReportingScheduledTaskParametersModifyRequest

Bases: OCIRequest

Modify the system settings for the call center enhanced reporting scheduling tasks. The response is either a SuccessResponse or an ErrorResponse.

Attributes:

scheduled_report_search_interval_minutes (Optional[int]):

maximum_scheduled_reports_per_interval (Optional[int]):

delete_scheduled_report_days_after_completion (Optional[int]):

call_center_event_mode (Optional[str]):

use_dialed_address_for_remote_number (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class SystemCallCenterEnhancedReportingScheduledTaskParametersModifyRequest(OCIRequest):
    """Modify the system settings for the call center enhanced reporting scheduling tasks.
        The response is either a SuccessResponse or an ErrorResponse.

    Attributes:

        scheduled_report_search_interval_minutes (Optional[int]):

        maximum_scheduled_reports_per_interval (Optional[int]):

        delete_scheduled_report_days_after_completion (Optional[int]):

        call_center_event_mode (Optional[str]):

        use_dialed_address_for_remote_number (Optional[bool]):

    """

    scheduled_report_search_interval_minutes: Optional[int] = field(
        default=None, metadata={"alias": "scheduledReportSearchIntervalMinutes"}
    )

    maximum_scheduled_reports_per_interval: Optional[int] = field(
        default=None, metadata={"alias": "maximumScheduledReportsPerInterval"}
    )

    delete_scheduled_report_days_after_completion: Optional[int] = field(
        default=None, metadata={"alias": "deleteScheduledReportDaysAfterCompletion"}
    )

    call_center_event_mode: Optional[str] = field(
        default=None, metadata={"alias": "callCenterEventMode"}
    )

    use_dialed_address_for_remote_number: Optional[bool] = field(
        default=None, metadata={"alias": "useDialedAddressForRemoteNumber"}
    )

Responses

Bases: OCIResponse

Source code in src/mercury_ocip_fast/commands/base_command.py
class SuccessResponse(OCIResponse):
    pass

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 SystemCallCenterEnhancedReportingScheduledTaskParametersModifyRequest

client = Client()

command = SystemCallCenterEnhancedReportingScheduledTaskParametersModifyRequest(
    scheduled_report_search_interval_minutes=...,
    maximum_scheduled_reports_per_interval=...,
    delete_scheduled_report_days_after_completion=...,
    call_center_event_mode=...,
    use_dialed_address_for_remote_number=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("SystemCallCenterEnhancedReportingScheduledTaskParametersModifyRequest",
    scheduled_report_search_interval_minutes=...,
    maximum_scheduled_reports_per_interval=...,
    delete_scheduled_report_days_after_completion=...,
    call_center_event_mode=...,
    use_dialed_address_for_remote_number=...,
)

print(response)