📂 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.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: human_interaction_challenge.pyc
a O��f�7 � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zed!d"� �Zej d#d"� �Zd$d%� Zd&d'� Zd(d)� Zd*S )+�HumanInteractionChallengez� The human interaction challenge settings. The human interaction challenge checks various event listeners in the user's browser to determine if there is a human user making a request. �DETECT�BLOCKc K sx ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a� Initializes a new HumanInteractionChallenge object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_enabled: The value to assign to the is_enabled property of this HumanInteractionChallenge. :type is_enabled: bool :param action: The value to assign to the action property of this HumanInteractionChallenge. Allowed values for this property are: "DETECT", "BLOCK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param failure_threshold: The value to assign to the failure_threshold property of this HumanInteractionChallenge. :type failure_threshold: int :param action_expiration_in_seconds: The value to assign to the action_expiration_in_seconds property of this HumanInteractionChallenge. :type action_expiration_in_seconds: int :param failure_threshold_expiration_in_seconds: The value to assign to the failure_threshold_expiration_in_seconds property of this HumanInteractionChallenge. :type failure_threshold_expiration_in_seconds: int :param interaction_threshold: The value to assign to the interaction_threshold property of this HumanInteractionChallenge. :type interaction_threshold: int :param recording_period_in_seconds: The value to assign to the recording_period_in_seconds property of this HumanInteractionChallenge. :type recording_period_in_seconds: int :param set_http_header: The value to assign to the set_http_header property of this HumanInteractionChallenge. :type set_http_header: oci.waas.models.Header :param challenge_settings: The value to assign to the challenge_settings property of this HumanInteractionChallenge. :type challenge_settings: oci.waas.models.BlockChallengeSettings :param is_nat_enabled: The value to assign to the is_nat_enabled property of this HumanInteractionChallenge. :type is_nat_enabled: bool �bool�str�int�Header�BlockChallengeSettings) � is_enabled�action�failure_threshold�action_expiration_in_seconds�'failure_threshold_expiration_in_seconds�interaction_threshold�recording_period_in_seconds�set_http_header�challenge_settings�is_nat_enabled� isEnabledr �failureThreshold�actionExpirationInSeconds�#failureThresholdExpirationInSeconds�interactionThreshold�recordingPeriodInSeconds� setHttpHeader�challengeSettings�isNatEnabledN)� swagger_types� attribute_map�_is_enabled�_action�_failure_threshold�_action_expiration_in_seconds�(_failure_threshold_expiration_in_seconds�_interaction_threshold�_recording_period_in_seconds�_set_http_header�_challenge_settings�_is_nat_enabled)�self�kwargs� r/ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/waas/models/human_interaction_challenge.py�__init__ s@ 1�� z"HumanInteractionChallenge.__init__c C s | j S )a **[Required]** Gets the is_enabled of this HumanInteractionChallenge. Enables or disables the human interaction challenge Web Application Firewall feature. :return: The is_enabled of this HumanInteractionChallenge. :rtype: bool �r# �r- r/ r/ r0 r m s z$HumanInteractionChallenge.is_enabledc C s || _ dS )a Sets the is_enabled of this HumanInteractionChallenge. Enables or disables the human interaction challenge Web Application Firewall feature. :param is_enabled: The is_enabled of this HumanInteractionChallenge. :type: bool Nr2 )r- r r/ r/ r0 r y s c C s | j S )a� Gets the action of this HumanInteractionChallenge. The action to take against requests from detected bots. If unspecified, defaults to `DETECT`. Allowed values for this property are: "DETECT", "BLOCK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action of this HumanInteractionChallenge. :rtype: str )r$ r3 r/ r/ r0 r � s z HumanInteractionChallenge.actionc C s ddg}t ||�sd}|| _dS )a Sets the action of this HumanInteractionChallenge. The action to take against requests from detected bots. If unspecified, defaults to `DETECT`. :param action: The action of this HumanInteractionChallenge. :type: str r r �UNKNOWN_ENUM_VALUEN)r r$ )r- r �allowed_valuesr/ r/ r0 r � s c C s | j S )a Gets the failure_threshold of this HumanInteractionChallenge. The number of failed requests before taking action. If unspecified, defaults to `10`. :return: The failure_threshold of this HumanInteractionChallenge. :rtype: int �r% r3 r/ r/ r0 r � s z+HumanInteractionChallenge.failure_thresholdc C s || _ dS )a Sets the failure_threshold of this HumanInteractionChallenge. The number of failed requests before taking action. If unspecified, defaults to `10`. :param failure_threshold: The failure_threshold of this HumanInteractionChallenge. :type: int Nr6 )r- r r/ r/ r0 r � s c C s | j S )a1 Gets the action_expiration_in_seconds of this HumanInteractionChallenge. The number of seconds between challenges for the same IP address. If unspecified, defaults to `60`. :return: The action_expiration_in_seconds of this HumanInteractionChallenge. :rtype: int �r&