ruạṛ
a N��fc � @ 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 @ st e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�ApiValidationResultz* The result of single validation. �ERROR�WARNING�OK�FAILEDc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new ApiValidationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this ApiValidationResult. :type name: str :param result: The value to assign to the result property of this ApiValidationResult. Allowed values for this property are: "ERROR", "WARNING", "OK", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type result: str �str)�name�resultr r N)� swagger_types� attribute_map�_name�_result)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/api_validation_result.py�__init__ s ��zApiValidationResult.__init__c C s | j S )z� **[Required]** Gets the name of this ApiValidationResult. Name of the validation. :return: The name of this ApiValidationResult. :rtype: str �r �r r r r r = s zApiValidationResult.namec C s || _ dS )z� Sets the name of this ApiValidationResult. Name of the validation. :param name: The name of this ApiValidationResult. :type: str Nr )r r r r r r I s c C s | j S )a� **[Required]** Gets the result of this ApiValidationResult. Result of the validation. Allowed values for this property are: "ERROR", "WARNING", "OK", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The result of this ApiValidationResult. :rtype: str )r r r r r r U s zApiValidationResult.resultc C s g d�}t ||�sd}|| _dS )z� Sets the result of this ApiValidationResult. Result of the validation. :param result: The result of this ApiValidationResult. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r d s c C s t | �S �N)r r r r r �__repr__s s zApiValidationResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__v s zApiValidationResult.__eq__c C s | |k S r r r r r r �__ne__| s zApiValidationResult.__ne__N)�__name__� __module__�__qualname__�__doc__�RESULT_ERROR�RESULT_WARNING� RESULT_OK� RESULT_FAILEDr �propertyr �setterr r r r! r r r r r s"