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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edd„ ƒZej	dd„ ƒZdd„ Zdd„ Zdd„ ZdS )ÚReplicatz,
    Parameters for Replicat processes.
    ÚLOWÚHIGHc                 K   s<   dddddœ| _ dddddœ| _d| _d| _d| _d| _dS )	a  
        Initializes a new Replicat object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param performance_profile:
            The value to assign to the performance_profile property of this Replicat.
            Allowed values for this property are: "LOW", "HIGH", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type performance_profile: str

        :param map_parallelism:
            The value to assign to the map_parallelism property of this Replicat.
        :type map_parallelism: int

        :param min_apply_parallelism:
            The value to assign to the min_apply_parallelism property of this Replicat.
        :type min_apply_parallelism: int

        :param max_apply_parallelism:
            The value to assign to the max_apply_parallelism property of this Replicat.
        :type max_apply_parallelism: int

        ÚstrÚint)Úperformance_profileÚmap_parallelismÚmin_apply_parallelismÚmax_apply_parallelismZperformanceProfileZmapParallelismZminApplyParallelismZmaxApplyParallelismN)Zswagger_typesZattribute_mapÚ_performance_profileÚ_map_parallelismÚ_min_apply_parallelismÚ_max_apply_parallelism)ÚselfÚkwargs© r   úJusr/lib/python3.10/site-packages/oci/database_migration/models/replicat.pyÚ__init__   s   üü
zReplicat.__init__c                 C   ó   | j S )aa  
        Gets the performance_profile of this Replicat.
        Replicat performance.

        Allowed values for this property are: "LOW", "HIGH", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The performance_profile of this Replicat.
        :rtype: str
        )r   ©r   r   r   r   r   E   s   zReplicat.performance_profilec                 C   s    ddg}t ||ƒsd}|| _dS )zÁ
        Sets the performance_profile of this Replicat.
        Replicat performance.


        :param performance_profile: The performance_profile of this Replicat.
        :type: str
        r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   T   s   


c                 C   r   )zÚ
        Gets the map_parallelism of this Replicat.
        Number of threads used to read trail files (valid for Parallel Replicat)


        :return: The map_parallelism of this Replicat.
        :rtype: int
        ©r   r   r   r   r   r   c   ó   
zReplicat.map_parallelismc                 C   ó
   || _ dS )zè
        Sets the map_parallelism of this Replicat.
        Number of threads used to read trail files (valid for Parallel Replicat)


        :param map_parallelism: The map_parallelism of this Replicat.
        :type: int
        Nr   )r   r   r   r   r   r   o   ó   

c                 C   r   )a  
        Gets the min_apply_parallelism of this Replicat.
        Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)


        :return: The min_apply_parallelism of this Replicat.
        :rtype: int
        ©r   r   r   r   r   r   {   r   zReplicat.min_apply_parallelismc                 C   r   )a  
        Sets the min_apply_parallelism of this Replicat.
        Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)


        :param min_apply_parallelism: The min_apply_parallelism of this Replicat.
        :type: int
        Nr   )r   r   r   r   r   r   ‡   r   c                 C   r   )a  
        Gets the max_apply_parallelism of this Replicat.
        Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)


        :return: The max_apply_parallelism of this Replicat.
        :rtype: int
        ©r   r   r   r   r   r   “   r   zReplicat.max_apply_parallelismc                 C   r   )a  
        Sets the max_apply_parallelism of this Replicat.
        Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat)


        :param max_apply_parallelism: The max_apply_parallelism of this Replicat.
        :type: int
        Nr   )r   r   r   r   r   r   Ÿ   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__«   s   zReplicat.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__®   s   zReplicat.__eq__c                 C   s
   | |k S r    r   r#   r   r   r   Ú__ne__´   s   
zReplicat.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZPERFORMANCE_PROFILE_LOWZPERFORMANCE_PROFILE_HIGHr   Úpropertyr   Úsetterr   r   r   r!   r%   r&   r   r   r   r   r      s0    +







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   