ruạṛ
a ���f% � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Operator� )�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 )�ExpressionOperatorz% An operator for expressions �ALL_SUCCESS� ALL_FAILED�ALL_COMPLETEc K s� dddddddddddddddd �| _ d ddd dddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )ay Initializes a new ExpressionOperator object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ExpressionOperator.model_type` attribute of this class is ``EXPRESSION_OPERATOR`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this ExpressionOperator. Allowed values for this property are: "SOURCE_OPERATOR", "FILTER_OPERATOR", "JOINER_OPERATOR", "AGGREGATOR_OPERATOR", "PROJECTION_OPERATOR", "TARGET_OPERATOR", "FLATTEN_OPERATOR", "DISTINCT_OPERATOR", "SORT_OPERATOR", "UNION_OPERATOR", "INTERSECT_OPERATOR", "MINUS_OPERATOR", "MERGE_OPERATOR", "FUNCTION_OPERATOR", "SPLIT_OPERATOR", "START_OPERATOR", "END_OPERATOR", "PIPELINE_OPERATOR", "DECISION_OPERATOR", "TASK_OPERATOR", "EXPRESSION_OPERATOR", "LOOKUP_OPERATOR", "PIVOT_OPERATOR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param key: The value to assign to the key property of this ExpressionOperator. :type key: str :param model_version: The value to assign to the model_version property of this ExpressionOperator. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ExpressionOperator. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ExpressionOperator. :type name: str :param description: The value to assign to the description property of this ExpressionOperator. :type description: str :param object_version: The value to assign to the object_version property of this ExpressionOperator. :type object_version: int :param input_ports: The value to assign to the input_ports property of this ExpressionOperator. :type input_ports: list[oci.data_integration.models.InputPort] :param output_ports: The value to assign to the output_ports property of this ExpressionOperator. :type output_ports: list[oci.data_integration.models.TypedObject] :param object_status: The value to assign to the object_status property of this ExpressionOperator. :type object_status: int :param identifier: The value to assign to the identifier property of this ExpressionOperator. :type identifier: str :param parameters: The value to assign to the parameters property of this ExpressionOperator. :type parameters: list[oci.data_integration.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this ExpressionOperator. :type op_config_values: oci.data_integration.models.ConfigValues :param trigger_rule: The value to assign to the trigger_rule property of this ExpressionOperator. Allowed values for this property are: "ALL_SUCCESS", "ALL_FAILED", "ALL_COMPLETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type trigger_rule: str :param config_provider_delegate: The value to assign to the config_provider_delegate property of this ExpressionOperator. :type config_provider_delegate: oci.data_integration.models.ConfigProvider �strZParentReference�intzlist[InputPort]zlist[TypedObject]zlist[Parameter]ZConfigValuesZConfigProvider)Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZinput_portsZoutput_portsZ object_status� identifier� parametersZop_config_values�trigger_rule�config_provider_delegateZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZ inputPortsZoutputPortsZobjectStatusr r ZopConfigValuesZtriggerRuleZconfigProviderDelegateNZEXPRESSION_OPERATOR)Z swagger_typesZ attribute_mapZ_model_typeZ_keyZ_model_versionZ_parent_ref�_nameZ_descriptionZ_object_versionZ_input_portsZ _output_portsZ_object_statusZ_identifierZ_parametersZ_op_config_values� _trigger_rule�_config_provider_delegate)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/data_integration/models/expression_operator.py�__init__ s` H��zExpressionOperator.__init__c C s | j S )a� Gets the trigger_rule of this ExpressionOperator. The merge condition. The conditions are ALL_SUCCESS - All the preceeding operators need to be successful. ALL_FAILED - All the preceeding operators should have failed. ALL_COMPLETE - All the preceeding operators should have completed. It could have executed successfully or failed. Allowed values for this property are: "ALL_SUCCESS", "ALL_FAILED", "ALL_COMPLETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The trigger_rule of this ExpressionOperator. :rtype: str )r �r r r r r � s zExpressionOperator.trigger_rulec C s g d�}t ||�sd}|| _dS )a� Sets the trigger_rule of this ExpressionOperator. The merge condition. The conditions are ALL_SUCCESS - All the preceeding operators need to be successful. ALL_FAILED - All the preceeding operators should have failed. ALL_COMPLETE - All the preceeding operators should have completed. It could have executed successfully or failed. :param trigger_rule: The trigger_rule of this ExpressionOperator. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� Gets the config_provider_delegate of this ExpressionOperator. :return: The config_provider_delegate of this ExpressionOperator. :rtype: oci.data_integration.models.ConfigProvider �r r r r r r � s z+ExpressionOperator.config_provider_delegatec C s || _ dS )z� Sets the config_provider_delegate of this ExpressionOperator. :param config_provider_delegate: The config_provider_delegate of this ExpressionOperator. :type: oci.data_integration.models.ConfigProvider Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zExpressionOperator.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zExpressionOperator.__eq__c C s | |k S r r r"