ruạṛ
a ���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 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� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�ResourceSummaryz Summary of CG Resource �CRITICAL�HIGH�MEDIUM�LOW�MINOR�NONEc K s� ddddddddddddddd�| _ dddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new ResourceSummary 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 ResourceSummary. :type id: str :param resource_name: The value to assign to the resource_name property of this ResourceSummary. :type resource_name: str :param resource_type: The value to assign to the resource_type property of this ResourceSummary. :type resource_type: str :param compartment_id: The value to assign to the compartment_id property of this ResourceSummary. :type compartment_id: str :param target_id: The value to assign to the target_id property of this ResourceSummary. :type target_id: str :param target_name: The value to assign to the target_name property of this ResourceSummary. :type target_name: str :param region: The value to assign to the region property of this ResourceSummary. :type region: str :param risk_level: The value to assign to the risk_level property of this ResourceSummary. 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 problem_count: The value to assign to the problem_count property of this ResourceSummary. :type problem_count: int :param vulnerability_count: The value to assign to the vulnerability_count property of this ResourceSummary. :type vulnerability_count: int :param open_ports_count: The value to assign to the open_ports_count property of this ResourceSummary. :type open_ports_count: int :param freeform_tags: The value to assign to the freeform_tags property of this ResourceSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ResourceSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ResourceSummary. :type system_tags: dict(str, dict(str, object)) �str�intzdict(str, str)zdict(str, dict(str, object)))�id� resource_name� resource_type�compartment_id� target_id�target_name�region� risk_level� problem_count�vulnerability_count�open_ports_count� freeform_tags�defined_tags�system_tagsr ZresourceNameZresourceTypeZ compartmentIdZtargetIdZ targetNamer Z riskLevelZproblemCountZvulnerabilityCountZopenPortsCountZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_resource_name�_resource_type�_compartment_id� _target_id�_target_name�_region�_risk_level�_problem_count�_vulnerability_count�_open_ports_count�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r- �K/usr/lib/python3.9/site-packages/oci/cloud_guard/models/resource_summary.py�__init__* sX A��zResourceSummary.__init__c C s | j S )z� **[Required]** Gets the id of this ResourceSummary. Ocid for CG resource :return: The id of this ResourceSummary. :rtype: str �r �r+ r- r- r. r � s zResourceSummary.idc C s || _ dS )z� Sets the id of this ResourceSummary. Ocid for CG resource :param id: The id of this ResourceSummary. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )z� Gets the resource_name of this ResourceSummary. name of the CG resource :return: The resource_name of this ResourceSummary. :rtype: str �r r1 r- r- r. r � s zResourceSummary.resource_namec C s || _ dS )z� Sets the resource_name of this ResourceSummary. name of the CG resource :param resource_name: The resource_name of this ResourceSummary. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )z� Gets the resource_type of this ResourceSummary. resource type of the CG resource :return: The resource_type of this ResourceSummary. :rtype: str �r r1 r- r- r. r � s zResourceSummary.resource_typec C s || _ dS )z� Sets the resource_type of this ResourceSummary. resource type of the CG resource :param resource_type: The resource_type of this ResourceSummary. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ResourceSummary. CompartmentId of CG Resource :return: The compartment_id of this ResourceSummary. :rtype: str �r r1 r- r- r. r � s zResourceSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this ResourceSummary. CompartmentId of CG Resource :param compartment_id: The compartment_id of this ResourceSummary. :type: str Nr4 )r+ r r- r- r. r � s c C s | j S )z� Gets the target_id of this ResourceSummary. TargetId of CG Resource :return: The target_id of this ResourceSummary. :rtype: str �r! r1 r- r- r. r � s zResourceSummary.target_idc C s || _ dS )z� Sets the target_id of this ResourceSummary. TargetId of CG Resource :param target_id: The target_id of this ResourceSummary. :type: str Nr5 )r+ r r- r- r. r s c C s | j S )z� Gets the target_name of this ResourceSummary. Target name for the CG Resource :return: The target_name of this ResourceSummary. :rtype: str �r"