ruạṛ
a ���fgI � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zd=d>� Zd?d@� ZdAdB� Z dCS )D�Resourcez) Details of cloud guard resource �CRITICAL�HIGH�MEDIUM�LOW�MINOR�NONEc K s� dddddddddddddddddd�| _ dd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new Resource 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 Resource. :type id: str :param resource_name: The value to assign to the resource_name property of this Resource. :type resource_name: str :param resource_type: The value to assign to the resource_type property of this Resource. :type resource_type: str :param compartment_id: The value to assign to the compartment_id property of this Resource. :type compartment_id: str :param target_id: The value to assign to the target_id property of this Resource. :type target_id: str :param target_name: The value to assign to the target_name property of this Resource. :type target_name: str :param region: The value to assign to the region property of this Resource. :type region: str :param risk_level: The value to assign to the risk_level property of this Resource. Allowed values for this property are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "MINOR", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type risk_level: str :param time_first_monitored: The value to assign to the time_first_monitored property of this Resource. :type time_first_monitored: datetime :param time_last_monitored: The value to assign to the time_last_monitored property of this Resource. :type time_last_monitored: datetime :param problem_count: The value to assign to the problem_count property of this Resource. :type problem_count: int :param vulnerability_count: The value to assign to the vulnerability_count property of this Resource. :type vulnerability_count: int :param open_ports_count: The value to assign to the open_ports_count property of this Resource. :type open_ports_count: int :param additional_details: The value to assign to the additional_details property of this Resource. :type additional_details: oci.cloud_guard.models.ResourceAdditionalDetails :param freeform_tags: The value to assign to the freeform_tags property of this Resource. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Resource. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Resource. :type system_tags: dict(str, dict(str, object)) �strZdatetime�intZResourceAdditionalDetailszdict(str, str)zdict(str, dict(str, object)))�id� resource_name� resource_type�compartment_id� target_id�target_name�region� risk_level�time_first_monitored�time_last_monitored� problem_count�vulnerability_count�open_ports_count�additional_details� freeform_tags�defined_tags�system_tagsr ZresourceNameZresourceTypeZ compartmentIdZtargetIdZ targetNamer Z riskLevelZtimeFirstMonitoredZtimeLastMonitoredZproblemCountZvulnerabilityCountZopenPortsCountZadditionalDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_resource_name�_resource_type�_compartment_id� _target_id�_target_name�_region�_risk_level�_time_first_monitored�_time_last_monitored�_problem_count�_vulnerability_count�_open_ports_count�_additional_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r3 �C/usr/lib/python3.9/site-packages/oci/cloud_guard/models/resource.py�__init__* sj M��zResource.__init__c C s | j S )z� **[Required]** Gets the id of this Resource. Ocid for CG resource :return: The id of this Resource. :rtype: str �r �r1 r3 r3 r4 r � s zResource.idc C s || _ dS )z� Sets the id of this Resource. Ocid for CG resource :param id: The id of this Resource. :type: str Nr6 )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the resource_name of this Resource. Name for the CG resource :return: The resource_name of this Resource. :rtype: str �r! r7 r3 r3 r4 r � s zResource.resource_namec C s || _ dS )z� Sets the resource_name of this Resource. Name for the CG resource :param resource_name: The resource_name of this Resource. :type: str Nr8 )r1 r r3 r3 r4 r � s c C s | j S )z� **[Required]** Gets the resource_type of this Resource. resource type of the CG resource :return: The resource_type of this Resource. :rtype: str �r"