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                   @   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 )PeerCollectionz?
    Result of a peer list or search. Contains PeerSummary
    c                 K   s   ddi| _ ddi| _d| _dS )al  
        Initializes a new PeerCollection 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 PeerCollection.
        :type items: list[oci.blockchain.models.PeerSummary]

        itemszlist[PeerSummary]N)Zswagger_typesZattribute_map_items)selfkwargs r   Iusr/lib/python3.10/site-packages/oci/blockchain/models/peer_collection.py__init__   s
   
zPeerCollection.__init__c                 C   s   | j S )z
        **[Required]** Gets the items of this PeerCollection.
        Collection of PeerSummary


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


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

c                 C   s   t | S N)r   r   r   r   r   __repr__>   s   zPeerCollection.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r	   otherr   r   r   __eq__A   s   zPeerCollection.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__G   s   
zPeerCollection.__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   