ruạṛ
a ���fY � @ 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 @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zd d!� Zd"S )#�Peerz A Peer details �ACTIVE�INACTIVE�FAILEDc K sZ dddddddd�| _ dddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS )a* Initializes a new Peer object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param peer_key: The value to assign to the peer_key property of this Peer. :type peer_key: str :param role: The value to assign to the role property of this Peer. :type role: str :param alias: The value to assign to the alias property of this Peer. :type alias: str :param ocpu_allocation_param: The value to assign to the ocpu_allocation_param property of this Peer. :type ocpu_allocation_param: oci.blockchain.models.OcpuAllocationNumberParam :param host: The value to assign to the host property of this Peer. :type host: str :param ad: The value to assign to the ad property of this Peer. :type ad: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Peer. Allowed values for this property are: "ACTIVE", "INACTIVE", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str �strZOcpuAllocationNumberParam)�peer_key�role�alias�ocpu_allocation_param�host�ad�lifecycle_stateZpeerKeyr r ZocpuAllocationParamr r ZlifecycleStateN) Z swagger_typesZ attribute_map� _peer_key�_role�_alias�_ocpu_allocation_param�_host�_ad�_lifecycle_state)�self�kwargs� r �>/usr/lib/python3.9/site-packages/oci/blockchain/models/peer.py�__init__ s. %�� z Peer.__init__c C s | j S )z� **[Required]** Gets the peer_key of this Peer. peer identifier :return: The peer_key of this Peer. :rtype: str �r �r r r r r ^ s z Peer.peer_keyc C s || _ dS )z� Sets the peer_key of this Peer. peer identifier :param peer_key: The peer_key of this Peer. :type: str Nr )r r r r r r j s c C s | j S )z� **[Required]** Gets the role of this Peer. Peer role :return: The role of this Peer. :rtype: str �r r r r r r v s z Peer.rolec C s || _ dS )z� Sets the role of this Peer. Peer role :param role: The role of this Peer. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the alias of this Peer. peer alias :return: The alias of this Peer. :rtype: str �r r r r r r � s z Peer.aliasc C s || _ dS )z� Sets the alias of this Peer. peer alias :param alias: The alias of this Peer. :type: str Nr! )r r r r r r � s c C s | j S )z� Gets the ocpu_allocation_param of this Peer. :return: The ocpu_allocation_param of this Peer. :rtype: oci.blockchain.models.OcpuAllocationNumberParam �r r r r r r � s zPeer.ocpu_allocation_paramc C s || _ dS )z� Sets the ocpu_allocation_param of this Peer. :param ocpu_allocation_param: The ocpu_allocation_param of this Peer. :type: oci.blockchain.models.OcpuAllocationNumberParam Nr"