Skip to content

SystemCallCenterEnhancedReportingBrandingModifyRequest

Bases: OCIRequest

Request to modify the system branding configuration. The response is either SuccessResponse or ErrorResponse.

Attributes:

branding_choice (Optional[str]):

custom_branding_file (Optional[LabeledFileResource]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallCenterEnhancedReportingBrandingModifyRequest(OCIRequest):
    """Request to modify the system branding configuration.
        The response is either SuccessResponse or ErrorResponse.

    Attributes:

        branding_choice (Optional[str]):

        custom_branding_file (Optional[LabeledFileResource]):

    """

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

    custom_branding_file: Optional[LabeledFileResource] = field(
        default=None, metadata={"alias": "customBrandingFile"}
    )

Responses

Bases: OCIResponse

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

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 SystemCallCenterEnhancedReportingBrandingModifyRequest

client = Client()

command = SystemCallCenterEnhancedReportingBrandingModifyRequest(
    branding_choice=...,
    custom_branding_file=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemCallCenterEnhancedReportingBrandingModifyRequest",
    branding_choice=...,
    custom_branding_file=...,
)

print(response)