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                   @   sp   e Zd 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dd„ Zdd„ Zdd„ ZdS )ÚExtractz+
    Parameters for Extract processes.
    ÚLOWÚMEDIUMÚHIGHc                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aÈ  
        Initializes a new Extract 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 Extract.
            Allowed values for this property are: "LOW", "MEDIUM", "HIGH", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type performance_profile: str

        :param long_trans_duration:
            The value to assign to the long_trans_duration property of this Extract.
        :type long_trans_duration: int

        ÚstrÚint)Úperformance_profileÚlong_trans_durationZperformanceProfileZlongTransDurationN)Zswagger_typesZattribute_mapÚ_performance_profileÚ_long_trans_duration)ÚselfÚkwargs© r   úIusr/lib/python3.10/site-packages/oci/database_migration/models/extract.pyÚ__init__   s   þþ
zExtract.__init__c                 C   ó   | j S )ah  
        Gets the performance_profile of this Extract.
        Extract performance.

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


        :return: The performance_profile of this Extract.
        :rtype: str
        )r   ©r   r   r   r   r   ;   s   zExtract.performance_profilec                 C   s    g d¢}t ||ƒsd}|| _dS )z¾
        Sets the performance_profile of this Extract.
        Extract performance.


        :param performance_profile: The performance_profile of this Extract.
        :type: str
        )r   r   r	   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   J   s   


c                 C   r   )a  
        Gets the long_trans_duration of this Extract.
        Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running.
        If not specified, Extract will not generate a warning on long-running transactions.


        :return: The long_trans_duration of this Extract.
        :rtype: int
        ©r   r   r   r   r   r   Y   s   zExtract.long_trans_durationc                 C   s
   || _ dS )a‘  
        Sets the long_trans_duration of this Extract.
        Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running.
        If not specified, Extract will not generate a warning on long-running transactions.


        :param long_trans_duration: The long_trans_duration of this Extract.
        :type: int
        Nr   )r   r   r   r   r   r   f   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__s   s   zExtract.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__v   s   zExtract.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__|   s   
zExtract.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZPERFORMANCE_PROFILE_LOWZPERFORMANCE_PROFILE_MEDIUMZPERFORMANCE_PROFILE_HIGHr   Úpropertyr   Úsetterr   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   