Skip to content

ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16

Bases: OCIRequest

Get the service provider's voice portal branding settings. The response is either a ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingResponse16 or an ErrorResponse.

Attributes:

service_provider_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16(OCIRequest):
    """Get the service provider's voice portal branding settings.
        The response is either a ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingResponse16 or an ErrorResponse.

    Attributes:

        service_provider_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16.

Attributes:

voice_portal_greeting_selection (str):

voice_portal_greeting_file_description (Optional[str]):

voice_portal_greeting_media_file_type (Optional[str]):

voice_messaging_greeting_selection (str):

voice_messaging_greeting_file_description (Optional[str]):

voice_messaging_greeting_media_file_type (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingResponse16(
    OCIDataResponse
):
    """Response to the ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16.

    Attributes:

        voice_portal_greeting_selection (str):

        voice_portal_greeting_file_description (Optional[str]):

        voice_portal_greeting_media_file_type (Optional[str]):

        voice_messaging_greeting_selection (str):

        voice_messaging_greeting_file_description (Optional[str]):

        voice_messaging_greeting_media_file_type (Optional[str]):

    """

    voice_portal_greeting_selection: str = field(
        metadata={"alias": "voicePortalGreetingSelection"}
    )

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

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

    voice_messaging_greeting_selection: str = field(
        metadata={"alias": "voiceMessagingGreetingSelection"}
    )

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

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

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 ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16

client = Client()

command = ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16(
    service_provider_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("ServiceProviderVoiceMessagingGroupGetVoicePortalBrandingRequest16",
    service_provider_id=...,
)

print(response)