ruạṛ
a N��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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�%QueryParameterValidationRequestPolicyz] Validate the URL query parameters on the incoming API requests on a specific route. � ENFORCING� PERMISSIVE�DISABLEDc K s( ddd�| _ ddd�| _d| _d| _dS )a> Initializes a new QueryParameterValidationRequestPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param parameters: The value to assign to the parameters property of this QueryParameterValidationRequestPolicy. :type parameters: list[oci.apigateway.models.QueryParameterValidationItem] :param validation_mode: The value to assign to the validation_mode property of this QueryParameterValidationRequestPolicy. Allowed values for this property are: "ENFORCING", "PERMISSIVE", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type validation_mode: str z"list[QueryParameterValidationItem]�str)� parameters�validation_moder �validationModeN)� swagger_types� attribute_map�_parameters�_validation_mode)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/query_parameter_validation_request_policy.py�__init__ s ��z.QueryParameterValidationRequestPolicy.__init__c C s | j S )z� Gets the parameters of this QueryParameterValidationRequestPolicy. :return: The parameters of this QueryParameterValidationRequestPolicy. :rtype: list[oci.apigateway.models.QueryParameterValidationItem] �r �r r r r r 9 s z0QueryParameterValidationRequestPolicy.parametersc C s || _ dS )z� Sets the parameters of this QueryParameterValidationRequestPolicy. :param parameters: The parameters of this QueryParameterValidationRequestPolicy. :type: list[oci.apigateway.models.QueryParameterValidationItem] Nr )r r r r r r C s c C s | j S )a� Gets the validation_mode of this QueryParameterValidationRequestPolicy. Validation behavior mode. In `ENFORCING` mode, upon a validation failure, the request will be rejected with a 4xx response and not sent to the backend. In `PERMISSIVE` mode, the result of the validation will be exposed as metrics while the request will follow the normal path. `DISABLED` type turns the validation off. Allowed values for this property are: "ENFORCING", "PERMISSIVE", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The validation_mode of this QueryParameterValidationRequestPolicy. :rtype: str )r r r r r r M s z5QueryParameterValidationRequestPolicy.validation_modec C s g d�}t ||�sd}|| _dS )aC Sets the validation_mode of this QueryParameterValidationRequestPolicy. Validation behavior mode. In `ENFORCING` mode, upon a validation failure, the request will be rejected with a 4xx response and not sent to the backend. In `PERMISSIVE` mode, the result of the validation will be exposed as metrics while the request will follow the normal path. `DISABLED` type turns the validation off. :param validation_mode: The validation_mode of this QueryParameterValidationRequestPolicy. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r d s c C s t | �S �N)r r r r r �__repr__{ s z.QueryParameterValidationRequestPolicy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__~ s z,QueryParameterValidationRequestPolicy.__eq__c C s | |k S r r r r r r �__ne__� s z,QueryParameterValidationRequestPolicy.__ne__N)�__name__� __module__�__qualname__�__doc__�VALIDATION_MODE_ENFORCING�VALIDATION_MODE_PERMISSIVE�VALIDATION_MODE_DISABLEDr �propertyr �setterr r r r! r r r r r s r N)�oci.utilr r r �oci.decoratorsr �objectr r r r r �<module> s
cải xoăn