ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Condition� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�SimpleConditionz- Information for a simple condition. �IN�NOT_IN�EQUALS� NOT_EQUALS�MANAGED�CUSTOMc K sL dddddd�| _ dddddd�| _d| _d| _d| _d| _d| _d | _dS ) aV Initializes a new SimpleCondition object with values from keyword arguments. The default value of the :py:attr:`~oci.cloud_guard.models.SimpleCondition.kind` attribute of this class is ``SIMPLE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this SimpleCondition. Allowed values for this property are: "COMPOSITE", "SIMPLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: str :param parameter: The value to assign to the parameter property of this SimpleCondition. :type parameter: str :param operator: The value to assign to the operator property of this SimpleCondition. Allowed values for this property are: "IN", "NOT_IN", "EQUALS", "NOT_EQUALS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operator: str :param value: The value to assign to the value property of this SimpleCondition. :type value: str :param value_type: The value to assign to the value_type property of this SimpleCondition. Allowed values for this property are: "MANAGED", "CUSTOM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type value_type: str �str)�kind� parameter�operator�value� value_typer r r r Z valueTypeNZSIMPLE)Z swagger_typesZ attribute_mapZ_kind� _parameter� _operator�_value�_value_type)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/cloud_guard/models/simple_condition.py�__init__* s$ "� �zSimpleCondition.__init__c C s | j S )z� Gets the parameter of this SimpleCondition. Parameter key :return: The parameter of this SimpleCondition. :rtype: str �r �r r r r r b s zSimpleCondition.parameterc C s || _ dS )z� Sets the parameter of this SimpleCondition. Parameter key :param parameter: The parameter of this SimpleCondition. :type: str Nr )r r r r r r n s c C s | j S )am Gets the operator of this SimpleCondition. Type of operator Allowed values for this property are: "IN", "NOT_IN", "EQUALS", "NOT_EQUALS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operator of this SimpleCondition. :rtype: str )r r r r r r z s zSimpleCondition.operatorc C s g d�}t ||�sd}|| _dS )z� Sets the operator of this SimpleCondition. Type of operator :param operator: The operator of this SimpleCondition. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )z� Gets the value of this SimpleCondition. Value of operator in condition :return: The value of this SimpleCondition. :rtype: str �r r r r r r � s zSimpleCondition.valuec C s || _ dS )z� Sets the value of this SimpleCondition. Value of operator in condition :param value: The value of this SimpleCondition. :type: str Nr"