o
    ɶd                      @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd deZdS )   )Operator    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   st   e Zd ZdZdZdZdZdZdd Ze	dd	 Z
e
jd
d	 Z
e	dd Zejdd Zdd Zdd Zdd ZdS )Joinerz0
    The information about a joiner object.
    INNERFULLLEFTRIGHTc                 K   s   dddddddddddddddd	| _ d
ddddddddddddddd	| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _d| _d| _dS )as  
        Initializes a new Joiner object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Joiner.model_type` attribute
        of this class is ``JOINER_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 Joiner.
            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 Joiner.
        :type key: str

        :param model_version:
            The value to assign to the model_version property of this Joiner.
        :type model_version: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Joiner.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param name:
            The value to assign to the name property of this Joiner.
        :type name: str

        :param description:
            The value to assign to the description property of this Joiner.
        :type description: str

        :param object_version:
            The value to assign to the object_version property of this Joiner.
        :type object_version: int

        :param input_ports:
            The value to assign to the input_ports property of this Joiner.
        :type input_ports: list[oci.data_integration.models.InputPort]

        :param output_ports:
            The value to assign to the output_ports property of this Joiner.
        :type output_ports: list[oci.data_integration.models.TypedObject]

        :param object_status:
            The value to assign to the object_status property of this Joiner.
        :type object_status: int

        :param identifier:
            The value to assign to the identifier property of this Joiner.
        :type identifier: str

        :param parameters:
            The value to assign to the parameters property of this Joiner.
        :type parameters: list[oci.data_integration.models.Parameter]

        :param op_config_values:
            The value to assign to the op_config_values property of this Joiner.
        :type op_config_values: oci.data_integration.models.ConfigValues

        :param join_type:
            The value to assign to the join_type property of this Joiner.
            Allowed values for this property are: "INNER", "FULL", "LEFT", "RIGHT", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type join_type: str

        :param join_condition:
            The value to assign to the join_condition property of this Joiner.
        :type join_condition: oci.data_integration.models.Expression

        strZParentReferenceintzlist[InputPort]zlist[TypedObject]zlist[Parameter]ZConfigValues
Expression)Z
model_typekeyZmodel_versionZ
parent_refnamedescriptionZobject_versionZinput_portsZoutput_portsZobject_status
identifier
parametersZop_config_values	join_typejoin_conditionZ	modelTyper   ZmodelVersionZ	parentRefr   r   ZobjectVersionZ
inputPortsZoutputPortsZobjectStatusr   r   ZopConfigValuesZjoinTypeZjoinConditionNZJOINER_OPERATOR)Zswagger_typesZattribute_mapZ_model_type_keyZ_model_versionZ_parent_ref_nameZ_descriptionZ_object_versionZ_input_portsZ_output_portsZ_object_statusZ_identifier_parametersZ_op_config_values
_join_type_join_condition)selfkwargs r   Fusr/lib/python3.10/site-packages/oci/data_integration/models/joiner.py__init__"   s`   H
zJoiner.__init__c                 C      | j S )aO  
        Gets the join_type of this Joiner.
        joinType

        Allowed values for this property are: "INNER", "FULL", "LEFT", "RIGHT", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The join_type of this Joiner.
        :rtype: str
        )r   r   r   r   r   r      s   zJoiner.join_typec                 C   s    g d}t ||sd}|| _dS )z
        Sets the join_type of this Joiner.
        joinType


        :param join_type: The join_type of this Joiner.
        :type: str
        )r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r      s   


c                 C   r!   )z
        Gets the join_condition of this Joiner.

        :return: The join_condition of this Joiner.
        :rtype: oci.data_integration.models.Expression
        r   r"   r   r   r   r      s   zJoiner.join_conditionc                 C   s
   || _ dS )z
        Sets the join_condition of this Joiner.

        :param join_condition: The join_condition of this Joiner.
        :type: oci.data_integration.models.Expression
        Nr#   )r   r   r   r   r   r      s   
c                 C   s   t | S N)r   r"   r   r   r   __repr__   s   zJoiner.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zJoiner.__eq__c                 C   s
   | |k S r$   r   r'   r   r   r   __ne__   s   
zJoiner.__ne__N)__name__
__module____qualname____doc__ZJOIN_TYPE_INNERZJOIN_TYPE_FULLZJOIN_TYPE_LEFTZJOIN_TYPE_RIGHTr    propertyr   setterr   r%   r)   r*   r   r   r   r   r      s$    |


	
	r   N)	operatorr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   <module>   s
   