ruạṛ
a ���f� � @ 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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�RequestAccessControlz� Module that allows inspection of HTTP request properties and to return a defined HTTP response. In this module, rules with the name 'Default Action' are not allowed, since this name is reserved for default action logs. c K s( ddd�| _ ddd�| _d| _d| _dS )a% Initializes a new RequestAccessControl object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param default_action_name: The value to assign to the default_action_name property of this RequestAccessControl. :type default_action_name: str :param rules: The value to assign to the rules property of this RequestAccessControl. :type rules: list[oci.waf.models.AccessControlRule] �strzlist[AccessControlRule])�default_action_name�rulesZdefaultActionNamer N)Z swagger_typesZ attribute_map�_default_action_name�_rules)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/waf/models/request_access_control.py�__init__ s ��zRequestAccessControl.__init__c C s | j S )a� **[Required]** Gets the default_action_name of this RequestAccessControl. References an default Action to take if no AccessControlRule was matched. Allowed action types: * **ALLOW** continues execution of other modules and their rules. * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. :return: The default_action_name of this RequestAccessControl. :rtype: str �r �r r r r r . s z(RequestAccessControl.default_action_namec C s || _ dS )a� Sets the default_action_name of this RequestAccessControl. References an default Action to take if no AccessControlRule was matched. Allowed action types: * **ALLOW** continues execution of other modules and their rules. * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. :param default_action_name: The default_action_name of this RequestAccessControl. :type: str Nr )r r r r r r >