o
    ëÉ¶dh  ã                   @   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 )é   )ÚPushDownOperationé    )Ú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 )ÚJoinzn
    The information about the join operator. The join operator links data from multiple inbound sources.
    Ú
INNER_JOINÚ	LEFT_JOINÚ
RIGHT_JOINÚ	FULL_JOINc                 K   s8   ddddœ| _ ddddœ| _d| _d| _d| _d| _dS )aŒ  
        Initializes a new Join object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Join.model_type` attribute
        of this class is ``JOIN`` 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 Join.
            Allowed values for this property are: "FILTER", "JOIN", "SELECT", "SORT", "QUERY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type model_type: str

        :param condition:
            The value to assign to the condition property of this Join.
        :type condition: str

        :param policy:
            The value to assign to the policy property of this Join.
            Allowed values for this property are: "INNER_JOIN", "LEFT_JOIN", "RIGHT_JOIN", "FULL_JOIN", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type policy: str

        Ústr)Z
model_typeÚ	conditionÚpolicyZ	modelTyper   r   NZJOIN)Zswagger_typesZattribute_mapZ_model_typeÚ
_conditionÚ_policy)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/data_integration/models/join.pyÚ__init__"   s   ýý
zJoin.__init__c                 C   ó   | j S )z‘
        Gets the condition of this Join.
        The join condition.


        :return: The condition of this Join.
        :rtype: str
        ©r   ©r   r   r   r   r   J   s   
zJoin.conditionc                 C   s
   || _ dS )z™
        Sets the condition of this Join.
        The join condition.


        :param condition: The condition of this Join.
        :type: str
        Nr   )r   r   r   r   r   r   V   s   

c                 C   r   )ab  
        Gets the policy of this Join.
        The type of join.

        Allowed values for this property are: "INNER_JOIN", "LEFT_JOIN", "RIGHT_JOIN", "FULL_JOIN", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The policy of this Join.
        :rtype: str
        )r   r   r   r   r   r   b   s   zJoin.policyc                 C   s    g d¢}t ||ƒsd}|| _dS )zŽ
        Sets the policy of this Join.
        The type of join.


        :param policy: The policy of this Join.
        :type: str
        )r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   q   s   


c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__€   s   zJoin.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__ƒ   s   zJoin.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__‰   s   
zJoin.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZPOLICY_INNER_JOINZPOLICY_LEFT_JOINZPOLICY_RIGHT_JOINZPOLICY_FULL_JOINr   Úpropertyr   Úsetterr   r   r   r    r   r   r   r   r      s$    (



r   N)	Zpush_down_operationr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   Ú<module>   s
   