o
    ëÉ¶d

  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sJ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdd„ Zd	d
„ Z	dd„ Z
dS )ÚResponseProtectionz^
    Module that allows to enable OCI-managed protection capabilities for HTTP responses.
    c                 K   s   ddi| _ ddi| _d| _dS )ap  
        Initializes a new ResponseProtection object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param rules:
            The value to assign to the rules property of this ResponseProtection.
        :type rules: list[oci.waf.models.ProtectionRule]

        Úruleszlist[ProtectionRule]N)Zswagger_typesZattribute_mapÚ_rules)ÚselfÚkwargs© r   úFusr/lib/python3.10/site-packages/oci/waf/models/response_protection.pyÚ__init__   s
   ÿÿ
zResponseProtection.__init__c                 C   s   | j S )a~  
        Gets the rules of this ResponseProtection.
        Ordered list of ProtectionRules. Rules are executed in order of appearance in this array.
        ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type.


        :return: The rules of this ResponseProtection.
        :rtype: list[oci.waf.models.ProtectionRule]
        ©r   ©r	   r   r   r   r   &   s   zResponseProtection.rulesc                 C   s
   || _ dS )a‚  
        Sets the rules of this ResponseProtection.
        Ordered list of ProtectionRules. Rules are executed in order of appearance in this array.
        ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type.


        :param rules: The rules of this ResponseProtection.
        :type: list[oci.waf.models.ProtectionRule]
        Nr   )r	   r   r   r   r   r   3   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__@   s   zResponseProtection.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r	   Úotherr   r   r   Ú__eq__C   s   zResponseProtection.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__I   s   
zResponseProtection.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r   r   r      s    

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   