ruạṛ
a ���f�? � @ 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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �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/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�IndicatorSummaryzo Summary of a data signature observed on a network or host that indicates a potential security threat. �DOMAIN_NAME� FILE_NAME�MD5_HASH� SHA1_HASH�SHA256_HASH� IP_ADDRESS�URL�ACTIVE�DELETEDc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a� Initializes a new IndicatorSummary 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 IndicatorSummary. :type id: str :param type: The value to assign to the type property of this IndicatorSummary. Allowed values for this property are: "DOMAIN_NAME", "FILE_NAME", "MD5_HASH", "SHA1_HASH", "SHA256_HASH", "IP_ADDRESS", "URL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param value: The value to assign to the value property of this IndicatorSummary. :type value: str :param confidence: The value to assign to the confidence property of this IndicatorSummary. :type confidence: int :param compartment_id: The value to assign to the compartment_id property of this IndicatorSummary. :type compartment_id: str :param threat_types: The value to assign to the threat_types property of this IndicatorSummary. :type threat_types: list[str] :param attributes: The value to assign to the attributes property of this IndicatorSummary. :type attributes: list[oci.threat_intelligence.models.IndicatorAttributeSummary] :param lifecycle_state: The value to assign to the lifecycle_state property of this IndicatorSummary. Allowed values for this property are: "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this IndicatorSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this IndicatorSummary. :type time_updated: datetime :param time_last_seen: The value to assign to the time_last_seen property of this IndicatorSummary. :type time_last_seen: datetime :param geodata: The value to assign to the geodata property of this IndicatorSummary. :type geodata: oci.threat_intelligence.models.GeodataDetails �str�intz list[str]zlist[IndicatorAttributeSummary]ZdatetimeZGeodataDetails)�id�type�value� confidence�compartment_id�threat_types� attributes�lifecycle_state�time_created�time_updated�time_last_seen�geodatar r r r Z compartmentIdZthreatTypesr ZlifecycleStateZtimeCreatedZtimeUpdatedZtimeLastSeenr N)Z swagger_typesZ attribute_map�_id�_type�_value�_confidence�_compartment_id� _threat_types�_attributes�_lifecycle_state� _time_created� _time_updated�_time_last_seen�_geodata)�self�kwargs� r, �T/usr/lib/python3.9/site-packages/oci/threat_intelligence/models/indicator_summary.py�__init__6 sL ;��zIndicatorSummary.__init__c C s | j S )z� **[Required]** Gets the id of this IndicatorSummary. The OCID of the indicator. :return: The id of this IndicatorSummary. :rtype: str �r �r* r, r, r- r � s zIndicatorSummary.idc C s || _ dS )z� Sets the id of this IndicatorSummary. The OCID of the indicator. :param id: The id of this IndicatorSummary. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )a� **[Required]** Gets the type of this IndicatorSummary. The type of indicator. Allowed values for this property are: "DOMAIN_NAME", "FILE_NAME", "MD5_HASH", "SHA1_HASH", "SHA256_HASH", "IP_ADDRESS", "URL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this IndicatorSummary. :rtype: str )r r0 r, r, r- r � s zIndicatorSummary.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this IndicatorSummary. The type of indicator. :param type: The type of this IndicatorSummary. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r* r �allowed_valuesr, r, r- r � s c C s | j S )z� **[Required]** Gets the value of this IndicatorSummary. The indicator data value. :return: The value of this IndicatorSummary. :rtype: str �r r0 r, r, r- r � s zIndicatorSummary.valuec C s || _ dS )z� Sets the value of this IndicatorSummary. The indicator data value. :param value: The value of this IndicatorSummary. :type: str Nr3 )r* r r, r, r- r � s c C s | j S )a� Gets the confidence of this IndicatorSummary. An integer from 0 to 100 that represents how certain we are that the indicator is malicious and a potential threat if it is detected communicating with your cloud resources. This confidence value is aggregated from the confidence in the threat types, attributes, and relationships to create an overall value for the indicator. :return: The confidence of this IndicatorSummary. :rtype: int �r! r0 r, r, r- r � s zIndicatorSummary.confidencec C s || _ dS )a� Sets the confidence of this IndicatorSummary. An integer from 0 to 100 that represents how certain we are that the indicator is malicious and a potential threat if it is detected communicating with your cloud resources. This confidence value is aggregated from the confidence in the threat types, attributes, and relationships to create an overall value for the indicator. :param confidence: The confidence of this IndicatorSummary. :type: int Nr4 )r* r r, r, r- r � s c C s | j S )z� Gets the compartment_id of this IndicatorSummary. The OCID of the compartment that contains this indicator. :return: The compartment_id of this IndicatorSummary. :rtype: str �r"