Skip to content

ResellerVoiceMessagingGroupGetRequest

Bases: OCIRequest

Request the reseller level data associated with Voice Messaging. The response is either a ResellerVoiceMessagingGroupGetResponse or an ErrorResponse.

Attributes:

reseller_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ResellerVoiceMessagingGroupGetRequest(OCIRequest):
    """Request the reseller level data associated with Voice Messaging.
        The response is either a ResellerVoiceMessagingGroupGetResponse or an
        ErrorResponse.

    Attributes:

        reseller_id (str):

    """

    reseller_id: str = field(metadata={"alias": "resellerId"})

Responses

Bases: OCIDataResponse

Response to ResellerVoiceMessagingGroupGetRequest.

Attributes:

delivery_from_address (Optional[str]):

notification_from_address (Optional[str]):

voice_portal_lockout_from_address (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ResellerVoiceMessagingGroupGetResponse(OCIDataResponse):
    """Response to ResellerVoiceMessagingGroupGetRequest.

    Attributes:

        delivery_from_address (Optional[str]):

        notification_from_address (Optional[str]):

        voice_portal_lockout_from_address (Optional[str]):

    """

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

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

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

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 ResellerVoiceMessagingGroupGetRequest

client = Client()

command = ResellerVoiceMessagingGroupGetRequest(
    reseller_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("ResellerVoiceMessagingGroupGetRequest",
    reseller_id=...,
)

print(response)