Skip to content

GroupCallCenterEnhancedReportingBrandingModifyRequest

Bases: OCIRequest

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

Attributes:

service_provider_id (str):

group_id (str):

branding_choice (Optional[str]):

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

    Attributes:

        service_provider_id (str):

        group_id (str):

        branding_choice (Optional[str]):

        branding_file (Optional[LabeledFileResource]):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

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

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

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 GroupCallCenterEnhancedReportingBrandingModifyRequest

client = Client()

command = GroupCallCenterEnhancedReportingBrandingModifyRequest(
    service_provider_id=...,
    group_id=...,
    branding_choice=...,
    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("GroupCallCenterEnhancedReportingBrandingModifyRequest",
    service_provider_id=...,
    group_id=...,
    branding_choice=...,
    branding_file=...,
)

print(response)