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 )� CreateExtractz6 Parameters for GoldenGate Extract processes. �LOW�MEDIUM�HIGHc K s( ddd�| _ ddd�| _d| _d| _dS )aa Initializes a new CreateExtract 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 CreateExtract. 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 CreateExtract. :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/create_extract.py�__init__ s ��zCreateExtract.__init__c C s | j S )z� Gets the performance_profile of this CreateExtract. Extract performance. Allowed values for this property are: "LOW", "MEDIUM", "HIGH" :return: The performance_profile of this CreateExtract. :rtype: str )r �r r r r r : s z!CreateExtract.performance_profilec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the performance_profile of this CreateExtract. Extract performance. :param performance_profile: The performance_profile of this CreateExtract. :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 H s �c C s | j S )a� Gets the long_trans_duration of this CreateExtract. 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 CreateExtract. :rtype: int �r r r r r r Y s z!CreateExtract.long_trans_durationc C s || _ dS )a� Sets the long_trans_duration of this CreateExtract. 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 CreateExtract. :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 zCreateExtract.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__v s zCreateExtract.__eq__c C s | |k S r r r r r r �__ne__| s zCreateExtract.__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