ruạṛ
a ���fQ � @ 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 )� UpdateExtractz| Parameters for Extract processes. If an empty object is specified, the stored Extract details will be removed. �LOW�MEDIUM�HIGHc K s( ddd�| _ ddd�| _d| _d| _dS )aa Initializes a new UpdateExtract 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 UpdateExtract. Allowed values for this property are: "LOW", "MEDIUM", "HIGH" :type performance_profile: str :param long_trans_duration: The value to assign to the long_trans_duration property of this UpdateExtract. :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 �P/usr/lib/python3.9/site-packages/oci/database_migration/models/update_extract.py�__init__ s ��zUpdateExtract.__init__c C s | j S )z� Gets the performance_profile of this UpdateExtract. Extract performance. Allowed values for this property are: "LOW", "MEDIUM", "HIGH" :return: The performance_profile of this UpdateExtract. :rtype: str )r �r r r r r ; s z!UpdateExtract.performance_profilec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the performance_profile of this UpdateExtract. Extract performance. :param performance_profile: The performance_profile of this UpdateExtract. :type: str )r r r z@Invalid value for `performance_profile`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r I s �c C s | j S )a� Gets the long_trans_duration of this UpdateExtract. 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 UpdateExtract. :rtype: int �r r r r r r Z s z!UpdateExtract.long_trans_durationc C s || _ dS )a� Sets the long_trans_duration of this UpdateExtract. 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 UpdateExtract. :type: int Nr )r r r r r r g s c C s t | �S �N)r r r r r �__repr__t s zUpdateExtract.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__w s zUpdateExtract.__eq__c C s | |k S r r r r r r �__ne__} s zUpdateExtract.__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