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 @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�Messagez# The details of a message. �ERROR�WARNING�INFOc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new Message object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this Message. Allowed values for this property are: "ERROR", "WARNING", "INFO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param code: The value to assign to the code property of this Message. :type code: str :param message: The value to assign to the message property of this Message. :type message: str �str)�type�code�messager r r N)Z swagger_typesZ attribute_map�_type�_code�_message)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/data_integration/models/message.py�__init__ s ��zMessage.__init__c C s | j S )av **[Required]** Gets the type of this Message. The type of message (error, warning, or info). Allowed values for this property are: "ERROR", "WARNING", "INFO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this Message. :rtype: str )r �r r r r r B s zMessage.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this Message. The type of message (error, warning, or info). :param type: The type of this Message. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r Q s c C s | j S )z� **[Required]** Gets the code of this Message. The message code. :return: The code of this Message. :rtype: str �r r r r r r ` s zMessage.codec C s || _ dS )z� Sets the code of this Message. The message code. :param code: The code of this Message. :type: str Nr )r r r r r r l s c C s | j S )z� **[Required]** Gets the message of this Message. The message text. :return: The message of this Message. :rtype: str �r r r r r r x s zMessage.messagec C s || _ dS )z� Sets the message of this Message. The message text. :param message: The message of this Message. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zMessage.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zMessage.__eq__c C s | |k S r r r r r r �__ne__� s zMessage.__ne__N)�__name__� __module__�__qualname__�__doc__Z TYPE_ERRORZTYPE_WARNINGZ TYPE_INFOr �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