o
    ɶd                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdZdZdZdZdZdZ	dd	 Z
ed
d Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zdd Zdd Zd d! Zd"S )#DiffszP
    Results of the comparison of an item between two security assessments.
    HIGHMEDIUMLOWEVALUATEADVISORYPASSc                 K   sP   ddddddd| _ ddddd	d
d| _d| _d| _d| _d| _d| _d| _dS )a  
        Initializes a new Diffs object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param current:
            The value to assign to the current property of this Diffs.
        :type current: oci.data_safe.models.Finding

        :param baseline:
            The value to assign to the baseline property of this Diffs.
        :type baseline: oci.data_safe.models.Finding

        :param removed_items:
            The value to assign to the removed_items property of this Diffs.
        :type removed_items: list[str]

        :param added_items:
            The value to assign to the added_items property of this Diffs.
        :type added_items: list[str]

        :param modified_items:
            The value to assign to the modified_items property of this Diffs.
        :type modified_items: list[str]

        :param severity:
            The value to assign to the severity property of this Diffs.
            Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type severity: str

        ZFindingz	list[str]str)currentbaselineremoved_itemsadded_itemsmodified_itemsseverityr   r   ZremovedItemsZ
addedItemsZmodifiedItemsr   N)Zswagger_typesZattribute_map_current	_baseline_removed_items_added_items_modified_items	_severity)selfkwargs r   >usr/lib/python3.10/site-packages/oci/data_safe/models/diffs.py__init__*   s(   !
	
zDiffs.__init__c                 C      | j S )z
        Gets the current of this Diffs.

        :return: The current of this Diffs.
        :rtype: oci.data_safe.models.Finding
        r   r   r   r   r   r   c      zDiffs.currentc                 C   
   || _ dS )z
        Sets the current of this Diffs.

        :param current: The current of this Diffs.
        :type: oci.data_safe.models.Finding
        Nr    )r   r   r   r   r   r   m      
c                 C   r   )z
        Gets the baseline of this Diffs.

        :return: The baseline of this Diffs.
        :rtype: oci.data_safe.models.Finding
        r   r!   r   r   r   r   w   r"   zDiffs.baselinec                 C   r#   )z
        Sets the baseline of this Diffs.

        :param baseline: The baseline of this Diffs.
        :type: oci.data_safe.models.Finding
        Nr%   )r   r   r   r   r   r      r$   c                 C   r   )z
        Gets the removed_items of this Diffs.
        This array identifies the items that are present in the baseline, but are missing from the current assessment.


        :return: The removed_items of this Diffs.
        :rtype: list[str]
        r   r!   r   r   r   r         
zDiffs.removed_itemsc                 C   r#   )a  
        Sets the removed_items of this Diffs.
        This array identifies the items that are present in the baseline, but are missing from the current assessment.


        :param removed_items: The removed_items of this Diffs.
        :type: list[str]
        Nr&   )r   r   r   r   r   r         

c                 C   r   )z
        Gets the added_items of this Diffs.
        This array identifies the items that are present in the current assessment, but are missing from the baseline.


        :return: The added_items of this Diffs.
        :rtype: list[str]
        r   r!   r   r   r   r      r'   zDiffs.added_itemsc                 C   r#   )a  
        Sets the added_items of this Diffs.
        This array identifies the items that are present in the current assessment, but are missing from the baseline.


        :param added_items: The added_items of this Diffs.
        :type: list[str]
        Nr)   )r   r   r   r   r   r      r(   c                 C   r   )a  
        Gets the modified_items of this Diffs.
        This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.


        :return: The modified_items of this Diffs.
        :rtype: list[str]
        r   r!   r   r   r   r      r'   zDiffs.modified_itemsc                 C   r#   )a&  
        Sets the modified_items of this Diffs.
        This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.


        :param modified_items: The modified_items of this Diffs.
        :type: list[str]
        Nr*   )r   r   r   r   r   r      r(   c                 C   r   )at  
        Gets the severity of this Diffs.
        The severity of this diff.

        Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The severity of this Diffs.
        :rtype: str
        )r   r!   r   r   r   r      s   zDiffs.severityc                 C   s    g d}t ||sd}|| _dS )z
        Sets the severity of this Diffs.
        The severity of this diff.


        :param severity: The severity of this Diffs.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r      s   


c                 C   s   t | S N)r   r!   r   r   r   __repr__   s   zDiffs.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zDiffs.__eq__c                 C   s
   | |k S r+   r   r.   r   r   r   __ne__   s   
zDiffs.__ne__N)__name__
__module____qualname____doc__ZSEVERITY_HIGHZSEVERITY_MEDIUMZSEVERITY_LOWZSEVERITY_EVALUATEZSEVERITY_ADVISORYZSEVERITY_PASSr   propertyr   setterr   r   r   r   r   r,   r0   r1   r   r   r   r   r      sH    9
	
	
	
	







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   