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 )�AddHttpRequestHeaderRulea7 An object that represents the action of adding a header to a request. This rule applies only to HTTP listeners. **NOTES:** * If a matching header already exists in the request, 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 )ad Initializes a new AddHttpRequestHeaderRule object with values from keyword arguments. The default value of the :py:attr:`~oci.load_balancer.models.AddHttpRequestHeaderRule.action` attribute of this class is ``ADD_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 AddHttpRequestHeaderRule. 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 AddHttpRequestHeaderRule. :type header: str :param value: The value to assign to the value property of this AddHttpRequestHeaderRule. :type value: str �str)�action�header�valuer r r N�ADD_HTTP_REQUEST_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_request_header_rule.py�__init__ s ��z!AddHttpRequestHeaderRule.__init__c C s | j S )z� **[Required]** Gets the header of this AddHttpRequestHeaderRule. A header name that conforms to RFC 7230. Example: `example_header_name` :return: The header of this AddHttpRequestHeaderRule. :rtype: str �r �r r r r r >