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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�RemoveHttpResponseHeaderRulea) An object that represents the action of removing a header from a response. This rule applies only to HTTP listeners. If the same header appears more than once in the response, the load balancer removes all occurances of the specified header. **Note:** 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 s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new RemoveHttpResponseHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.RemoveHttpResponseHeaderRule.action` attribute of this class is ``REMOVE_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 RemoveHttpResponseHeaderRule. 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 RemoveHttpResponseHeaderRule. :type header: str �str)�action�headerr r N�REMOVE_HTTP_RESPONSE_HEADER)� swagger_types� attribute_map�_action�_header)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/load_balancer/models/remove_http_response_header_rule.py�__init__ s ��z%RemoveHttpResponseHeaderRule.__init__c C s | j S )a **[Required]** Gets the header of this RemoveHttpResponseHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :return: The header of this RemoveHttpResponseHeaderRule. :rtype: str �r �r r r r r 4 s z#RemoveHttpResponseHeaderRule.headerc C s || _ dS )z� Sets the header of this RemoveHttpResponseHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :param header: The header of this RemoveHttpResponseHeaderRule. :type: str Nr )r r r r r r B s c C s t | �S �N)r r r r r �__repr__P s z%RemoveHttpResponseHeaderRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__S s z#RemoveHttpResponseHeaderRule.__eq__c C s | |k S r r r r r r �__ne__Y s z#RemoveHttpResponseHeaderRule.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr 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