Skip to content

SystemCallRecordingGetPlatformListRequest22V2

Bases: OCIRequest

Requests the list of all system-level call recording platforms and all reseller level call recording platforms. If an excludeReseller is specified, returns all the system-level call recording platforms only. If a resellerId is specified, returns all the system-level call recording platforms and the given reseller's call recording platforms. If a reseller administrator sends the request and resellerId is not specified, the administrator's resellerId is used. The response is either SystemCallRecordingGetPlatformListResponse22V2 or ErrorResponse.

The following elements are only used in AS data mode and ignored in XS data mode:
  excludeReseller
  resellerId

Attributes:

exclude_reseller (Optional[bool]):

reseller_id (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallRecordingGetPlatformListRequest22V2(OCIRequest):
    """Requests the list of all system-level call recording platforms and all reseller level call recording platforms.
        If an excludeReseller is specified, returns all the system-level call recording platforms only.
        If a resellerId is specified, returns all the system-level call recording platforms and the given reseller's call recording platforms.
        If a reseller administrator sends the request and resellerId is not specified, the administrator's resellerId is used.
        The response is either SystemCallRecordingGetPlatformListResponse22V2 or ErrorResponse.

        The following elements are only used in AS data mode and ignored in XS data mode:
          excludeReseller
          resellerId

    Attributes:

        exclude_reseller (Optional[bool]):

        reseller_id (Optional[str]):

    """

    exclude_reseller: Optional[bool] = field(
        default=None, metadata={"alias": "excludeReseller"}
    )

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

Responses

Bases: OCIDataResponse

Response to SystemCallRecordingGetPlatformListRequest22V2. Contains the default system Call Recording platform, default reseller Call Recording Platform (when applicable in AS data mode) and a table with columns headings "Name", "Net Address", "Port", "Transport Type", "Media Stream", "Description", "Schema Version", "Support Video Rec", "Reseller Id", "Route". The system default recording platform also appears in the table with the other platforms.

 The port can be empty if it is not defined in the recording platform.
 The possible values for "Support Video Rec" can be either true or false.
 Schema version values include: 1.0, 2.0, 3.0

Attributes:

system_default (Optional[str]):

reseller_default (Optional[str]):

call_recording_platform_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallRecordingGetPlatformListResponse22V2(OCIDataResponse):
    """Response to SystemCallRecordingGetPlatformListRequest22V2.
         Contains the default system Call Recording platform, default reseller Call Recording Platform (when applicable in AS data mode) and a table with columns headings
     \"Name\", \"Net Address\", \"Port\", \"Transport Type\", \"Media Stream\", \"Description\", \"Schema Version\", \"Support Video Rec\", \"Reseller Id\", \"Route\".
         The system default recording platform also appears in the table with the other platforms.

         The port can be empty if it is not defined in the recording platform.
         The possible values for \"Support Video Rec\" can be either true or false.
         Schema version values include: 1.0, 2.0, 3.0

    Attributes:

        system_default (Optional[str]):

        reseller_default (Optional[str]):

        call_recording_platform_table (OCITable):

    """

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

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

    call_recording_platform_table: OCITable = field(
        metadata={"alias": "callRecordingPlatformTable"}
    )

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 SystemCallRecordingGetPlatformListRequest22V2

client = Client()

command = SystemCallRecordingGetPlatformListRequest22V2(
    exclude_reseller=...,
    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("SystemCallRecordingGetPlatformListRequest22V2",
    exclude_reseller=...,
    reseller_id=...,
)

print(response)