📂 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_settings.cpython-39.opt-1.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 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 )�ProtectionCapabilitySettingsz. Settings for protection capabilities c K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new ProtectionCapabilitySettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param max_number_of_arguments: The value to assign to the max_number_of_arguments property of this ProtectionCapabilitySettings. :type max_number_of_arguments: int :param max_single_argument_length: The value to assign to the max_single_argument_length property of this ProtectionCapabilitySettings. :type max_single_argument_length: int :param max_total_argument_length: The value to assign to the max_total_argument_length property of this ProtectionCapabilitySettings. :type max_total_argument_length: int :param max_http_request_headers: The value to assign to the max_http_request_headers property of this ProtectionCapabilitySettings. :type max_http_request_headers: int :param max_http_request_header_length: The value to assign to the max_http_request_header_length property of this ProtectionCapabilitySettings. :type max_http_request_header_length: int :param allowed_http_methods: The value to assign to the allowed_http_methods property of this ProtectionCapabilitySettings. :type allowed_http_methods: list[str] �intz list[str])�max_number_of_arguments�max_single_argument_length�max_total_argument_length�max_http_request_headers�max_http_request_header_length�allowed_http_methodsZmaxNumberOfArgumentsZmaxSingleArgumentLengthZmaxTotalArgumentLengthZmaxHttpRequestHeadersZmaxHttpRequestHeaderLengthZallowedHttpMethodsN)Z swagger_typesZ attribute_map�_max_number_of_arguments�_max_single_argument_length�_max_total_argument_length�_max_http_request_headers�_max_http_request_header_length�_allowed_http_methods)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/waf/models/protection_capability_settings.py�__init__ s( � � z%ProtectionCapabilitySettings.__init__c C s | j S )a0 Gets the max_number_of_arguments of this ProtectionCapabilitySettings. Maximum number of arguments allowed. Used in protection capability 920380: Number of Arguments Limits. :return: The max_number_of_arguments of this ProtectionCapabilitySettings. :rtype: int �r �r r r r r I s z4ProtectionCapabilitySettings.max_number_of_argumentsc C s || _ dS )aF Sets the max_number_of_arguments of this ProtectionCapabilitySettings. Maximum number of arguments allowed. Used in protection capability 920380: Number of Arguments Limits. :param max_number_of_arguments: The max_number_of_arguments of this ProtectionCapabilitySettings. :type: int Nr )r r r r r r U s c C s | j S )a? Gets the max_single_argument_length of this ProtectionCapabilitySettings. Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :return: The max_single_argument_length of this ProtectionCapabilitySettings. :rtype: int �r r r r r r a s z7ProtectionCapabilitySettings.max_single_argument_lengthc C s || _ dS )aX Sets the max_single_argument_length of this ProtectionCapabilitySettings. Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param max_single_argument_length: The max_single_argument_length of this ProtectionCapabilitySettings. :type: int Nr )r r r r r r m s c C s | j S )a@ Gets the max_total_argument_length of this ProtectionCapabilitySettings. Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. :return: The max_total_argument_length of this ProtectionCapabilitySettings. :rtype: int �r r r r r r y s z6ProtectionCapabilitySettings.max_total_argument_lengthc C s || _ dS )aX Sets the max_total_argument_length of this ProtectionCapabilitySettings. Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. :param max_total_argument_length: The max_total_argument_length of this ProtectionCapabilitySettings. :type: int Nr )r r r r r r � s c C s | j S )aI Gets the max_http_request_headers of this ProtectionCapabilitySettings. Maximum number of headers allowed in an HTTP request. Used in protection capability 9200014: Limit Number of Request Headers. :return: The max_http_request_headers of this ProtectionCapabilitySettings. :rtype: int �r r r r r r � s z5ProtectionCapabilitySettings.max_http_request_headersc C s || _ dS )a` Sets the max_http_request_headers of this ProtectionCapabilitySettings. Maximum number of headers allowed in an HTTP request. Used in protection capability 9200014: Limit Number of Request Headers. :param max_http_request_headers: The max_http_request_headers of this ProtectionCapabilitySettings. :type: int Nr )r r r r r r � s c C s | j S )aZ Gets the max_http_request_header_length of this ProtectionCapabilitySettings. Maximum allowed length of headers in an HTTP request. Used in protection capability: 9200024: Limit length of request header size. :return: The max_http_request_header_length of this ProtectionCapabilitySettings. :rtype: int �r r r r r r � s z;ProtectionCapabilitySettings.max_http_request_header_lengthc C s || _ dS )aw Sets the max_http_request_header_length of this ProtectionCapabilitySettings. Maximum allowed length of headers in an HTTP request. Used in protection capability: 9200024: Limit length of request header size. :param max_http_request_header_length: The max_http_request_header_length of this ProtectionCapabilitySettings. :type: int Nr )r r r r r r � s c C s | j S )ac Gets the allowed_http_methods of this ProtectionCapabilitySettings. List of allowed HTTP methods. Each value as a RFC7230 formated token string. Used in protection capability 911100: Restrict HTTP Request Methods. :return: The allowed_http_methods of this ProtectionCapabilitySettings. :rtype: list[str] �r r r r r r � s z1ProtectionCapabilitySettings.allowed_http_methodsc C s || _ dS )av Sets the allowed_http_methods of this ProtectionCapabilitySettings. List of allowed HTTP methods. Each value as a RFC7230 formated token string. Used in protection capability 911100: Restrict HTTP Request Methods. :param allowed_http_methods: The allowed_http_methods of this ProtectionCapabilitySettings. :type: list[str] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z%ProtectionCapabilitySettings.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z#ProtectionCapabilitySettings.__eq__c C s | |k S r r r# r r r �__ne__� s z#ProtectionCapabilitySettings.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r! r% r&