ruạṛ
a ���fcN � @ 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� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zd=d>� Z d?d@� Z!dAdB� Z"dCS )D�SecurityPolicya A security policy (SecurityPolicy resource) defines security requirements for resources in a security zone. If a security zone enables a security policy through a security recipe (SecurityRecipe resource), then any action that would violate that policy is blocked. �CUSTOMER�ORACLE�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddddd�| _ dd d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new SecurityPolicy 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 SecurityPolicy. :type id: str :param friendly_name: The value to assign to the friendly_name property of this SecurityPolicy. :type friendly_name: str :param display_name: The value to assign to the display_name property of this SecurityPolicy. :type display_name: str :param description: The value to assign to the description property of this SecurityPolicy. :type description: str :param compartment_id: The value to assign to the compartment_id property of this SecurityPolicy. :type compartment_id: str :param owner: The value to assign to the owner property of this SecurityPolicy. 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 category: The value to assign to the category property of this SecurityPolicy. :type category: str :param services: The value to assign to the services property of this SecurityPolicy. :type services: list[str] :param time_created: The value to assign to the time_created property of this SecurityPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SecurityPolicy. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SecurityPolicy. 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 SecurityPolicy. :type lifecycle_details: str :param locks: The value to assign to the locks property of this SecurityPolicy. :type locks: list[oci.cloud_guard.models.ResourceLock] :param freeform_tags: The value to assign to the freeform_tags property of this SecurityPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SecurityPolicy. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SecurityPolicy. :type system_tags: dict(str, dict(str, object)) �strz list[str]Zdatetimezlist[ResourceLock]zdict(str, str)zdict(str, dict(str, object)))�id� friendly_name�display_name�description�compartment_id�owner�category�services�time_created�time_updated�lifecycle_state�lifecycle_details�locks� freeform_tags�defined_tags�system_tagsr ZfriendlyNameZdisplayNamer Z compartmentIdr r r ZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsr ZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_friendly_name� _display_name�_description�_compartment_id�_owner� _category� _services� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_locks�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r3 �J/usr/lib/python3.9/site-packages/oci/cloud_guard/models/security_policy.py�__init__9 sd K��zSecurityPolicy.__init__c C s | j S )u� **[Required]** Gets the id of this SecurityPolicy. Unique identifier that can’t be changed after creation :return: The id of this SecurityPolicy. :rtype: str �r! �r1 r3 r3 r4 r � s zSecurityPolicy.idc C s || _ dS )u� Sets the id of this SecurityPolicy. Unique identifier that can’t be changed after creation :param id: The id of this SecurityPolicy. :type: str Nr6 )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the friendly_name of this SecurityPolicy. A shorter version of the security policy's name :return: The friendly_name of this SecurityPolicy. :rtype: str �r"