ruạṛ
a ���fw � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�WebAppFirewallPolicyRule� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�RequestRateLimitingRulez� Rule that represents RequestRateLimitingConfigurations. Only actions of the following types are allowed to be referenced in this rule: * CHECK * RETURN_HTTP_RESPONSE c K sV ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d| _d S )a� Initializes a new RequestRateLimitingRule object with values from keyword arguments. The default value of the :py:attr:`~oci.waf.models.RequestRateLimitingRule.type` attribute of this class is ``REQUEST_RATE_LIMITING`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this RequestRateLimitingRule. Allowed values for this property are: "ACCESS_CONTROL", "PROTECTION", "REQUEST_RATE_LIMITING" :type type: str :param name: The value to assign to the name property of this RequestRateLimitingRule. :type name: str :param condition_language: The value to assign to the condition_language property of this RequestRateLimitingRule. Allowed values for this property are: "JMESPATH" :type condition_language: str :param condition: The value to assign to the condition property of this RequestRateLimitingRule. :type condition: str :param action_name: The value to assign to the action_name property of this RequestRateLimitingRule. :type action_name: str :param configurations: The value to assign to the configurations property of this RequestRateLimitingRule. :type configurations: list[oci.waf.models.RequestRateLimitingConfiguration] �strz&list[RequestRateLimitingConfiguration])�type�nameZcondition_language� condition�action_name�configurationsr r ZconditionLanguager Z actionNamer NZREQUEST_RATE_LIMITING)Z swagger_typesZ attribute_mapZ_type�_nameZ_condition_languageZ _conditionZ_action_name�_configurations)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/waf/models/request_rate_limiting_rule.py�__init__ s* "� � z RequestRateLimitingRule.__init__c C s | j S )aX **[Required]** Gets the configurations of this RequestRateLimitingRule. Rate Limiting Configurations. Each configuration counts requests towards its own `requestsLimit`. :return: The configurations of this RequestRateLimitingRule. :rtype: list[oci.waf.models.RequestRateLimitingConfiguration] �r �r r r r r P s z&RequestRateLimitingRule.configurationsc C s || _ dS )aV Sets the configurations of this RequestRateLimitingRule. Rate Limiting Configurations. Each configuration counts requests towards its own `requestsLimit`. :param configurations: The configurations of this RequestRateLimitingRule. :type: list[oci.waf.models.RequestRateLimitingConfiguration] Nr )r r r r r r ] s c C s t | �S �N)r r r r r �__repr__j s z RequestRateLimitingRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__m s zRequestRateLimitingRule.__eq__c C s | |k S r r r r r r �__ne__s s zRequestRateLimitingRule.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s ; r N) Zweb_app_firewall_policy_ruler Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn