Skip to content

SystemOutboundProxyCacheParametersGetRequest

Bases: OCIRequest

Request to get the list of Outbound Proxy Cache system parameters. The response is either SystemOutboundProxyCacheParametersGetResponse or ErrorResponse.

Note that an error is returned if CloudPBX is not licensed.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemOutboundProxyCacheParametersGetRequest(OCIRequest):
    """Request to get the list of Outbound Proxy Cache system parameters.
        The response is either SystemOutboundProxyCacheParametersGetResponse or ErrorResponse.

        Note that an error is returned if CloudPBX is not licensed.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemOutboundProxyCacheParametersGetRequest. Contains a list of Outbound Proxy Cache system parameters.

Attributes:

eviction_timeout_minutes (int):

refresh_timeout_minutes (int):

audit_interval_minutes (int):

maximum_cache_size (int):

dns_type_default_value (Optional[str]):

use_dns_srv_default_value (Optional[str]):

srv_prefix_default_value (Optional[str]):

outbound_proxy_default_value (Optional[str]):

transport_type_default_value (Optional[str]):

secure_rtp_default_value (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemOutboundProxyCacheParametersGetResponse(OCIDataResponse):
    """Response to SystemOutboundProxyCacheParametersGetRequest.
        Contains a list of Outbound Proxy Cache system parameters.

    Attributes:

        eviction_timeout_minutes (int):

        refresh_timeout_minutes (int):

        audit_interval_minutes (int):

        maximum_cache_size (int):

        dns_type_default_value (Optional[str]):

        use_dns_srv_default_value (Optional[str]):

        srv_prefix_default_value (Optional[str]):

        outbound_proxy_default_value (Optional[str]):

        transport_type_default_value (Optional[str]):

        secure_rtp_default_value (Optional[str]):

    """

    eviction_timeout_minutes: int = field(metadata={"alias": "evictionTimeoutMinutes"})

    refresh_timeout_minutes: int = field(metadata={"alias": "refreshTimeoutMinutes"})

    audit_interval_minutes: int = field(metadata={"alias": "auditIntervalMinutes"})

    maximum_cache_size: int = field(metadata={"alias": "maximumCacheSize"})

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

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

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

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

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

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

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 SystemOutboundProxyCacheParametersGetRequest

client = Client()

command = SystemOutboundProxyCacheParametersGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemOutboundProxyCacheParametersGetRequest")

print(response)