SystemSIPDeviceFileApplyExtendedCaptureToAllDeviceProfilesRequest
Bases: OCIRequest
Request to apply an extended file capture value to all the profile instances associated to a sip device type file. The response is either SuccessResponse or ErrorResponse.
Attributes:
device_type (str):
file_format (str):
extended_capture_on_upload_from_device (bool):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemSIPDeviceFileApplyExtendedCaptureToAllDeviceProfilesRequest(OCIRequest):
"""Request to apply an extended file capture value to all the profile instances associated to a sip device type file.
The response is either SuccessResponse or ErrorResponse.
Attributes:
device_type (str):
file_format (str):
extended_capture_on_upload_from_device (bool):
"""
device_type: str = field(metadata={"alias": "deviceType"})
file_format: str = field(metadata={"alias": "fileFormat"})
extended_capture_on_upload_from_device: bool = field(
metadata={"alias": "extendedCaptureOnUploadFromDevice"}
)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource 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 SystemSIPDeviceFileApplyExtendedCaptureToAllDeviceProfilesRequest
client = Client()
command = SystemSIPDeviceFileApplyExtendedCaptureToAllDeviceProfilesRequest(
device_type=...,
file_format=...,
extended_capture_on_upload_from_device=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemSIPDeviceFileApplyExtendedCaptureToAllDeviceProfilesRequest",
device_type=...,
file_format=...,
extended_capture_on_upload_from_device=...,
)
print(response)