📂 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
›
load_balancer
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/load_balancer/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: extend_http_response_header_value_rule.pyc
a O��fq � @ 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 )�!ExtendHttpResponseHeaderValueRulea& An object that represents the action of modifying a response 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 ) a2 Initializes a new ExtendHttpResponseHeaderValueRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.ExtendHttpResponseHeaderValueRule.action` attribute of this class is ``EXTEND_HTTP_RESPONSE_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 ExtendHttpResponseHeaderValueRule. 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 ExtendHttpResponseHeaderValueRule. :type header: str :param prefix: The value to assign to the prefix property of this ExtendHttpResponseHeaderValueRule. :type prefix: str :param suffix: The value to assign to the suffix property of this ExtendHttpResponseHeaderValueRule. :type suffix: str �str)�action�header�prefix�suffixr r r r N�!EXTEND_HTTP_RESPONSE_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_response_header_value_rule.py�__init__ s ��z*ExtendHttpResponseHeaderValueRule.__init__c C s | j S )a **[Required]** Gets the header of this ExtendHttpResponseHeaderValueRule. A header name that conforms to RFC 7230. Example: `example_header_name` :return: The header of this ExtendHttpResponseHeaderValueRule. :rtype: str �r �r r r r r I s z(ExtendHttpResponseHeaderValueRule.headerc C s || _ dS )a Sets the header of this ExtendHttpResponseHeaderValueRule. A header name that conforms to RFC 7230. Example: `example_header_name` :param header: The header of this ExtendHttpResponseHeaderValueRule. :type: str Nr )r r r r r r W s c C s | j S )a Gets the prefix of this ExtendHttpResponseHeaderValueRule. A string to prepend to the header value. The resulting header value must still 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 ExtendHttpResponseHeaderValueRule. :rtype: str �r r r r r r e s z(ExtendHttpResponseHeaderValueRule.prefixc C s || _ dS )a Sets the prefix of this ExtendHttpResponseHeaderValueRule. A string to prepend to the header value. The resulting header value must still 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 ExtendHttpResponseHeaderValueRule. :type: str Nr )r r r r r r v s c C s | j S )a Gets the suffix of this ExtendHttpResponseHeaderValueRule. A string to append to the header value. The resulting header value must still 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 ExtendHttpResponseHeaderValueRule. :rtype: str �r r r r r r � s z(ExtendHttpResponseHeaderValueRule.suffixc C s || _ dS )a Sets the suffix of this ExtendHttpResponseHeaderValueRule. A string to append to the header value. The resulting header value must still 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 ExtendHttpResponseHeaderValueRule. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z*ExtendHttpResponseHeaderValueRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z(ExtendHttpResponseHeaderValueRule.__eq__c C s | |k S r r r! r r r �__ne__� s z(ExtendHttpResponseHeaderValueRule.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r# r$ r r r r r s"