ruạṛ
a N��f!a � @ 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 @ sZ e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZd Zd Zdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Z e jd1d0� �Z ed2d3� �Z!e!jd4d3� �Z!ed5d6� �Z"e"jd7d6� �Z"ed8d9� �Z#e#jd:d9� �Z#ed;d<� �Z$e$jd=d<� �Z$ed>d?� �Z%e%jd@d?� �Z%edAdB� �Z&e&jdCdB� �Z&edDdE� �Z'e'jdFdE� �Z'edGdH� �Z(e(jdIdH� �Z(dJdK� Z)dLdM� Z*dNdO� Z+dPS )Q�AlertSummaryz' Summary of a Data Safe Alert. �OPEN�CLOSED�CRITICAL�HIGH�MEDIUM�LOW�EVALUATE� SUCCEEDED�FAILED�AUDITING�SECURITY_ASSESSMENT�USER_ASSESSMENT�UPDATINGc K s� dddddddddddddddddddd�| _ ddd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new AlertSummary 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 AlertSummary. :type id: str :param status: The value to assign to the status property of this AlertSummary. Allowed values for this property are: "OPEN", "CLOSED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param display_name: The value to assign to the display_name property of this AlertSummary. :type display_name: str :param description: The value to assign to the description property of this AlertSummary. :type description: str :param severity: The value to assign to the severity property of this AlertSummary. 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 operation_time: The value to assign to the operation_time property of this AlertSummary. :type operation_time: datetime :param operation: The value to assign to the operation property of this AlertSummary. :type operation: str :param operation_status: The value to assign to the operation_status property of this AlertSummary. Allowed values for this property are: "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_status: str :param target_ids: The value to assign to the target_ids property of this AlertSummary. :type target_ids: list[str] :param target_names: The value to assign to the target_names property of this AlertSummary. :type target_names: list[str] :param policy_id: The value to assign to the policy_id property of this AlertSummary. :type policy_id: str :param alert_type: The value to assign to the alert_type property of this AlertSummary. 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_type: str :param compartment_id: The value to assign to the compartment_id property of this AlertSummary. :type compartment_id: str :param time_created: The value to assign to the time_created property of this AlertSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AlertSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AlertSummary. Allowed values for this property are: "UPDATING", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param feature_details: The value to assign to the feature_details property of this AlertSummary. :type feature_details: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this AlertSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AlertSummary. :type defined_tags: dict(str, dict(str, object)) �str�datetimez list[str]zdict(str, dict(str, object))zdict(str, str))�id�status�display_name�description�severity�operation_time� operation�operation_status� target_ids�target_names� policy_id� alert_type�compartment_id�time_created�time_updated�lifecycle_state�feature_details� freeform_tags�defined_tagsr r �displayNamer r � operationTimer �operationStatus� targetIds�targetNames�policyId� alertType� compartmentId�timeCreated�timeUpdated�lifecycleState�featureDetails�freeformTags�definedTagsN)� swagger_types� attribute_map�_id�_status� _display_name�_description� _severity�_operation_time� _operation�_operation_status�_target_ids� _target_names� _policy_id�_alert_type�_compartment_id� _time_created� _time_updated�_lifecycle_state�_feature_details�_freeform_tags� _defined_tags)�self�kwargs� rN ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/alert_summary.py�__init__L sv ]��zAlertSummary.__init__c C s | j S )z� **[Required]** Gets the id of this AlertSummary. The OCID of the alert. :return: The id of this AlertSummary. :rtype: str �r9 �rL rN rN rO r � s zAlertSummary.idc C s || _ dS )z� Sets the id of this AlertSummary. The OCID of the alert. :param id: The id of this AlertSummary. :type: str NrQ )rL r rN rN rO r � s c C s | j S )ad **[Required]** Gets the status of this AlertSummary. The status of the alert. Allowed values for this property are: "OPEN", "CLOSED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this AlertSummary. :rtype: str )r: rR rN rN rO r s zAlertSummary.statusc C s ddg}t ||�sd}|| _dS )z� Sets the status of this AlertSummary. The status of the alert. :param status: The status of this AlertSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r: )rL r �allowed_valuesrN rN rO r s c C s | j S )z� **[Required]** Gets the display_name of this AlertSummary. The display name of the alert. :return: The display_name of this AlertSummary. :rtype: str �r; rR rN rN rO r s zAlertSummary.display_namec C s || _ dS )z� Sets the display_name of this AlertSummary. The display name of the alert. :param display_name: The display_name of this AlertSummary. :type: str NrU )rL r rN rN rO r * s c C s | j S )z� Gets the description of this AlertSummary. The details of the alert. :return: The description of this AlertSummary. :rtype: str �r<