📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
waas
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/waas/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: block_challenge_settings.pyc
a O��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_label�blockAction�blockResponseCode�blockErrorPageMessage�blockErrorPageDescription�blockErrorPageCode�captchaTitle� captchaHeader� captchaFooter�captchaSubmitLabelN)� swagger_types� 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+ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 j 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 �UNKNOWN_ENUM_VALUEN)r r )r) r �allowed_valuesr+ r+ r, r y 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 Nr1 )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"