ruạṛ
a O��f� � @ 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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�AddHttpResponseHeaderRulea: An object that represents the action of adding a header to a response. This rule applies only to HTTP listeners. **NOTES:** * If a matching header already exists in the response, the system removes all of its occurrences, and then adds the new header. * 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. Oracle recommends that you do not rely on underscore or dash characters to uniquely distinguish header names. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS )aj Initializes a new AddHttpResponseHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AddHttpResponseHeaderRule.action` attribute of this class is ``ADD_HTTP_RESPONSE_HEADER`` 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 AddHttpResponseHeaderRule. 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 AddHttpResponseHeaderRule. :type header: str :param value: The value to assign to the value property of this AddHttpResponseHeaderRule. :type value: str �str)�action�header�valuer r r N�ADD_HTTP_RESPONSE_HEADER)� swagger_types� attribute_map�_action�_header�_value)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/load_balancer/models/add_http_response_header_rule.py�__init__ s ��z"AddHttpResponseHeaderRule.__init__c C s | j S )a **[Required]** Gets the header of this AddHttpResponseHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :return: The header of this AddHttpResponseHeaderRule. :rtype: str �r �r r r r r ? s z AddHttpResponseHeaderRule.headerc C s || _ dS )z� Sets the header of this AddHttpResponseHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :param header: The header of this AddHttpResponseHeaderRule. :type: str Nr )r r r r r r M s c C s | j S )a� **[Required]** Gets the value of this AddHttpResponseHeaderRule. A header value that conforms 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_value` :return: The value of this AddHttpResponseHeaderRule. :rtype: str �r r r r r r [ s zAddHttpResponseHeaderRule.valuec C s || _ dS )a� Sets the value of this AddHttpResponseHeaderRule. A header value that conforms 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_value` :param value: The value of this AddHttpResponseHeaderRule. :type: str Nr )r r r r r r l s c C s t | �S �N)r r r r r �__repr__} s z"AddHttpResponseHeaderRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z AddHttpResponseHeaderRule.__eq__c C s | |k S r r r r r r �__ne__� s z AddHttpResponseHeaderRule.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r! r r r r r s % r N) �ruler �oci.utilr r r �oci.decoratorsr r r r r r �<module> s
cải xoăn