o
    ëÉ¶d#  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s~   e 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ed
d„ ƒZ	e	jdd„ ƒZ	dd„ Z
dd„ Zdd„ ZdS )ÚPreparedStatementz*
    The result of query preparation.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )	aˆ  
        Initializes a new PreparedStatement object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param statement:
            The value to assign to the statement property of this PreparedStatement.
        :type statement: str

        :param query_plan:
            The value to assign to the query_plan property of this PreparedStatement.
        :type query_plan: object

        :param usage:
            The value to assign to the usage property of this PreparedStatement.
        :type usage: oci.nosql.models.RequestUsage

        ÚstrÚobjectZRequestUsage)Ú	statementÚ
query_planÚusager	   Z	queryPlanr   N)Zswagger_typesZattribute_mapÚ
_statementÚ_query_planÚ_usage)ÚselfÚkwargs© r   úGusr/lib/python3.10/site-packages/oci/nosql/models/prepared_statement.pyÚ__init__   s   ýý
zPreparedStatement.__init__c                 C   ó   | j S )zè
        Gets the statement of this PreparedStatement.
        A base64-encoded, compiled and parameterized version of
        a SQL statement.


        :return: The statement of this PreparedStatement.
        :rtype: str
        ©r   ©r   r   r   r   r	   4   s   zPreparedStatement.statementc                 C   ó
   || _ dS )zð
        Sets the statement of this PreparedStatement.
        A base64-encoded, compiled and parameterized version of
        a SQL statement.


        :param statement: The statement of this PreparedStatement.
        :type: str
        Nr   )r   r	   r   r   r   r	   A   s   
c                 C   r   )zÝ
        Gets the query_plan of this PreparedStatement.
        A representation of the query plan as a schema-less JSON object.


        :return: The query_plan of this PreparedStatement.
        :rtype: object
        ©r   r   r   r   r   r
   N   s   
zPreparedStatement.query_planc                 C   r   )zæ
        Sets the query_plan of this PreparedStatement.
        A representation of the query plan as a schema-less JSON object.


        :param query_plan: The query_plan of this PreparedStatement.
        :type: object
        Nr   )r   r
   r   r   r   r
   Z   s   

c                 C   r   )z 
        Gets the usage of this PreparedStatement.

        :return: The usage of this PreparedStatement.
        :rtype: oci.nosql.models.RequestUsage
        ©r   r   r   r   r   r   f   s   zPreparedStatement.usagec                 C   r   )z¤
        Sets the usage of this PreparedStatement.

        :param usage: The usage of this PreparedStatement.
        :type: oci.nosql.models.RequestUsage
        Nr   )r   r   r   r   r   r   p   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__z   s   zPreparedStatement.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__}   s   zPreparedStatement.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__ƒ   s   
zPreparedStatement.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r   r    r   r   r   r   r      s$    "




	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   r   Ú<module>   s   