Skip to content

CPEDeviceOptions22V2

Bases: OCIType

CPE device's options.

        The field configType is optional to allow the use of field enableMonitoring for all device types being managed or not
        ie. device configuration option equals to DeviceManagement, or Legacy, or Not Supported).

        If the device configuration option is set to "Not Supported", the value of configType is forced set to "None" regardless
        of its current value.

        It is not allowed to add a device type with device configuration option set to Device Management or Legacy when the configType
        is not set.

Attributes:

enable_monitoring (bool):

config_type (Optional[str]):

system_file_name (Optional[str]):

device_file_format (Optional[str]):

device_management_device_type_options (Optional[DeviceManagementDeviceTypeOptions22V2]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class CPEDeviceOptions22V2(OCIType):
    """CPE device's options.

                The field configType is optional to allow the use of field enableMonitoring for all device types being managed or not
                ie. device configuration option equals to DeviceManagement, or Legacy, or Not Supported).

                If the device configuration option is set to \"Not Supported\", the value of configType is forced set to \"None\" regardless
                of its current value.

                It is not allowed to add a device type with device configuration option set to Device Management or Legacy when the configType
                is not set.

    Attributes:

        enable_monitoring (bool):

        config_type (Optional[str]):

        system_file_name (Optional[str]):

        device_file_format (Optional[str]):

        device_management_device_type_options (Optional[DeviceManagementDeviceTypeOptions22V2]):

    """

    enable_monitoring: bool = field(metadata={"alias": "enableMonitoring"})

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

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

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

    device_management_device_type_options: Optional[
        DeviceManagementDeviceTypeOptions22V2
    ] = field(default=None, metadata={"alias": "deviceManagementDeviceTypeOptions"})