Dashboard
PHP:
8.3.33
OS:
Linux
User:
letter7
/
/
usr
/
libexec
/
oracle-cloud-agent
/
plugins
/
osms
/
oci
/
cloud_guard
/
models
📤 Upload
📝 New File
📁 New Folder
Close
Editing: detector_details.pyc
a N��f�* � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s. e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Zd$d%� Zd&d'� Zd(d)� Zd*S )+�DetectorDetailsz$ Details of a Detector Rule �CRITICAL�HIGH�MEDIUM�LOW�MINORc K sn dddddddddd� | _ d d ddd ddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ dS )ao Initializes a new DetectorDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_enabled: The value to assign to the is_enabled property of this DetectorDetails. :type is_enabled: bool :param risk_level: The value to assign to the risk_level property of this DetectorDetails. Allowed values for this property are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINOR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type risk_level: str :param configurations: The value to assign to the configurations property of this DetectorDetails. :type configurations: list[oci.cloud_guard.models.DetectorConfiguration] :param condition: The value to assign to the condition property of this DetectorDetails. :type condition: oci.cloud_guard.models.Condition :param labels: The value to assign to the labels property of this DetectorDetails. :type labels: list[str] :param is_configuration_allowed: The value to assign to the is_configuration_allowed property of this DetectorDetails. :type is_configuration_allowed: bool :param problem_threshold: The value to assign to the problem_threshold property of this DetectorDetails. :type problem_threshold: int :param target_types: The value to assign to the target_types property of this DetectorDetails. :type target_types: list[str] :param sighting_types: The value to assign to the sighting_types property of this DetectorDetails. :type sighting_types: list[oci.cloud_guard.models.SightingType] �bool�strzlist[DetectorConfiguration]� Conditionz list[str]�intzlist[SightingType]) � is_enabled� risk_level�configurations� condition�labels�is_configuration_allowed�problem_threshold�target_types�sighting_types� isEnabled� riskLevelr r r �isConfigurationAllowed�problemThreshold�targetTypes� sightingTypesN)� swagger_types� attribute_map�_is_enabled�_risk_level�_configurations� _condition�_labels�_is_configuration_allowed�_problem_threshold� _target_types�_sighting_types)�self�kwargs� r, ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/cloud_guard/models/detector_details.py�__init__$ s: -� �zDetectorDetails.__init__c C s | j S )z� **[Required]** Gets the is_enabled of this DetectorDetails. Enables the control :return: The is_enabled of this DetectorDetails. :rtype: bool �r! �r* r, r, r- r r s zDetectorDetails.is_enabledc C s || _ dS )z� Sets the is_enabled of this DetectorDetails. Enables the control :param is_enabled: The is_enabled of this DetectorDetails. :type: bool Nr/ )r* r r, r, r- r ~ s c C s | j S )au Gets the risk_level of this DetectorDetails. The Risk Level Allowed values for this property are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINOR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The risk_level of this DetectorDetails. :rtype: str )r"