ruạṛ
a ���f�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 ZdZ dZd ZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Z e jd1d0� �Z ed2d3� �Z!e!jd4d3� �Z!ed5d6� �Z"e"jd7d6� �Z"d8d9� Z#d:d;� Z$d<d=� Z%d>S )?�VulnerabilitySummaryz) Summary of a scan vulnerability �NONE�LOW�MEDIUM�HIGH�CRITICAL�OPEN�FIXED�NOT_APPLICABLE�CVE�PROBLEM�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddd�| _ ddddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a� Initializes a new VulnerabilitySummary 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 VulnerabilitySummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this VulnerabilitySummary. :type compartment_id: str :param vulnerability_reference: The value to assign to the vulnerability_reference property of this VulnerabilitySummary. :type vulnerability_reference: str :param severity: The value to assign to the severity property of this VulnerabilitySummary. Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type severity: str :param state: The value to assign to the state property of this VulnerabilitySummary. Allowed values for this property are: "OPEN", "FIXED", "NOT_APPLICABLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type state: str :param cve_description: The value to assign to the cve_description property of this VulnerabilitySummary. :type cve_description: str :param name: The value to assign to the name property of this VulnerabilitySummary. :type name: str :param time_last_detected: The value to assign to the time_last_detected property of this VulnerabilitySummary. :type time_last_detected: datetime :param time_first_detected: The value to assign to the time_first_detected property of this VulnerabilitySummary. :type time_first_detected: datetime :param impacted_resources_count: The value to assign to the impacted_resources_count property of this VulnerabilitySummary. :type impacted_resources_count: oci.vulnerability_scanning.models.ImpactedResourcesCount :param vulnerability_type: The value to assign to the vulnerability_type property of this VulnerabilitySummary. Allowed values for this property are: "CVE", "PROBLEM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type vulnerability_type: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VulnerabilitySummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str �strZdatetimeZImpactedResourcesCount)�id�compartment_id�vulnerability_reference�severity�state�cve_description�name�time_last_detected�time_first_detected�impacted_resources_count�vulnerability_type�lifecycle_stater Z compartmentIdZvulnerabilityReferencer r ZcveDescriptionr ZtimeLastDetectedZtimeFirstDetectedZimpactedResourcesCountZvulnerabilityTypeZlifecycleStateN)Z swagger_typesZ attribute_map�_id�_compartment_id�_vulnerability_reference� _severity�_state�_cve_description�_name�_time_last_detected�_time_first_detected�_impacted_resources_count�_vulnerability_type�_lifecycle_state)�self�kwargs� r2 �[/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/vulnerability_summary.py�__init__R sL ?��zVulnerabilitySummary.__init__c C s | j S )z� **[Required]** Gets the id of this VulnerabilitySummary. ID of the vulnerability :return: The id of this VulnerabilitySummary. :rtype: str �r$ �r0 r2 r2 r3 r � s zVulnerabilitySummary.idc C s || _ dS )z� Sets the id of this VulnerabilitySummary. ID of the vulnerability :param id: The id of this VulnerabilitySummary. :type: str Nr5 )r0 r r2 r2 r3 r � s c C s | j S )a$ **[Required]** Gets the compartment_id of this VulnerabilitySummary. Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments. :return: The compartment_id of this VulnerabilitySummary. :rtype: str �r% r6 r2 r2 r3 r � s z#VulnerabilitySummary.compartment_idc C s || _ dS )a" Sets the compartment_id of this VulnerabilitySummary. Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments. :param compartment_id: The compartment_id of this VulnerabilitySummary. :type: str Nr7 )r0 r r2 r2 r3 r � s c C s | j S )a Gets the vulnerability_reference of this VulnerabilitySummary. Reference to the vulnerability type's unique identifier. For CVE, this is the MITRE CVE ID :return: The vulnerability_reference of this VulnerabilitySummary. :rtype: str �r&