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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�CompositeConditionz= Composite condition resource with nested condition. �AND�ORc K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a| Initializes a new CompositeCondition object with values from keyword arguments. The default value of the :py:attr:`~oci.cloud_guard.models.CompositeCondition.kind` attribute of this class is ``COMPOSITE`` 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 CompositeCondition. 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 left_operand: The value to assign to the left_operand property of this CompositeCondition. :type left_operand: oci.cloud_guard.models.Condition :param composite_operator: The value to assign to the composite_operator property of this CompositeCondition. Allowed values for this property are: "AND", "OR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type composite_operator: str :param right_operand: The value to assign to the right_operand property of this CompositeCondition. :type right_operand: oci.cloud_guard.models.Condition �strr )�kind�left_operand�composite_operator� right_operandr ZleftOperandZcompositeOperatorZrightOperandNZ COMPOSITE)Z swagger_typesZ attribute_mapZ_kind� _left_operand�_composite_operator�_right_operand)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/cloud_guard/models/composite_condition.py�__init__ s ��zCompositeCondition.__init__c C s | j S )z� Gets the left_operand of this CompositeCondition. :return: The left_operand of this CompositeCondition. :rtype: oci.cloud_guard.models.Condition �r �r r r r r I s zCompositeCondition.left_operandc C s || _ dS )z� Sets the left_operand of this CompositeCondition. :param left_operand: The left_operand of this CompositeCondition. :type: oci.cloud_guard.models.Condition Nr )r r r r r r S s c C s | j S )ax Gets the composite_operator of this CompositeCondition. Composite condition operator Allowed values for this property are: "AND", "OR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The composite_operator of this CompositeCondition. :rtype: str )r r r r r r ] s z%CompositeCondition.composite_operatorc C s ddg}t ||�sd}|| _dS )z� Sets the composite_operator of this CompositeCondition. Composite condition operator :param composite_operator: The composite_operator of this CompositeCondition. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r l s c C s | j S )z� Gets the right_operand of this CompositeCondition. :return: The right_operand of this CompositeCondition. :rtype: oci.cloud_guard.models.Condition �r r r r r r { s z CompositeCondition.right_operandc C s || _ dS )z� Sets the right_operand of this CompositeCondition. :param right_operand: The right_operand of this CompositeCondition. :type: oci.cloud_guard.models.Condition Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zCompositeCondition.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCompositeCondition.__eq__c C s | |k S r r r r r r �__ne__� s zCompositeCondition.__ne__N)�__name__� __module__�__qualname__�__doc__ZCOMPOSITE_OPERATOR_ANDZCOMPOSITE_OPERATOR_ORr �propertyr �setterr r r r r! r r r r r s&