ruạṛ
a ���f � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd d� Zedd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�RulezE An object that represents an action to apply to a listener. �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�IP_BASED_MAX_CONNECTIONSc K s ddi| _ ddi| _d| _dS )a� Initializes a new Rule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.load_balancer.models.AddHttpRequestHeaderRule` * :class:`~oci.load_balancer.models.RedirectRule` * :class:`~oci.load_balancer.models.RemoveHttpRequestHeaderRule` * :class:`~oci.load_balancer.models.ExtendHttpRequestHeaderValueRule` * :class:`~oci.load_balancer.models.RemoveHttpResponseHeaderRule` * :class:`~oci.load_balancer.models.ControlAccessUsingHttpMethodsRule` * :class:`~oci.load_balancer.models.AllowRule` * :class:`~oci.load_balancer.models.IpBasedMaxConnectionsRule` * :class:`~oci.load_balancer.models.HttpHeaderRule` * :class:`~oci.load_balancer.models.AddHttpResponseHeaderRule` * :class:`~oci.load_balancer.models.ExtendHttpResponseHeaderValueRule` 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 Rule. 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", "IP_BASED_MAX_CONNECTIONS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str �action�strN)Z swagger_typesZ attribute_map�_action)�self�kwargs� r �A/usr/lib/python3.9/site-packages/oci/load_balancer/models/rule.py�__init__>