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 )�RemoveHttpRequestHeaderRulea% An object that represents the action of removing a header from a request. This rule applies only to HTTP listeners. If the same header appears more than once in the request, 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 RemoveHttpRequestHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.RemoveHttpRequestHeaderRule.action` attribute of this class is ``REMOVE_HTTP_REQUEST_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 RemoveHttpRequestHeaderRule. 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 RemoveHttpRequestHeaderRule. :type header: str �str)�action�headerr r N�REMOVE_HTTP_REQUEST_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_request_header_rule.py�__init__ s ��z$RemoveHttpRequestHeaderRule.__init__c C s | j S )a **[Required]** Gets the header of this RemoveHttpRequestHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :return: The header of this RemoveHttpRequestHeaderRule. :rtype: str �r �r r r r r 2 s z"RemoveHttpRequestHeaderRule.headerc C s || _ dS )z� Sets the header of this RemoveHttpRequestHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :param header: The header of this RemoveHttpRequestHeaderRule. :type: str Nr )r r r r r r @ s c C s t | �S �N)r r r r r �__repr__N s z$RemoveHttpRequestHeaderRule.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Q s z"RemoveHttpRequestHeaderRule.__eq__c C s | |k S r r r r r r �__ne__W s z"RemoveHttpRequestHeaderRule.__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