ruạṛ
a ���f�D � @ 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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�SecurityRecipez� A security zone recipe (SecurityRecipe resource) is a collection of security zone policies (SecurityPolicy resources). Oracle Cloud Infrastructure enforces these policies on security zones that use the recipe. �CUSTOMER�ORACLE�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a> Initializes a new SecurityRecipe 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 SecurityRecipe. :type id: str :param display_name: The value to assign to the display_name property of this SecurityRecipe. :type display_name: str :param description: The value to assign to the description property of this SecurityRecipe. :type description: str :param compartment_id: The value to assign to the compartment_id property of this SecurityRecipe. :type compartment_id: str :param owner: The value to assign to the owner property of this SecurityRecipe. Allowed values for this property are: "CUSTOMER", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type owner: str :param security_policies: The value to assign to the security_policies property of this SecurityRecipe. :type security_policies: list[str] :param time_created: The value to assign to the time_created property of this SecurityRecipe. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SecurityRecipe. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SecurityRecipe. 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 SecurityRecipe. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this SecurityRecipe. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SecurityRecipe. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SecurityRecipe. :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�owner�security_policies�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr ZdisplayNamer Z compartmentIdr ZsecurityPoliciesZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_description�_compartment_id�_owner�_security_policies� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r- �J/usr/lib/python3.9/site-packages/oci/cloud_guard/models/security_recipe.py�__init__8 sR ?��zSecurityRecipe.__init__c C s | j S )u� **[Required]** Gets the id of this SecurityRecipe. Unique identifier that can’t be changed after creation :return: The id of this SecurityRecipe. :rtype: str �r �r+ r- r- r. r � s zSecurityRecipe.idc C s || _ dS )u� Sets the id of this SecurityRecipe. Unique identifier that can’t be changed after creation :param id: The id of this SecurityRecipe. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )z� Gets the display_name of this SecurityRecipe. The recipe's display name :return: The display_name of this SecurityRecipe. :rtype: str �r r1 r- r- r. r � s zSecurityRecipe.display_namec C s || _ dS )z� Sets the display_name of this SecurityRecipe. The recipe's display name :param display_name: The display_name of this SecurityRecipe. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )z� Gets the description of this SecurityRecipe. The recipe's description :return: The description of this SecurityRecipe. :rtype: str �r r1 r- r- r. r � s zSecurityRecipe.descriptionc C s || _ dS )z� Sets the description of this SecurityRecipe. The recipe's description :param description: The description of this SecurityRecipe. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )z� **[Required]** Gets the compartment_id of this SecurityRecipe. The OCID of the compartment that contains the recipe :return: The compartment_id of this SecurityRecipe. :rtype: str �r! r1 r- r- r. r � s zSecurityRecipe.compartment_idc C s || _ dS )z� Sets the compartment_id of this SecurityRecipe. The OCID of the compartment that contains the recipe :param compartment_id: The compartment_id of this SecurityRecipe. :type: str Nr4 )r+ r r- r- r. r � s c C s | j S )ai **[Required]** Gets the owner of this SecurityRecipe. The owner of the recipe Allowed values for this property are: "CUSTOMER", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The owner of this SecurityRecipe. :rtype: str )r"