ruạṛ
a N��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 @ s� e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS )�ApiValidationDetailsz( Detail of an error or warning. �ERROR�WARNING�OK�FAILEDc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a\ Initializes a new ApiValidationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param details: The value to assign to the details property of this ApiValidationDetails. :type details: list[oci.apigateway.models.ApiValidationDetail] :param name: The value to assign to the name property of this ApiValidationDetails. :type name: str :param result: The value to assign to the result property of this ApiValidationDetails. 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 zlist[ApiValidationDetail]�str)�details�name�resultr r r N)� swagger_types� attribute_map�_details�_name�_result)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/api_validation_details.py�__init__ s ��zApiValidationDetails.__init__c C s | j S )z� Gets the details of this ApiValidationDetails. Details of validation. :return: The details of this ApiValidationDetails. :rtype: list[oci.apigateway.models.ApiValidationDetail] �r �r r r r r D s zApiValidationDetails.detailsc C s || _ dS )z� Sets the details of this ApiValidationDetails. Details of validation. :param details: The details of this ApiValidationDetails. :type: list[oci.apigateway.models.ApiValidationDetail] Nr )r r r r r r P s c C s | j S )z� **[Required]** Gets the name of this ApiValidationDetails. Name of the validation. :return: The name of this ApiValidationDetails. :rtype: str �r r r r r r \ s zApiValidationDetails.namec C s || _ dS )z� Sets the name of this ApiValidationDetails. Name of the validation. :param name: The name of this ApiValidationDetails. :type: str Nr )r r r r r r h s c C s | j S )a� **[Required]** Gets the result of this ApiValidationDetails. 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 ApiValidationDetails. :rtype: str )r r r r r r t s zApiValidationDetails.resultc C s g d�}t ||�sd}|| _dS )z� Sets the result of this ApiValidationDetails. Result of the validation. :param result: The result of this ApiValidationDetails. :type: str )r r 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__� s zApiValidationDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zApiValidationDetails.__eq__c C s | |k S r r r! r r r �__ne__� s zApiValidationDetails.__ne__N)�__name__� __module__�__qualname__�__doc__�RESULT_ERROR�RESULT_WARNING� RESULT_OK� RESULT_FAILEDr �propertyr �setterr r 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