ruạṛ
a ���f � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sR e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )�PeerRolez Peer role �MEMBER�ADMINc K s ddi| _ ddi| _d| _dS )a} Initializes a new PeerRole object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param role: The value to assign to the role property of this PeerRole. Allowed values for this property are: "MEMBER", "ADMIN" :type role: str �role�strN)Z swagger_typesZ attribute_map�_role)�self�kwargs� r �C/usr/lib/python3.9/site-packages/oci/blockchain/models/peer_role.py�__init__ s ��zPeerRole.__init__c C s | j S )z� Gets the role of this PeerRole. Peer role names Allowed values for this property are: "MEMBER", "ADMIN" :return: The role of this PeerRole. :rtype: str )r �r r r r r / s z PeerRole.rolec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the role of this PeerRole. Peer role names :param role: The role of this PeerRole. :type: str r r z1Invalid value for `role`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r = s �c C s t | �S �N)r r r r r �__repr__N s zPeerRole.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Q s zPeerRole.__eq__c C s | |k S r r r r r r �__ne__W s zPeerRole.__ne__N) �__name__� __module__�__qualname__�__doc__ZROLE_MEMBERZ ROLE_ADMINr �propertyr �setterr r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn