ruạṛ
a ���fOB � @ 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!d5d6� Z"d7d8� Z#d9d:� Z$d;S )<�HostVulnerabilitySummaryz. Summary of a host scan vulnerability �NONE�LOW�MEDIUM�HIGH�CRITICAL�OPEN�FIXED�NOT_APPLICABLE�CVE�PROBLEM�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddd�| _ ddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new HostVulnerabilitySummary 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 HostVulnerabilitySummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this HostVulnerabilitySummary. :type compartment_id: str :param cve_reference: The value to assign to the cve_reference property of this HostVulnerabilitySummary. :type cve_reference: str :param severity: The value to assign to the severity property of this HostVulnerabilitySummary. 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 HostVulnerabilitySummary. 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 name: The value to assign to the name property of this HostVulnerabilitySummary. :type name: str :param time_last_detected: The value to assign to the time_last_detected property of this HostVulnerabilitySummary. :type time_last_detected: datetime :param time_first_detected: The value to assign to the time_first_detected property of this HostVulnerabilitySummary. :type time_first_detected: datetime :param host_count: The value to assign to the host_count property of this HostVulnerabilitySummary. :type host_count: int :param vulnerability_type: The value to assign to the vulnerability_type property of this HostVulnerabilitySummary. 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 HostVulnerabilitySummary. 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 �strZdatetime�int)�id�compartment_id� cve_reference�severity�state�name�time_last_detected�time_first_detected� host_count�vulnerability_type�lifecycle_stater Z compartmentIdZcveReferencer r r ZtimeLastDetectedZtimeFirstDetectedZ hostCountZvulnerabilityTypeZlifecycleStateN) Z swagger_typesZ attribute_map�_id�_compartment_id�_cve_reference� _severity�_state�_name�_time_last_detected�_time_first_detected�_host_count�_vulnerability_type�_lifecycle_state)�self�kwargs� r1 �`/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/host_vulnerability_summary.py�__init__R sF ;��z!HostVulnerabilitySummary.__init__c C s | j S )z� **[Required]** Gets the id of this HostVulnerabilitySummary. ID of the vulnerability :return: The id of this HostVulnerabilitySummary. :rtype: str �r$ �r/ r1 r1 r2 r � s zHostVulnerabilitySummary.idc C s || _ dS )z� Sets the id of this HostVulnerabilitySummary. ID of the vulnerability :param id: The id of this HostVulnerabilitySummary. :type: str Nr4 )r/ r r1 r1 r2 r � s c C s | j S )a, **[Required]** Gets the compartment_id of this HostVulnerabilitySummary. Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments. :return: The compartment_id of this HostVulnerabilitySummary. :rtype: str �r% r5 r1 r1 r2 r � s z'HostVulnerabilitySummary.compartment_idc C s || _ dS )a* Sets the compartment_id of this HostVulnerabilitySummary. Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments. :param compartment_id: The compartment_id of this HostVulnerabilitySummary. :type: str Nr6 )r/ r r1 r1 r2 r � s c C s | j S )z� Gets the cve_reference of this HostVulnerabilitySummary. Reference to MITRE CVE ID :return: The cve_reference of this HostVulnerabilitySummary. :rtype: str �r&