o
    ëÉ¶dr  ã                   @   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                   @   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 )ÚOsnCollectionz=
    Result of a OSN list or search. Contains OsnSummary
    c                 K   s   ddi| _ ddi| _d| _dS )ai  
        Initializes a new OsnCollection object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param items:
            The value to assign to the items property of this OsnCollection.
        :type items: list[oci.blockchain.models.OsnSummary]

        Úitemszlist[OsnSummary]N)Zswagger_typesZattribute_mapÚ_items)ÚselfÚkwargs© r   úHusr/lib/python3.10/site-packages/oci/blockchain/models/osn_collection.pyÚ__init__   s
   ÿÿ
zOsnCollection.__init__c                 C   s   | j S )zÒ
        **[Required]** Gets the items of this OsnCollection.
        Collection of OsnSummary


        :return: The items of this OsnCollection.
        :rtype: list[oci.blockchain.models.OsnSummary]
        ©r   ©r	   r   r   r   r   &   s   
zOsnCollection.itemsc                 C   s
   || _ dS )zÇ
        Sets the items of this OsnCollection.
        Collection of OsnSummary


        :param items: The items of this OsnCollection.
        :type: list[oci.blockchain.models.OsnSummary]
        Nr   )r	   r   r   r   r   r   2   s   

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