ruạṛ
a ���fb � @ 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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�ApiValidationDetailz. Detail of a single error or warning. �INFO�WARNING�ERRORc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a) Initializes a new ApiValidationDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param msg: The value to assign to the msg property of this ApiValidationDetail. :type msg: str :param severity: The value to assign to the severity property of this ApiValidationDetail. Allowed values for this property are: "INFO", "WARNING", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type severity: str :param src: The value to assign to the src property of this ApiValidationDetail. :type src: list[list[float]] �strzlist[list[float]])�msg�severity�srcr r r N)Z swagger_typesZ attribute_map�_msg� _severity�_src)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/apigateway/models/api_validation_detail.py�__init__ s ��zApiValidationDetail.__init__c C s | j S )z� Gets the msg of this ApiValidationDetail. Description of the warning/error. :return: The msg of this ApiValidationDetail. :rtype: str �r �r r r r r B s zApiValidationDetail.msgc C s || _ dS )z� Sets the msg of this ApiValidationDetail. Description of the warning/error. :param msg: The msg of this ApiValidationDetail. :type: str Nr )r r r r r r N s c C s | j S )ao Gets the severity of this ApiValidationDetail. Severity of the issue. Allowed values for this property are: "INFO", "WARNING", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The severity of this ApiValidationDetail. :rtype: str )r r r r r r Z s zApiValidationDetail.severityc C s g d�}t ||�sd}|| _dS )z� Sets the severity of this ApiValidationDetail. Severity of the issue. :param severity: The severity of this ApiValidationDetail. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r i s c C s | j S )z� Gets the src of this ApiValidationDetail. Position of the issue in the specification file (line, column). :return: The src of this ApiValidationDetail. :rtype: list[list[float]] �r r r r r r x s zApiValidationDetail.srcc C s || _ dS )z� Sets the src of this ApiValidationDetail. Position of the issue in the specification file (line, column). :param src: The src of this ApiValidationDetail. :type: list[list[float]] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zApiValidationDetail.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zApiValidationDetail.__eq__c C s | |k S r r r r r r �__ne__� s zApiValidationDetail.__ne__N)�__name__� __module__�__qualname__�__doc__Z SEVERITY_INFOZSEVERITY_WARNINGZSEVERITY_ERRORr �propertyr �setterr r 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