o
    ëÉ¶dy  ã                   @   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 )ÚIdentityz5
    The identity properties of a table, if any.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )aR  
        Initializes a new Identity object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param column_name:
            The value to assign to the column_name property of this Identity.
        :type column_name: str

        :param is_always:
            The value to assign to the is_always property of this Identity.
        :type is_always: bool

        :param is_null:
            The value to assign to the is_null property of this Identity.
        :type is_null: bool

        ÚstrÚbool)Úcolumn_nameÚ	is_alwaysÚis_nullZ
columnNameZisAlwaysZisNullN)Zswagger_typesZattribute_mapÚ_column_nameÚ
_is_alwaysÚ_is_null)ÚselfÚkwargs© r   ú=usr/lib/python3.10/site-packages/oci/nosql/models/identity.pyÚ__init__   s   ýý
zIdentity.__init__c                 C   ó   | j S )zª
        Gets the column_name of this Identity.
        The name of the identity column.


        :return: The column_name of this Identity.
        :rtype: str
        ©r   ©r   r   r   r   r	   4   ó   
zIdentity.column_namec                 C   ó
   || _ dS )z´
        Sets the column_name of this Identity.
        The name of the identity column.


        :param column_name: The column_name of this Identity.
        :type: str
        Nr   )r   r	   r   r   r   r	   @   ó   

c                 C   r   )z¶
        Gets the is_always of this Identity.
        True if the identity value is GENERATED ALWAYS.


        :return: The is_always of this Identity.
        :rtype: bool
        ©r   r   r   r   r   r
   L   r   zIdentity.is_alwaysc                 C   r   )z¾
        Sets the is_always of this Identity.
        True if the identity value is GENERATED ALWAYS.


        :param is_always: The is_always of this Identity.
        :type: bool
        Nr   )r   r
   r   r   r   r
   X   r   c                 C   r   )z¾
        Gets the is_null of this Identity.
        True if the identity value is GENERATED BY DEFAULT ON NULL.


        :return: The is_null of this Identity.
        :rtype: bool
        ©r   r   r   r   r   r   d   r   zIdentity.is_nullc                 C   r   )zÄ
        Sets the is_null of this Identity.
        True if the identity value is GENERATED BY DEFAULT ON NULL.


        :param is_null: The is_null of this Identity.
        :type: bool
        Nr   )r   r   r   r   r   r   p   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__|   s   zIdentity.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__   s   zIdentity.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__…   s   
zIdentity.__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   Úobjectr   r   r   r   r   Ú<module>   s   