📂 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
›
waf
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/waf/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: protection_capability.cpython-39.pyc
a ���f7 � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�ProtectionCapabilityzk References an OCI-managed protection capability. Checks if HTTP requests/responses are malicious. c K sP ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ProtectionCapability object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this ProtectionCapability. :type key: str :param version: The value to assign to the version property of this ProtectionCapability. :type version: int :param exclusions: The value to assign to the exclusions property of this ProtectionCapability. :type exclusions: oci.waf.models.ProtectionCapabilityExclusions :param action_name: The value to assign to the action_name property of this ProtectionCapability. :type action_name: str :param collaborative_action_threshold: The value to assign to the collaborative_action_threshold property of this ProtectionCapability. :type collaborative_action_threshold: int :param collaborative_weights: The value to assign to the collaborative_weights property of this ProtectionCapability. :type collaborative_weights: list[oci.waf.models.CollaborativeCapabilityWeightOverride] �str�intZProtectionCapabilityExclusionsz+list[CollaborativeCapabilityWeightOverride])�key�version� exclusions�action_name�collaborative_action_threshold�collaborative_weightsr r r Z actionNameZcollaborativeActionThresholdZcollaborativeWeightsN)Z swagger_typesZ attribute_map�_key�_version�_exclusions�_action_name�_collaborative_action_threshold�_collaborative_weights)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/waf/models/protection_capability.py�__init__ s( � � zProtectionCapability.__init__c C s | j S )z� **[Required]** Gets the key of this ProtectionCapability. Unique key of referenced protection capability. :return: The key of this ProtectionCapability. :rtype: str �r �r r r r r I s zProtectionCapability.keyc C s || _ dS )z� Sets the key of this ProtectionCapability. Unique key of referenced protection capability. :param key: The key of this ProtectionCapability. :type: str Nr )r r r r r r U s c C s | j S )z� **[Required]** Gets the version of this ProtectionCapability. Version of referenced protection capability. :return: The version of this ProtectionCapability. :rtype: int �r r r r r r a s zProtectionCapability.versionc C s || _ dS )z� Sets the version of this ProtectionCapability. Version of referenced protection capability. :param version: The version of this ProtectionCapability. :type: int Nr )r r r r r r m s c C s | j S )z� Gets the exclusions of this ProtectionCapability. :return: The exclusions of this ProtectionCapability. :rtype: oci.waf.models.ProtectionCapabilityExclusions �r r r r r r y s zProtectionCapability.exclusionsc C s || _ dS )z� Sets the exclusions of this ProtectionCapability. :param exclusions: The exclusions of this ProtectionCapability. :type: oci.waf.models.ProtectionCapabilityExclusions Nr )r r r r r r � s c C s | j S )a6 Gets the action_name of this ProtectionCapability. Override action to take if capability was triggered, defined in Protection Rule for this capability. Only actions of type CHECK are allowed. :return: The action_name of this ProtectionCapability. :rtype: str �r r r r r r � s z ProtectionCapability.action_namec C s || _ dS )a@ Sets the action_name of this ProtectionCapability. Override action to take if capability was triggered, defined in Protection Rule for this capability. Only actions of type CHECK are allowed. :param action_name: The action_name of this ProtectionCapability. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the collaborative_action_threshold of this ProtectionCapability. The minimum sum of weights of associated collaborative protection capabilities that have triggered which must be reached in order for _this_ capability to trigger. This field is ignored for non-collaborative capabilities. :return: The collaborative_action_threshold of this ProtectionCapability. :rtype: int �r r r r r r � s z3ProtectionCapability.collaborative_action_thresholdc C s || _ dS )a� Sets the collaborative_action_threshold of this ProtectionCapability. The minimum sum of weights of associated collaborative protection capabilities that have triggered which must be reached in order for _this_ capability to trigger. This field is ignored for non-collaborative capabilities. :param collaborative_action_threshold: The collaborative_action_threshold of this ProtectionCapability. :type: int Nr )r r r r r r � s c C s | j S )a@ Gets the collaborative_weights of this ProtectionCapability. Explicit weight values to use for associated collaborative protection capabilities. :return: The collaborative_weights of this ProtectionCapability. :rtype: list[oci.waf.models.CollaborativeCapabilityWeightOverride] �r r r r r r � s z*ProtectionCapability.collaborative_weightsc C s || _ dS )aT Sets the collaborative_weights of this ProtectionCapability. Explicit weight values to use for associated collaborative protection capabilities. :param collaborative_weights: The collaborative_weights of this ProtectionCapability. :type: list[oci.waf.models.CollaborativeCapabilityWeightOverride] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zProtectionCapability.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zProtectionCapability.__eq__c C s | |k S r! r r$ r r r �__ne__� s zProtectionCapability.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"