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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )� AddonErrorz& The error info of the addon. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a: Initializes a new AddonError object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param code: The value to assign to the code property of this AddonError. :type code: str :param message: The value to assign to the message property of this AddonError. :type message: str :param status: The value to assign to the status property of this AddonError. :type status: str �str)�code�message�statusr r r N)Z swagger_typesZ attribute_map�_code�_message�_status)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/container_engine/models/addon_error.py�__init__ s ��zAddonError.__init__c C s | j S )a6 Gets the code of this AddonError. A short error code that defines the upstream error, meant for programmatic parsing. See `API Errors`__. __ https://docs.cloud.oracle.com/Content/API/References/apierrors.htm :return: The code of this AddonError. :rtype: str �r �r r r r r 4 s zAddonError.codec C s || _ dS )a9 Sets the code of this AddonError. A short error code that defines the upstream error, meant for programmatic parsing. See `API Errors`__. __ https://docs.cloud.oracle.com/Content/API/References/apierrors.htm :param code: The code of this AddonError. :type: str Nr )r r r r r r B s c C s | j S )z� Gets the message of this AddonError. A human-readable error string of the upstream error. :return: The message of this AddonError. :rtype: str �r r r r r r P s zAddonError.messagec C s || _ dS )z� Sets the message of this AddonError. A human-readable error string of the upstream error. :param message: The message of this AddonError. :type: str Nr )r r r r r r \ s c C s | j S )z� Gets the status of this AddonError. The status of the HTTP response encountered in the upstream error. :return: The status of this AddonError. :rtype: str �r r r r r r h s zAddonError.statusc C s || _ dS )z� Sets the status of this AddonError. The status of the HTTP response encountered in the upstream error. :param status: The status of this AddonError. :type: str Nr )r r r r r r t s c C s t | �S �N)r r r r r �__repr__� s zAddonError.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zAddonError.__eq__c C s | |k S r r r r r r �__ne__� s zAddonError.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"