Skip to content

SystemAutomaticCollectCallGetRequest22

Bases: OCIRequest

Get system Automatic Collect Call service settings. The response is either SystemAutomaticCollectCallGetResponse22 or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemAutomaticCollectCallGetRequest22(OCIRequest):
    """Get system Automatic Collect Call service settings.
        The response is either SystemAutomaticCollectCallGetResponse22 or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemAutomaticCollectCallGetRequest22. Returns system Automatic Collect Call service settings.

Attributes:

enable_automatic_collect_call (bool):

enable_connect_tone (bool):

include_country_code_in_cic (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemAutomaticCollectCallGetResponse22(OCIDataResponse):
    """Response to the SystemAutomaticCollectCallGetRequest22.
        Returns system Automatic Collect Call service settings.

    Attributes:

        enable_automatic_collect_call (bool):

        enable_connect_tone (bool):

        include_country_code_in_cic (bool):

    """

    enable_automatic_collect_call: bool = field(
        metadata={"alias": "enableAutomaticCollectCall"}
    )

    enable_connect_tone: bool = field(metadata={"alias": "enableConnectTone"})

    include_country_code_in_cic: bool = field(
        metadata={"alias": "includeCountryCodeInCic"}
    )

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 SystemAutomaticCollectCallGetRequest22

client = Client()

command = SystemAutomaticCollectCallGetRequest22()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemAutomaticCollectCallGetRequest22")

print(response)