Skip to content

ServiceProviderAnswerConfirmationGetRequest16

Bases: OCIRequest

Get a service provider or enterprise's answer confirmation settings. The response is either a ServiceProviderAnswerConfirmationGetResponse16 or an ErrorResponse.

Attributes:

service_provider_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ServiceProviderAnswerConfirmationGetRequest16(OCIRequest):
    """Get a service provider or enterprise's answer confirmation settings.
        The response is either a ServiceProviderAnswerConfirmationGetResponse16 or an ErrorResponse.

    Attributes:

        service_provider_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the ServiceProviderAnswerConfirmationGetRequest16.

Attributes:

announcement_message_selection (str):

confirmation_message_audio_file_description (Optional[str]):

confirmation_message_media_type (Optional[str]):

confirmation_timout_seconds (int):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class ServiceProviderAnswerConfirmationGetResponse16(OCIDataResponse):
    """Response to the ServiceProviderAnswerConfirmationGetRequest16.

    Attributes:

        announcement_message_selection (str):

        confirmation_message_audio_file_description (Optional[str]):

        confirmation_message_media_type (Optional[str]):

        confirmation_timout_seconds (int):

    """

    announcement_message_selection: str = field(
        metadata={"alias": "announcementMessageSelection"}
    )

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

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

    confirmation_timout_seconds: int = field(
        metadata={"alias": "confirmationTimoutSeconds"}
    )

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 ServiceProviderAnswerConfirmationGetRequest16

client = Client()

command = ServiceProviderAnswerConfirmationGetRequest16(
    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("ServiceProviderAnswerConfirmationGetRequest16",
    service_provider_id=...,
)

print(response)