📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
load_balancer
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/load_balancer/models
💾
Free:
45.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: extend_http_request_header_value_rule.pyc
a O��fC � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Rule� )�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 d d� Z dd� Zdd� ZdS )� ExtendHttpRequestHeaderValueRulea% An object that represents the action of modifying a request header value. This rule applies only to HTTP listeners. This rule adds a prefix, a suffix, or both to the header value. **NOTES:** * This rule requires a value for a prefix, suffix, or both. * The system does not support this rule for headers with multiple values. * The system does not distinquish between underscore and dash characters in headers. That is, it treats `example_header_name` and `example-header-name` as identical. If two such headers appear in a request, the system applies the action to the first header it finds. The affected header cannot be determined in advance. Oracle recommends that you do not rely on underscore or dash characters to uniquely distinguish header names. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) a+ Initializes a new ExtendHttpRequestHeaderValueRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ExtendHttpRequestHeaderValueRule.action` attribute of this class is ``EXTEND_HTTP_REQUEST_HEADER_VALUE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param action: The value to assign to the action property of this ExtendHttpRequestHeaderValueRule. Allowed values for this property are: "ADD_HTTP_REQUEST_HEADER", "EXTEND_HTTP_REQUEST_HEADER_VALUE", "REMOVE_HTTP_REQUEST_HEADER", "ADD_HTTP_RESPONSE_HEADER", "EXTEND_HTTP_RESPONSE_HEADER_VALUE", "REMOVE_HTTP_RESPONSE_HEADER", "ALLOW", "CONTROL_ACCESS_USING_HTTP_METHODS", "REDIRECT", "HTTP_HEADER" :type action: str :param header: The value to assign to the header property of this ExtendHttpRequestHeaderValueRule. :type header: str :param prefix: The value to assign to the prefix property of this ExtendHttpRequestHeaderValueRule. :type prefix: str :param suffix: The value to assign to the suffix property of this ExtendHttpRequestHeaderValueRule. :type suffix: str �str)�action�header�prefix�suffixr r r r N� EXTEND_HTTP_REQUEST_HEADER_VALUE)� swagger_types� attribute_map�_action�_header�_prefix�_suffix)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/load_balancer/models/extend_http_request_header_value_rule.py�__init__ s ��z)ExtendHttpRequestHeaderValueRule.__init__c C s | j S )a **[Required]** Gets the header of this ExtendHttpRequestHeaderValueRule. A header name that conforms to RFC 7230. Example: `example_header_name` :return: The header of this ExtendHttpRequestHeaderValueRule. :rtype: str �r �r r r r r I s z'ExtendHttpRequestHeaderValueRule.headerc C s || _ dS )a Sets the header of this ExtendHttpRequestHeaderValueRule. A header name that conforms to RFC 7230. Example: `example_header_name` :param header: The header of this ExtendHttpRequestHeaderValueRule. :type: str Nr )r r r r r r W s c C s | j S )a Gets the prefix of this ExtendHttpRequestHeaderValueRule. A string to prepend to the header value. The resulting header value must conform to RFC 7230. With the following exceptions: * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. Example: `example_prefix_value` :return: The prefix of this ExtendHttpRequestHeaderValueRule. :rtype: str �r r r r r r e s z'ExtendHttpRequestHeaderValueRule.prefixc C s || _ dS )a Sets the prefix of this ExtendHttpRequestHeaderValueRule. A string to prepend to the header value. The resulting header value must conform to RFC 7230. With the following exceptions: * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. Example: `example_prefix_value` :param prefix: The prefix of this ExtendHttpRequestHeaderValueRule. :type: str Nr )r r r r r r v s c C s | j S )a Gets the suffix of this ExtendHttpRequestHeaderValueRule. A string to append to the header value. The resulting header value must conform to RFC 7230. With the following exceptions: * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. Example: `example_suffix_value` :return: The suffix of this ExtendHttpRequestHeaderValueRule. :rtype: str �r r r r r r � s z'ExtendHttpRequestHeaderValueRule.suffixc C s || _ dS )a Sets the suffix of this ExtendHttpRequestHeaderValueRule. A string to append to the header value. The resulting header value must conform to RFC 7230. With the following exceptions: * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. Example: `example_suffix_value` :param suffix: The suffix of this ExtendHttpRequestHeaderValueRule. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z)ExtendHttpRequestHeaderValueRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z'ExtendHttpRequestHeaderValueRule.__eq__c C s | |k S r r r! r r r �__ne__� s z'ExtendHttpRequestHeaderValueRule.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r# r$ r r r r r s"