ruạṛ
a ���f�N � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Z e jd5d4� �Z ed6d7� �Z!e!jd8d7� �Z!ed9d:� �Z"e"jd;d:� �Z"d<d=� Z#d>d?� Z$d@dA� Z%dBS )C�AlertPolicya An Alert Policy is a set of alerting rules evaluated against a target. The alert policy is said to be satisfied when all rules in the policy evaulate to true. If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True. �AUDITING�SECURITY_ASSESSMENT�USER_ASSESSMENT�CRITICAL�HIGH�MEDIUM�LOW�EVALUATE�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new AlertPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this AlertPolicy. :type id: str :param display_name: The value to assign to the display_name property of this AlertPolicy. :type display_name: str :param description: The value to assign to the description property of this AlertPolicy. :type description: str :param alert_policy_type: The value to assign to the alert_policy_type property of this AlertPolicy. Allowed values for this property are: "AUDITING", "SECURITY_ASSESSMENT", "USER_ASSESSMENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type alert_policy_type: str :param is_user_defined: The value to assign to the is_user_defined property of this AlertPolicy. :type is_user_defined: bool :param severity: The value to assign to the severity property of this AlertPolicy. Allowed values for this property are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "EVALUATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type severity: str :param compartment_id: The value to assign to the compartment_id property of this AlertPolicy. :type compartment_id: str :param time_created: The value to assign to the time_created property of this AlertPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AlertPolicy. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AlertPolicy. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AlertPolicy. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this AlertPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AlertPolicy. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AlertPolicy. :type system_tags: dict(str, dict(str, object)) �str�boolZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�description�alert_policy_type�is_user_defined�severity�compartment_id�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr ZdisplayNamer ZalertPolicyTypeZ isUserDefinedr Z compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_description�_alert_policy_type�_is_user_defined� _severity�_compartment_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r5 �E/usr/lib/python3.9/site-packages/oci/data_safe/models/alert_policy.py�__init__L sX E��zAlertPolicy.__init__c C s | j S )z� **[Required]** Gets the id of this AlertPolicy. The OCID of the alert policy. :return: The id of this AlertPolicy. :rtype: str �r% �r3 r5 r5 r6 r � s zAlertPolicy.idc C s || _ dS )z� Sets the id of this AlertPolicy. The OCID of the alert policy. :param id: The id of this AlertPolicy. :type: str Nr8 )r3 r r5 r5 r6 r � s c C s | j S )z� **[Required]** Gets the display_name of this AlertPolicy. The display name of the alert policy. :return: The display_name of this AlertPolicy. :rtype: str �r&