ruạṛ
a ���f�G � @ 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"ed8d9� �Z#e#jd:d9� �Z#d;d<� Z$d=d>� Z%d?d@� Z&dAS )B�HostVulnerabilityzJ A vulnerability found in one or more host scans in a compartment �NONE�LOW�MEDIUM�HIGH�CRITICAL�OPEN�FIXED�NOT_APPLICABLE�CVE�PROBLEM�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new HostVulnerability 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 HostVulnerability. :type id: str :param compartment_id: The value to assign to the compartment_id property of this HostVulnerability. :type compartment_id: str :param authentication: The value to assign to the authentication property of this HostVulnerability. :type authentication: str :param cve_reference: The value to assign to the cve_reference property of this HostVulnerability. :type cve_reference: str :param cve_details: The value to assign to the cve_details property of this HostVulnerability. :type cve_details: oci.vulnerability_scanning.models.CveDetails :param severity: The value to assign to the severity property of this HostVulnerability. 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 HostVulnerability. 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 HostVulnerability. :type name: str :param time_last_detected: The value to assign to the time_last_detected property of this HostVulnerability. :type time_last_detected: datetime :param time_first_detected: The value to assign to the time_first_detected property of this HostVulnerability. :type time_first_detected: datetime :param host_count: The value to assign to the host_count property of this HostVulnerability. :type host_count: int :param vulnerability_type: The value to assign to the vulnerability_type property of this HostVulnerability. 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 HostVulnerability. 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 �strZ CveDetailsZdatetime�int) �id�compartment_id�authentication� cve_reference�cve_details�severity�state�name�time_last_detected�time_first_detected� host_count�vulnerability_type�lifecycle_stater Z compartmentIdr ZcveReferenceZ cveDetailsr r r ZtimeLastDetectedZtimeFirstDetectedZ hostCountZvulnerabilityTypeZlifecycleStateN)Z swagger_typesZ attribute_map�_id�_compartment_id�_authentication�_cve_reference�_cve_details� _severity�_state�_name�_time_last_detected�_time_first_detected�_host_count�_vulnerability_type�_lifecycle_state)�self�kwargs� r5 �X/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/host_vulnerability.py�__init__R sR C��zHostVulnerability.__init__c C s | j S )z� **[Required]** Gets the id of this HostVulnerability. ID of the vulnerability :return: The id of this HostVulnerability. :rtype: str �r&