ruạṛ
a ���fBG � @ 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 d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �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� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zd5d6� Zd7d8� Zd9d:� Zd;S )<�SecurityZonez� A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartment (and any subcompartments in the zone) that violate a policy are denied. �CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )ab Initializes a new SecurityZone 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 SecurityZone. :type id: str :param display_name: The value to assign to the display_name property of this SecurityZone. :type display_name: str :param description: The value to assign to the description property of this SecurityZone. :type description: str :param compartment_id: The value to assign to the compartment_id property of this SecurityZone. :type compartment_id: str :param security_zone_recipe_id: The value to assign to the security_zone_recipe_id property of this SecurityZone. :type security_zone_recipe_id: str :param security_zone_target_id: The value to assign to the security_zone_target_id property of this SecurityZone. :type security_zone_target_id: str :param inherited_by_compartments: The value to assign to the inherited_by_compartments property of this SecurityZone. :type inherited_by_compartments: list[str] :param time_created: The value to assign to the time_created property of this SecurityZone. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SecurityZone. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SecurityZone. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this SecurityZone. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this SecurityZone. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SecurityZone. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SecurityZone. :type system_tags: dict(str, dict(str, object)) �strz list[str]Zdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�description�compartment_id�security_zone_recipe_id�security_zone_target_id�inherited_by_compartments�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr ZdisplayNamer Z compartmentIdZsecurityZoneRecipeIdZsecurityZoneTargetIdZinheritedByCompartmentsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_description�_compartment_id�_security_zone_recipe_id�_security_zone_target_id�_inherited_by_compartments� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r- �H/usr/lib/python3.9/site-packages/oci/cloud_guard/models/security_zone.py�__init__0 sX A��zSecurityZone.__init__c C s | j S )u� **[Required]** Gets the id of this SecurityZone. Unique identifier that can’t be changed after creation :return: The id of this SecurityZone. :rtype: str �r �r+ r- r- r. r � s zSecurityZone.idc C s || _ dS )u� Sets the id of this SecurityZone. Unique identifier that can’t be changed after creation :param id: The id of this SecurityZone. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )z� Gets the display_name of this SecurityZone. The security zone's display name :return: The display_name of this SecurityZone. :rtype: str �r r1 r- r- r. r � s zSecurityZone.display_namec C s || _ dS )z� Sets the display_name of this SecurityZone. The security zone's display name :param display_name: The display_name of this SecurityZone. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )z� Gets the description of this SecurityZone. The security zone's description :return: The description of this SecurityZone. :rtype: str �r r1 r- r- r. r � s zSecurityZone.descriptionc C s || _ dS )z� Sets the description of this SecurityZone. The security zone's description :param description: The description of this SecurityZone. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )z� **[Required]** Gets the compartment_id of this SecurityZone. The OCID of the compartment for the security zone :return: The compartment_id of this SecurityZone. :rtype: str �r r1 r- r- r. r � s zSecurityZone.compartment_idc C s || _ dS )z� Sets the compartment_id of this SecurityZone. The OCID of the compartment for the security zone :param compartment_id: The compartment_id of this SecurityZone. :type: str Nr4 )r+ r r- r- r. r � s c C s | j S )a **[Required]** Gets the security_zone_recipe_id of this SecurityZone. The OCID of the recipe (`SecurityRecipe` resource) for the security zone :return: The security_zone_recipe_id of this SecurityZone. :rtype: str �r! r1 r- r- r. r s z$SecurityZone.security_zone_recipe_idc C s || _ dS )a Sets the security_zone_recipe_id of this SecurityZone. The OCID of the recipe (`SecurityRecipe` resource) for the security zone :param security_zone_recipe_id: The security_zone_recipe_id of this SecurityZone. :type: str Nr5 )r+ r r- r- r. r s c C s | j S )z� Gets the security_zone_target_id of this SecurityZone. The OCID of the target associated with the security zone :return: The security_zone_target_id of this SecurityZone. :rtype: str �r"