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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�Extractz+ Parameters for Extract processes. �LOW�MEDIUM�HIGHc K s( ddd�| _ ddd�| _d| _d| _dS )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_durationZperformanceProfileZlongTransDurationN)Z swagger_typesZ attribute_map�_performance_profile�_long_trans_duration)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/database_migration/models/extract.py�__init__ s ��zExtract.__init__c C s | 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 zExtract.performance_profilec C s g d�}t ||�sd}|| _dS )z� Sets the performance_profile of this Extract. Extract performance. :param performance_profile: The performance_profile of this Extract. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r J s c C s | j S )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 zExtract.long_trans_durationc C s || _ dS )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 zExtract.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__v s zExtract.__eq__c C s | |k S r r r r r r �__ne__| s zExtract.__ne__N)�__name__� __module__�__qualname__�__doc__ZPERFORMANCE_PROFILE_LOWZPERFORMANCE_PROFILE_MEDIUMZPERFORMANCE_PROFILE_HIGHr �propertyr �setterr r 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