ruạṛ
a N��fZ � @ 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 @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�ValidationResultz; Validation result object for a single data asset. �ERROR�SUCCESSc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new ValidationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param error_msg: The value to assign to the error_msg property of this ValidationResult. :type error_msg: str :param status: The value to assign to the status property of this ValidationResult. Allowed values for this property are: "ERROR", "SUCCESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str �str)� error_msg�status�errorMsgr N)� swagger_types� attribute_map� _error_msg�_status)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_connectivity/models/validation_result.py�__init__ s ��zValidationResult.__init__c C s | j S )z� Gets the error_msg of this ValidationResult. Error text for validation failure. :return: The error_msg of this ValidationResult. :rtype: str �r �r r r r r 5 s zValidationResult.error_msgc C s || _ dS )z� Sets the error_msg of this ValidationResult. Error text for validation failure. :param error_msg: The error_msg of this ValidationResult. :type: str Nr )r r r r r r A s c C s | j S )aq Gets the status of this ValidationResult. Status of the validation result execution. Allowed values for this property are: "ERROR", "SUCCESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this ValidationResult. :rtype: str )r r r r r r M s zValidationResult.statusc C s ddg}t ||�sd}|| _dS )z� Sets the status of this ValidationResult. Status of the validation result execution. :param status: The status of this ValidationResult. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r \ s c C s t | �S �N)r r r r r �__repr__k s zValidationResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__n s zValidationResult.__eq__c C s | |k S r r r r r r �__ne__t s zValidationResult.__ne__N)�__name__� __module__�__qualname__�__doc__�STATUS_ERROR�STATUS_SUCCESSr �propertyr �setterr r r r r r r r r s r N)�oci.utilr r r �oci.decoratorsr �objectr r r r r �<module> s
cải xoăn