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	edd„ ƒZ
e
jdd„ ƒZ
dd„ Zdd„ Zdd„ ZdS )ÚIndexSummaryz%
    Information about an index.
    c                 K   s<   dddddœ| _ dddddœ| _d| _d| _d| _d| _dS )	a  
        Initializes a new IndexSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param keys:
            The value to assign to the keys property of this IndexSummary.
        :type keys: list[oci.nosql.models.IndexKey]

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this IndexSummary.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this IndexSummary.
        :type lifecycle_details: str

        Ústrzlist[IndexKey])ÚnameÚkeysÚlifecycle_stateÚlifecycle_detailsr   r	   ZlifecycleStateZlifecycleDetailsN)Zswagger_typesZattribute_mapÚ_nameÚ_keysÚ_lifecycle_stateÚ_lifecycle_details)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/nosql/models/index_summary.pyÚ__init__   s   üü
zIndexSummary.__init__c                 C   ó   | j S )z
        Gets the name of this IndexSummary.
        Index name.


        :return: The name of this IndexSummary.
        :rtype: str
        ©r   ©r   r   r   r   r   ;   ó   
zIndexSummary.namec                 C   ó
   || _ dS )z’
        Sets the name of this IndexSummary.
        Index name.


        :param name: The name of this IndexSummary.
        :type: str
        Nr   )r   r   r   r   r   r   G   ó   

c                 C   r   )zÄ
        Gets the keys of this IndexSummary.
        A set of keys for a secondary index.


        :return: The keys of this IndexSummary.
        :rtype: list[oci.nosql.models.IndexKey]
        ©r   r   r   r   r   r	   S   r   zIndexSummary.keysc                 C   r   )zÇ
        Sets the keys of this IndexSummary.
        A set of keys for a secondary index.


        :param keys: The keys of this IndexSummary.
        :type: list[oci.nosql.models.IndexKey]
        Nr   )r   r	   r   r   r   r	   _   r   c                 C   r   )z°
        Gets the lifecycle_state of this IndexSummary.
        The state of an index.


        :return: The lifecycle_state of this IndexSummary.
        :rtype: str
        ©r   r   r   r   r   r
   k   r   zIndexSummary.lifecycle_statec                 C   r   )z¾
        Sets the lifecycle_state of this IndexSummary.
        The state of an index.


        :param lifecycle_state: The lifecycle_state of this IndexSummary.
        :type: str
        Nr   )r   r
   r   r   r   r
   w   r   c                 C   r   )zÔ
        Gets the lifecycle_details of this IndexSummary.
        A message describing the current state in more detail.


        :return: The lifecycle_details of this IndexSummary.
        :rtype: str
        ©r   r   r   r   r   r   ƒ   r   zIndexSummary.lifecycle_detailsc                 C   r   )zä
        Sets the lifecycle_details of this IndexSummary.
        A message describing the current state in more detail.


        :param lifecycle_details: The lifecycle_details of this IndexSummary.
        :type: str
        Nr   )r   r   r   r   r   r      r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__›   s   zIndexSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__ž   s   zIndexSummary.__eq__c                 C   s
   | |k S r   r   r!   r   r   r   Ú__ne__¤   s   
zIndexSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   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   