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 )�DiagnosticsResultz< Result from Database Connection Diagnostic action. � SUCCEEDED�FAILED� TIMED_OUTc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new DiagnosticsResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param result_type: The value to assign to the result_type property of this DiagnosticsResult. Allowed values for this property are: "SUCCEEDED", "FAILED", "TIMED_OUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type result_type: str :param error: The value to assign to the error property of this DiagnosticsResult. :type error: oci.database_migration.models.ResultError �strZResultError)�result_type�errorZ resultTyper N)Z swagger_typesZ attribute_map�_result_type�_error)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/database_migration/models/diagnostics_result.py�__init__ s ��zDiagnosticsResult.__init__c C s | j S )a� **[Required]** Gets the result_type of this DiagnosticsResult. Type of the Result (i.e. Success or Failure). Allowed values for this property are: "SUCCEEDED", "FAILED", "TIMED_OUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The result_type of this DiagnosticsResult. :rtype: str )r �r r r r r ; s zDiagnosticsResult.result_typec C s g d�}t ||�sd}|| _dS )z� Sets the result_type of this DiagnosticsResult. Type of the Result (i.e. Success or Failure). :param result_type: The result_type of this DiagnosticsResult. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r J s c C s | j S )z� Gets the error of this DiagnosticsResult. :return: The error of this DiagnosticsResult. :rtype: oci.database_migration.models.ResultError �r r r r r r Y s zDiagnosticsResult.errorc C s || _ dS )z� Sets the error of this DiagnosticsResult. :param error: The error of this DiagnosticsResult. :type: oci.database_migration.models.ResultError Nr )r r r r r r c s c C s t | �S �N)r r r r r �__repr__m s zDiagnosticsResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__p s zDiagnosticsResult.__eq__c C s | |k S r r r r r r �__ne__v s zDiagnosticsResult.__ne__N)�__name__� __module__�__qualname__�__doc__ZRESULT_TYPE_SUCCEEDEDZRESULT_TYPE_FAILEDZRESULT_TYPE_TIMED_OUTr �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