📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
waas
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/waas/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: access_rule.cpython-39.pyc
a ���fm � @ 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 ZdZ dZd ZdZdZdd� 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.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Z e jd5d4� �Z ed6d7� �Z!e!jd8d7� �Z!ed9d:� �Z"e"jd;d:� �Z"ed<d=� �Z#e#jd>d=� �Z#ed?d@� �Z$e$jdAd@� �Z$dBdC� Z%dDdE� Z&dFdG� Z'dHS )I� AccessRulezy A content access rule. An access rule specifies an action to take if a set of criteria is matched by a request. �ALLOW�DETECT�BLOCK�BYPASS�REDIRECT�SHOW_CAPTCHA�SET_RESPONSE_CODE�SHOW_ERROR_PAGE�JS_CHALLENGE�DEVICE_FINGERPRINT_CHALLENGE�HUMAN_INTERACTION_CHALLENGE�CAPTCHA�MOVED_PERMANENTLY�FOUNDc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )am Initializes a new AccessRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this AccessRule. :type name: str :param criteria: The value to assign to the criteria property of this AccessRule. :type criteria: list[oci.waas.models.AccessRuleCriteria] :param action: The value to assign to the action property of this AccessRule. Allowed values for this property are: "ALLOW", "DETECT", "BLOCK", "BYPASS", "REDIRECT", "SHOW_CAPTCHA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param block_action: The value to assign to the block_action property of this AccessRule. Allowed values for this property are: "SET_RESPONSE_CODE", "SHOW_ERROR_PAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type block_action: str :param block_response_code: The value to assign to the block_response_code property of this AccessRule. :type block_response_code: int :param block_error_page_message: The value to assign to the block_error_page_message property of this AccessRule. :type block_error_page_message: str :param block_error_page_code: The value to assign to the block_error_page_code property of this AccessRule. :type block_error_page_code: str :param block_error_page_description: The value to assign to the block_error_page_description property of this AccessRule. :type block_error_page_description: str :param bypass_challenges: The value to assign to the bypass_challenges property of this AccessRule. Allowed values for items in this list are: "JS_CHALLENGE", "DEVICE_FINGERPRINT_CHALLENGE", "HUMAN_INTERACTION_CHALLENGE", "CAPTCHA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type bypass_challenges: list[str] :param redirect_url: The value to assign to the redirect_url property of this AccessRule. :type redirect_url: str :param redirect_response_code: The value to assign to the redirect_response_code property of this AccessRule. Allowed values for this property are: "MOVED_PERMANENTLY", "FOUND", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type redirect_response_code: str :param captcha_title: The value to assign to the captcha_title property of this AccessRule. :type captcha_title: str :param captcha_header: The value to assign to the captcha_header property of this AccessRule. :type captcha_header: str :param captcha_footer: The value to assign to the captcha_footer property of this AccessRule. :type captcha_footer: str :param captcha_submit_label: The value to assign to the captcha_submit_label property of this AccessRule. :type captcha_submit_label: str :param response_header_manipulation: The value to assign to the response_header_manipulation property of this AccessRule. :type response_header_manipulation: list[oci.waas.models.HeaderManipulationAction] �strzlist[AccessRuleCriteria]�intz list[str]zlist[HeaderManipulationAction])�name�criteria�action�block_action�block_response_code�block_error_page_message�block_error_page_code�block_error_page_description�bypass_challenges�redirect_url�redirect_response_code� captcha_title�captcha_header�captcha_footer�captcha_submit_label�response_header_manipulationr r r ZblockActionZblockResponseCodeZblockErrorPageMessageZblockErrorPageCodeZblockErrorPageDescriptionZbypassChallengesZredirectUrlZredirectResponseCodeZcaptchaTitleZ captchaHeaderZ captchaFooterZcaptchaSubmitLabelZresponseHeaderManipulationN)Z swagger_typesZ attribute_map�_name� _criteria�_action� _block_action�_block_response_code�_block_error_page_message�_block_error_page_code�_block_error_page_description�_bypass_challenges� _redirect_url�_redirect_response_code�_captcha_title�_captcha_header�_captcha_footer�_captcha_submit_label�_response_header_manipulation)�self�kwargs� r9 �?/usr/lib/python3.9/site-packages/oci/waas/models/access_rule.py�__init__J sd O��zAccessRule.__init__c C s | j S )z� **[Required]** Gets the name of this AccessRule. The unique name of the access rule. :return: The name of this AccessRule. :rtype: str �r'