o
    ɶdY                     @   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                   @   sZ  e Zd ZdZdZdZdZdZdZdZ	d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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/d0 Z!e!jd1d0 Z!ed2d3 Z"e"jd4d3 Z"ed5d6 Z#e#jd7d6 Z#ed8d9 Z$e$jd:d9 Z$ed;d< Z%e%jd=d< Z%ed>d? Z&e&jd@d? Z&edAdB Z'e'jdCdB Z'edDdE Z(e(jdFdE Z(dGdH Z)dIdJ Z*dKdL Z+dMS )NSightingz
    Sighting details.
    FALSE_NEGATIVETRUE_NEGATIVEFALSE_POSITIVETRUE_POSITIVENOT_CLASSIFIEDCRITICALHIGHMEDIUMLOWMINORc                 K   sb  i ddddddddddddddd	dd
dddddddddddddddddddd| _ i ddddddddddddddd	dd
ddddd dd!dd"dddddd#d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 Sighting 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 Sighting.
        :type id: str

        :param description:
            The value to assign to the description property of this Sighting.
        :type description: str

        :param problem_id:
            The value to assign to the problem_id property of this Sighting.
        :type problem_id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Sighting.
        :type compartment_id: str

        :param actor_principal_id:
            The value to assign to the actor_principal_id property of this Sighting.
        :type actor_principal_id: str

        :param actor_principal_name:
            The value to assign to the actor_principal_name property of this Sighting.
        :type actor_principal_name: str

        :param actor_principal_type:
            The value to assign to the actor_principal_type property of this Sighting.
        :type actor_principal_type: str

        :param classification_status:
            The value to assign to the classification_status property of this Sighting.
            Allowed values for this property are: "FALSE_NEGATIVE", "TRUE_NEGATIVE", "FALSE_POSITIVE", "TRUE_POSITIVE", "NOT_CLASSIFIED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type classification_status: str

        :param sighting_type:
            The value to assign to the sighting_type property of this Sighting.
        :type sighting_type: str

        :param sighting_type_display_name:
            The value to assign to the sighting_type_display_name property of this Sighting.
        :type sighting_type_display_name: str

        :param tactic_name:
            The value to assign to the tactic_name property of this Sighting.
        :type tactic_name: str

        :param technique_name:
            The value to assign to the technique_name property of this Sighting.
        :type technique_name: str

        :param sighting_score:
            The value to assign to the sighting_score property of this Sighting.
        :type sighting_score: int

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

        :param confidence:
            The value to assign to the confidence property of this Sighting.
            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 confidence: str

        :param time_first_detected:
            The value to assign to the time_first_detected property of this Sighting.
        :type time_first_detected: datetime

        :param time_last_detected:
            The value to assign to the time_last_detected property of this Sighting.
        :type time_last_detected: datetime

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

        :param additional_details:
            The value to assign to the additional_details property of this Sighting.
        :type additional_details: dict(str, str)

        idstrdescription
problem_idcompartment_idactor_principal_idactor_principal_nameactor_principal_typeclassification_statussighting_typesighting_type_display_nametactic_nametechnique_namesighting_scoreintseverity
confidencetime_first_detecteddatetimetime_last_detectedz	list[str]zdict(str, str))regionsadditional_detailsZ	problemIdZcompartmentIdZactorPrincipalIdZactorPrincipalNameZactorPrincipalTypeZclassificationStatusZsightingTypeZsightingTypeDisplayNameZ
tacticNameZtechniqueNameZsightingScoreZtimeFirstDetectedZtimeLastDetectedr%   ZadditionalDetailsN)Zswagger_typesZattribute_map_id_description_problem_id_compartment_id_actor_principal_id_actor_principal_name_actor_principal_type_classification_status_sighting_type_sighting_type_display_name_tactic_name_technique_name_sighting_score	_severity_confidence_time_first_detected_time_last_detected_regions_additional_details)selfkwargs r<   Cusr/lib/python3.10/site-packages/oci/cloud_guard/models/sighting.py__init__N   s   X	

	


zSighting.__init__c                 C      | j S )z
        **[Required]** Gets the id of this Sighting.
        Unique identifier for sighting event


        :return: The id of this Sighting.
        :rtype: str
        r'   r:   r<   r<   r=   r         
zSighting.idc                 C   
   || _ dS )z
        Sets the id of this Sighting.
        Unique identifier for sighting event


        :param id: The id of this Sighting.
        :type: str
        Nr@   )r:   r   r<   r<   r=   r         

c                 C   r?   )z
        **[Required]** Gets the description of this Sighting.
        Description of the sighting event


        :return: The description of this Sighting.
        :rtype: str
        r(   rA   r<   r<   r=   r      rB   zSighting.descriptionc                 C   rC   )z
        Sets the description of this Sighting.
        Description of the sighting event


        :param description: The description of this Sighting.
        :type: str
        NrE   )r:   r   r<   r<   r=   r   
  rD   c                 C   r?   )z
        Gets the problem_id of this Sighting.
        Problem Id to which the Sighting is associated


        :return: The problem_id of this Sighting.
        :rtype: str
        r)   rA   r<   r<   r=   r     rB   zSighting.problem_idc                 C   rC   )z
        Sets the problem_id of this Sighting.
        Problem Id to which the Sighting is associated


        :param problem_id: The problem_id of this Sighting.
        :type: str
        NrF   )r:   r   r<   r<   r=   r   "  rD   c                 C   r?   )z
        **[Required]** Gets the compartment_id of this Sighting.
        Compartment Id where the resource is created


        :return: The compartment_id of this Sighting.
        :rtype: str
        r*   rA   r<   r<   r=   r   .  rB   zSighting.compartment_idc                 C   rC   )z
        Sets the compartment_id of this Sighting.
        Compartment Id where the resource is created


        :param compartment_id: The compartment_id of this Sighting.
        :type: str
        NrG   )r:   r   r<   r<   r=   r   :  rD   c                 C   r?   )z
        Gets the actor_principal_id of this Sighting.
        Unique identifier for principal actor


        :return: The actor_principal_id of this Sighting.
        :rtype: str
        r+   rA   r<   r<   r=   r   F  rB   zSighting.actor_principal_idc                 C   rC   )z
        Sets the actor_principal_id of this Sighting.
        Unique identifier for principal actor


        :param actor_principal_id: The actor_principal_id of this Sighting.
        :type: str
        NrH   )r:   r   r<   r<   r=   r   R  rD   c                 C   r?   )z
        Gets the actor_principal_name of this Sighting.
        Name of the principal actor


        :return: The actor_principal_name of this Sighting.
        :rtype: str
        r,   rA   r<   r<   r=   r   ^  rB   zSighting.actor_principal_namec                 C   rC   )z
        Sets the actor_principal_name of this Sighting.
        Name of the principal actor


        :param actor_principal_name: The actor_principal_name of this Sighting.
        :type: str
        NrI   )r:   r   r<   r<   r=   r   j  rD   c                 C   r?   )z
        Gets the actor_principal_type of this Sighting.
        Type of the principal actor


        :return: The actor_principal_type of this Sighting.
        :rtype: str
        r-   rA   r<   r<   r=   r   v  rB   zSighting.actor_principal_typec                 C   rC   )z
        Sets the actor_principal_type of this Sighting.
        Type of the principal actor


        :param actor_principal_type: The actor_principal_type of this Sighting.
        :type: str
        NrJ   )r:   r   r<   r<   r=   r     rD   c                 C   r?   )a  
        **[Required]** Gets the classification_status of this Sighting.
        ClassificationStatus of the sighting event

        Allowed values for this property are: "FALSE_NEGATIVE", "TRUE_NEGATIVE", "FALSE_POSITIVE", "TRUE_POSITIVE", "NOT_CLASSIFIED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The classification_status of this Sighting.
        :rtype: str
        )r.   rA   r<   r<   r=   r        zSighting.classification_statusc                 C       g d}t ||sd}|| _dS )z
        Sets the classification_status of this Sighting.
        ClassificationStatus of the sighting event


        :param classification_status: The classification_status of this Sighting.
        :type: str
        )r   r   r	   r
   r   UNKNOWN_ENUM_VALUEN)r   r.   )r:   r   allowed_valuesr<   r<   r=   r        


c                 C   r?   )z
        **[Required]** Gets the sighting_type of this Sighting.
        Identifier for the sighting type


        :return: The sighting_type of this Sighting.
        :rtype: str
        r/   rA   r<   r<   r=   r     rB   zSighting.sighting_typec                 C   rC   )z
        Sets the sighting_type of this Sighting.
        Identifier for the sighting type


        :param sighting_type: The sighting_type of this Sighting.
        :type: str
        NrP   )r:   r   r<   r<   r=   r     rD   c                 C   r?   )z
        **[Required]** Gets the sighting_type_display_name of this Sighting.
        Display name of the sighting type


        :return: The sighting_type_display_name of this Sighting.
        :rtype: str
        r0   rA   r<   r<   r=   r     rB   z#Sighting.sighting_type_display_namec                 C   rC   )z
        Sets the sighting_type_display_name of this Sighting.
        Display name of the sighting type


        :param sighting_type_display_name: The sighting_type_display_name of this Sighting.
        :type: str
        NrQ   )r:   r   r<   r<   r=   r     rD   c                 C   r?   )z
        **[Required]** Gets the tactic_name of this Sighting.
        Name of the Mitre att&ck tactic


        :return: The tactic_name of this Sighting.
        :rtype: str
        r1   rA   r<   r<   r=   r     rB   zSighting.tactic_namec                 C   rC   )z
        Sets the tactic_name of this Sighting.
        Name of the Mitre att&ck tactic


        :param tactic_name: The tactic_name of this Sighting.
        :type: str
        NrR   )r:   r   r<   r<   r=   r     rD   c                 C   r?   )z
        **[Required]** Gets the technique_name of this Sighting.
        Name of the Mitre att&ck technique


        :return: The technique_name of this Sighting.
        :rtype: str
        r2   rA   r<   r<   r=   r     rB   zSighting.technique_namec                 C   rC   )z
        Sets the technique_name of this Sighting.
        Name of the Mitre att&ck technique


        :param technique_name: The technique_name of this Sighting.
        :type: str
        NrS   )r:   r   r<   r<   r=   r      rD   c                 C   r?   )z
        **[Required]** Gets the sighting_score of this Sighting.
        Score for the sighting


        :return: The sighting_score of this Sighting.
        :rtype: int
        r3   rA   r<   r<   r=   r     rB   zSighting.sighting_scorec                 C   rC   )z
        Sets the sighting_score of this Sighting.
        Score for the sighting


        :param sighting_score: The sighting_score of this Sighting.
        :type: int
        NrT   )r:   r   r<   r<   r=   r     rD   c                 C   r?   )a|  
        **[Required]** Gets the severity of this Sighting.
        Severity of the sighting

        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 severity of this Sighting.
        :rtype: str
        )r4   rA   r<   r<   r=   r    $  rK   zSighting.severityc                 C   rL   )z
        Sets the severity of this Sighting.
        Severity of the sighting


        :param severity: The severity of this Sighting.
        :type: str
        r   r   r   r   r   rM   N)r   r4   )r:   r    rN   r<   r<   r=   r    3  rO   c                 C   r?   )a  
        **[Required]** Gets the confidence of this Sighting.
        Confidence of the sighting

        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 confidence of this Sighting.
        :rtype: str
        )r5   rA   r<   r<   r=   r!   B  rK   zSighting.confidencec                 C   rL   )z
        Sets the confidence of this Sighting.
        Confidence of the sighting


        :param confidence: The confidence of this Sighting.
        :type: str
        rU   rM   N)r   r5   )r:   r!   rN   r<   r<   r=   r!   Q  rO   c                 C   r?   )z
        **[Required]** Gets the time_first_detected of this Sighting.
        The date and time the sighting was first detected. Format defined by RFC3339.


        :return: The time_first_detected of this Sighting.
        :rtype: datetime
        r6   rA   r<   r<   r=   r"   `  rB   zSighting.time_first_detectedc                 C   rC   )z
        Sets the time_first_detected of this Sighting.
        The date and time the sighting was first detected. Format defined by RFC3339.


        :param time_first_detected: The time_first_detected of this Sighting.
        :type: datetime
        NrV   )r:   r"   r<   r<   r=   r"   l  rD   c                 C   r?   )z
        **[Required]** Gets the time_last_detected of this Sighting.
        The date and time the sighting was last detected. Format defined by RFC3339.


        :return: The time_last_detected of this Sighting.
        :rtype: datetime
        r7   rA   r<   r<   r=   r$   x  rB   zSighting.time_last_detectedc                 C   rC   )z
        Sets the time_last_detected of this Sighting.
        The date and time the sighting was last detected. Format defined by RFC3339.


        :param time_last_detected: The time_last_detected of this Sighting.
        :type: datetime
        NrW   )r:   r$   r<   r<   r=   r$     rD   c                 C   r?   )z
        **[Required]** Gets the regions of this Sighting.
        regions involved in the sighting


        :return: The regions of this Sighting.
        :rtype: list[str]
        r8   rA   r<   r<   r=   r%     rB   zSighting.regionsc                 C   rC   )z
        Sets the regions of this Sighting.
        regions involved in the sighting


        :param regions: The regions of this Sighting.
        :type: list[str]
        NrX   )r:   r%   r<   r<   r=   r%     rD   c                 C   r?   )z
        Gets the additional_details of this Sighting.
        The additional details of the Sighting


        :return: The additional_details of this Sighting.
        :rtype: dict(str, str)
        r9   rA   r<   r<   r=   r&     rB   zSighting.additional_detailsc                 C   rC   )z
        Sets the additional_details of this Sighting.
        The additional details of the Sighting


        :param additional_details: The additional_details of this Sighting.
        :type: dict(str, str)
        NrY   )r:   r&   r<   r<   r=   r&     rD   c                 C   s   t | S N)r   rA   r<   r<   r=   __repr__  s   zSighting.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r:   otherr<   r<   r=   __eq__  s   zSighting.__eq__c                 C   s
   | |k S rZ   r<   r]   r<   r<   r=   __ne__  s   
zSighting.__ne__N),__name__
__module____qualname____doc__Z$CLASSIFICATION_STATUS_FALSE_NEGATIVEZ#CLASSIFICATION_STATUS_TRUE_NEGATIVEZ$CLASSIFICATION_STATUS_FALSE_POSITIVEZ#CLASSIFICATION_STATUS_TRUE_POSITIVEZ$CLASSIFICATION_STATUS_NOT_CLASSIFIEDZSEVERITY_CRITICALZSEVERITY_HIGHZSEVERITY_MEDIUMZSEVERITY_LOWZSEVERITY_MINORZCONFIDENCE_CRITICALZCONFIDENCE_HIGHZCONFIDENCE_MEDIUMZCONFIDENCE_LOWZCONFIDENCE_MINORr>   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r$   r%   r&   r[   r_   r`   r<   r<   r<   r=   r      s     





































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r<   r<   r<   r=   <module>   s   