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	dd„ Z
dd„ Zdd„ ZdS )ÚReplicaDetailszR
    Number of replicas of service components like Rest Proxy, CA and Console
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )aw  
        Initializes a new ReplicaDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param proxy_count:
            The value to assign to the proxy_count property of this ReplicaDetails.
        :type proxy_count: int

        :param ca_count:
            The value to assign to the ca_count property of this ReplicaDetails.
        :type ca_count: int

        :param console_count:
            The value to assign to the console_count property of this ReplicaDetails.
        :type console_count: int

        Úint)Úproxy_countÚca_countÚconsole_countZ
proxyCountZcaCountZconsoleCountN)Zswagger_typesZattribute_mapÚ_proxy_countÚ	_ca_countÚ_console_count)ÚselfÚkwargs© r   úIusr/lib/python3.10/site-packages/oci/blockchain/models/replica_details.pyÚ__init__   s   ýý
zReplicaDetails.__init__c                 C   ó   | j S )z³
        Gets the proxy_count of this ReplicaDetails.
        Number of REST proxy replicas


        :return: The proxy_count of this ReplicaDetails.
        :rtype: int
        ©r   ©r   r   r   r   r   4   ó   
zReplicaDetails.proxy_countc                 C   ó
   || _ dS )z½
        Sets the proxy_count of this ReplicaDetails.
        Number of REST proxy replicas


        :param proxy_count: The proxy_count of this ReplicaDetails.
        :type: int
        Nr   )r   r   r   r   r   r   @   ó   

c                 C   r   )z¥
        Gets the ca_count of this ReplicaDetails.
        Number of CA replicas


        :return: The ca_count of this ReplicaDetails.
        :rtype: int
        ©r   r   r   r   r   r	   L   r   zReplicaDetails.ca_countc                 C   r   )z¬
        Sets the ca_count of this ReplicaDetails.
        Number of CA replicas


        :param ca_count: The ca_count of this ReplicaDetails.
        :type: int
        Nr   )r   r	   r   r   r   r	   X   r   c                 C   r   )z´
        Gets the console_count of this ReplicaDetails.
        Number of console replicas


        :return: The console_count of this ReplicaDetails.
        :rtype: int
        ©r   r   r   r   r   r
   d   r   zReplicaDetails.console_countc                 C   r   )zÀ
        Sets the console_count of this ReplicaDetails.
        Number of console replicas


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