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 )é   )ÚPushDownOperationé    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sJ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdd„ Zd	d
„ Z	dd„ Z
dS )ÚQueryz
    A query object.
    c                 K   s.   dddœ| _ dddœ| _d| _d| _d| _dS )aµ  
        Initializes a new Query object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Query.model_type` attribute
        of this class is ``QUERY`` 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 Query.
            Allowed values for this property are: "FILTER", "JOIN", "SELECT", "SORT", "QUERY"
        :type model_type: str

        :param query:
            The value to assign to the query property of this Query.
        :type query: str

        Ústr)Z
model_typeÚqueryZ	modelTyper
   NZQUERY)Zswagger_typesZattribute_mapZ_model_typeÚ_query)ÚselfÚkwargs© r   úEusr/lib/python3.10/site-packages/oci/data_integration/models/query.pyÚ__init__   s   þþ
zQuery.__init__c                 C   s   | j S )z‡
        Gets the query of this Query.
        A query string.


        :return: The query of this Query.
        :rtype: str
        ©r   ©r   r   r   r   r
   0   s   
zQuery.queryc                 C   s
   || _ dS )z‹
        Sets the query of this Query.
        A query string.


        :param query: The query of this Query.
        :type: str
        Nr   )r   r
   r   r   r   r
   <   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__H   s   zQuery.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__K   s   zQuery.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__Q   s   
zQuery.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr
   Úsetterr   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
   