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edd„ ƒZejdd„ ƒZdd „ Zd!d"„ Zd#d$„ Zd%S )&ÚFindingzE
    The particular finding reported by the security assessment.
    ÚHIGHÚMEDIUMÚLOWÚEVALUATEÚADVISORYÚPASSc                 K   sZ   ddd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 Finding object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this Finding.
        :type key: str

        :param severity:
            The value to assign to the severity property of this Finding.
            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

        :param title:
            The value to assign to the title property of this Finding.
        :type title: str

        :param remarks:
            The value to assign to the remarks property of this Finding.
        :type remarks: str

        :param details:
            The value to assign to the details property of this Finding.
        :type details: object

        :param summary:
            The value to assign to the summary property of this Finding.
        :type summary: str

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

        ÚstrÚobjectÚ
References)ÚkeyÚseverityÚtitleÚremarksÚdetailsÚsummaryÚ
referencesr   r   r   r   r   r   r   N)	Zswagger_typesZattribute_mapÚ_keyÚ	_severityÚ_titleÚ_remarksÚ_detailsÚ_summaryÚ_references)ÚselfÚkwargs© r    ú@usr/lib/python3.10/site-packages/oci/data_safe/models/finding.pyÚ__init__*   s.   %ùù

zFinding.__init__c                 C   ó   | j S )zË
        Gets the key of this Finding.
        A unique identifier for the finding. This is common for the finding across targets.


        :return: The key of this Finding.
        :rtype: str
        ©r   ©r   r    r    r!   r   j   ó   
zFinding.keyc                 C   ó
   || _ dS )zÍ
        Sets the key of this Finding.
        A unique identifier for the finding. This is common for the finding across targets.


        :param key: The key of this Finding.
        :type: str
        Nr$   )r   r   r    r    r!   r   v   ó   

c                 C   r#   )az  
        Gets the severity of this Finding.
        The severity of the finding.

        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 Finding.
        :rtype: str
        )r   r%   r    r    r!   r   ‚   s   zFinding.severityc                 C   s    g d¢}t ||ƒsd}|| _dS )z¥
        Sets the severity of this Finding.
        The severity of the finding.


        :param severity: The severity of this Finding.
        :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   r#   )zœ
        Gets the title of this Finding.
        The short title for the finding.


        :return: The title of this Finding.
        :rtype: str
        ©r   r%   r    r    r!   r       r&   zFinding.titlec                 C   r'   )z 
        Sets the title of this Finding.
        The short title for the finding.


        :param title: The title of this Finding.
        :type: str
        Nr)   )r   r   r    r    r!   r   ¬   r(   c                 C   r#   )a*  
        Gets the remarks of this Finding.
        The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.


        :return: The remarks of this Finding.
        :rtype: str
        ©r   r%   r    r    r!   r   ¸   r&   zFinding.remarksc                 C   r'   )a0  
        Sets the remarks of this Finding.
        The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.


        :param remarks: The remarks of this Finding.
        :type: str
        Nr*   )r   r   r    r    r!   r   Ä   r(   c                 C   r#   )a7  
        Gets the details of this Finding.
        The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.


        :return: The details of this Finding.
        :rtype: object
        ©r   r%   r    r    r!   r   Ð   r&   zFinding.detailsc                 C   r'   )a=  
        Sets the details of this Finding.
        The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.


        :param details: The details of this Finding.
        :type: object
        Nr+   )r   r   r    r    r!   r   Ü   r(   c                 C   r#   )a  
        Gets the summary of this Finding.
        The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.


        :return: The summary of this Finding.
        :rtype: str
        ©r   r%   r    r    r!   r   è   r&   zFinding.summaryc                 C   r'   )a  
        Sets the summary of this Finding.
        The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.


        :param summary: The summary of this Finding.
        :type: str
        Nr,   )r   r   r    r    r!   r   ô   r(   c                 C   r#   )a<  
        Gets the references of this Finding.
        Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.


        :return: The references of this Finding.
        :rtype: oci.data_safe.models.References
        ©r   r%   r    r    r!   r      r&   zFinding.referencesc                 C   r'   )aE  
        Sets the references of this Finding.
        Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.


        :param references: The references of this Finding.
        :type: oci.data_safe.models.References
        Nr-   )r   r   r    r    r!   r     r(   c                 C   s   t | ƒS ©N)r   r%   r    r    r!   Ú__repr__  s   zFinding.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr    r    r!   Ú__eq__  s   zFinding.__eq__c                 C   s
   | |k S r.   r    r1   r    r    r!   Ú__ne__!  s   
zFinding.__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   r/   r3   r4   r    r    r    r!   r      sP    @













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r    r    r    r!   Ú<module>   s   