ruạṛ
a ���f�D � @ 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/� �Zed1d2� �Zejd3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );� Indicatorz� A data signature observed on a network or host that indicates a potential security threat. Indicators can be plain text or computed (hashed) values. �DOMAIN_NAME� FILE_NAME�MD5_HASH� SHA1_HASH�SHA256_HASH� IP_ADDRESS�URL�ACTIVE�DELETEDc K s� dddddddddddddd� | _ d d ddd ddddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a? Initializes a new Indicator 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 Indicator. :type id: str :param type: The value to assign to the type property of this 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'. :type type: str :param value: The value to assign to the value property of this Indicator. :type value: str :param confidence: The value to assign to the confidence property of this Indicator. :type confidence: int :param compartment_id: The value to assign to the compartment_id property of this Indicator. :type compartment_id: str :param threat_types: The value to assign to the threat_types property of this Indicator. :type threat_types: list[oci.threat_intelligence.models.ThreatType] :param attributes: The value to assign to the attributes property of this Indicator. :type attributes: list[oci.threat_intelligence.models.IndicatorAttribute] :param relationships: The value to assign to the relationships property of this Indicator. :type relationships: list[oci.threat_intelligence.models.IndicatorRelationship] :param lifecycle_state: The value to assign to the lifecycle_state property of this Indicator. 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 Indicator. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Indicator. :type time_updated: datetime :param time_last_seen: The value to assign to the time_last_seen property of this Indicator. :type time_last_seen: datetime :param geodata: The value to assign to the geodata property of this Indicator. :type geodata: oci.threat_intelligence.models.GeodataDetails �str�intzlist[ThreatType]zlist[IndicatorAttribute]zlist[IndicatorRelationship]ZdatetimeZGeodataDetails) �id�type�value� confidence�compartment_id�threat_types� attributes� relationships�lifecycle_state�time_created�time_updated�time_last_seen�geodatar r r r Z compartmentIdZthreatTypesr r ZlifecycleStateZtimeCreatedZtimeUpdatedZtimeLastSeenr N)Z swagger_typesZ attribute_map�_id�_type�_value�_confidence�_compartment_id� _threat_types�_attributes�_relationships�_lifecycle_state� _time_created� _time_updated�_time_last_seen�_geodata)�self�kwargs� r. �L/usr/lib/python3.9/site-packages/oci/threat_intelligence/models/indicator.py�__init__6 sR ?��zIndicator.__init__c C s | j S )z� **[Required]** Gets the id of this Indicator. The OCID of the indicator. :return: The id of this Indicator. :rtype: str �r �r, r. r. r/ r � s zIndicator.idc C s || _ dS )z� Sets the id of this Indicator. The OCID of the indicator. :param id: The id of this Indicator. :type: str Nr1 )r, r r. r. r/ r � s c C s | j S )a� **[Required]** Gets the type of this Indicator. 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 Indicator. :rtype: str )r r2 r. r. r/ r � s zIndicator.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this Indicator. The type of indicator. :param type: The type of this Indicator. :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 )an **[Required]** Gets the value of this Indicator. The value for this indicator. The value's format is dependent upon its `type`. Examples: DOMAIN_NAME "evil.example.com" MD5_HASH "44d88612fea8a8f36de82e1278abb02f" IP_ADDRESS "2001:db8::1" :return: The value of this Indicator. :rtype: str �r! r2 r. r. r/ r � s zIndicator.valuec C s || _ dS )ac Sets the value of this Indicator. The value for this indicator. The value's format is dependent upon its `type`. Examples: DOMAIN_NAME "evil.example.com" MD5_HASH "44d88612fea8a8f36de82e1278abb02f" IP_ADDRESS "2001:db8::1" :param value: The value of this Indicator. :type: str Nr5 )r, r r. r. r/ r � s c C s | j S )a� Gets the confidence of this Indicator. 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 Indicator. :rtype: int �r"