📂 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: block_challenge_settings.cpython-39.pyc
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 @ s& e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�BlockChallengeSettingsz? The challenge settings if `action` is set to `BLOCK`. �SET_RESPONSE_CODE�SHOW_ERROR_PAGE�SHOW_CAPTCHAc K sn dddddddddd� | _ dddddd d ddd� | _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d S )a� Initializes a new BlockChallengeSettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param block_action: The value to assign to the block_action property of this BlockChallengeSettings. Allowed values for this property are: "SET_RESPONSE_CODE", "SHOW_ERROR_PAGE", "SHOW_CAPTCHA", '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 BlockChallengeSettings. :type block_response_code: int :param block_error_page_message: The value to assign to the block_error_page_message property of this BlockChallengeSettings. :type block_error_page_message: str :param block_error_page_description: The value to assign to the block_error_page_description property of this BlockChallengeSettings. :type block_error_page_description: str :param block_error_page_code: The value to assign to the block_error_page_code property of this BlockChallengeSettings. :type block_error_page_code: str :param captcha_title: The value to assign to the captcha_title property of this BlockChallengeSettings. :type captcha_title: str :param captcha_header: The value to assign to the captcha_header property of this BlockChallengeSettings. :type captcha_header: str :param captcha_footer: The value to assign to the captcha_footer property of this BlockChallengeSettings. :type captcha_footer: str :param captcha_submit_label: The value to assign to the captcha_submit_label property of this BlockChallengeSettings. :type captcha_submit_label: str �str�int) �block_action�block_response_code�block_error_page_message�block_error_page_description�block_error_page_code� captcha_title�captcha_header�captcha_footer�captcha_submit_labelZblockActionZblockResponseCodeZblockErrorPageMessageZblockErrorPageDescriptionZblockErrorPageCodeZcaptchaTitleZ captchaHeaderZ captchaFooterZcaptchaSubmitLabelN)Z swagger_typesZ attribute_map� _block_action�_block_response_code�_block_error_page_message�_block_error_page_description�_block_error_page_code�_captcha_title�_captcha_header�_captcha_footer�_captcha_submit_label)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/waas/models/block_challenge_settings.py�__init__ s: -� �zBlockChallengeSettings.__init__c C s | j S )a Gets the block_action of this BlockChallengeSettings. The method used to block requests that fail the challenge, if `action` is set to `BLOCK`. If unspecified, defaults to `SHOW_ERROR_PAGE`. Allowed values for this property are: "SET_RESPONSE_CODE", "SHOW_ERROR_PAGE", "SHOW_CAPTCHA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The block_action of this BlockChallengeSettings. :rtype: str )r �r r r r! r l s z#BlockChallengeSettings.block_actionc C s g d�}t ||�sd}|| _dS )a; Sets the block_action of this BlockChallengeSettings. The method used to block requests that fail the challenge, if `action` is set to `BLOCK`. If unspecified, defaults to `SHOW_ERROR_PAGE`. :param block_action: The block_action of this BlockChallengeSettings. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r! r { s c C s | j S )a� Gets the block_response_code of this BlockChallengeSettings. The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE` or `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `494`, `495`, `496`, `497`, `499`, `500`, `501`, `502`, `503`, `504`, `507`. :return: The block_response_code of this BlockChallengeSettings. :rtype: int �r r# r r r! r � s z*BlockChallengeSettings.block_response_codec C s || _ dS )a� Sets the block_response_code of this BlockChallengeSettings. The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE` or `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `494`, `495`, `496`, `497`, `499`, `500`, `501`, `502`, `503`, `504`, `507`. :param block_response_code: The block_response_code of this BlockChallengeSettings. :type: int Nr$ )r r r r r! r � s c C s | j S )a� Gets the block_error_page_message of this BlockChallengeSettings. The message to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `Access to the website is blocked`. :return: The block_error_page_message of this BlockChallengeSettings. :rtype: str �r r# r r r! r � s z/BlockChallengeSettings.block_error_page_messagec C s || _ dS )a� Sets the block_error_page_message of this BlockChallengeSettings. The message to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `Access to the website is blocked`. :param block_error_page_message: The block_error_page_message of this BlockChallengeSettings. :type: str Nr% )r r r r r! r � s c C s | j S )a� Gets the block_error_page_description of this BlockChallengeSettings. The description text to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `Access blocked by website owner. Please contact support.` :return: The block_error_page_description of this BlockChallengeSettings. :rtype: str �r r# r r r! r � s z3BlockChallengeSettings.block_error_page_descriptionc C s || _ dS )a� Sets the block_error_page_description of this BlockChallengeSettings. The description text to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `Access blocked by website owner. Please contact support.` :param block_error_page_description: The block_error_page_description of this BlockChallengeSettings. :type: str Nr&