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 @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�WorkRequestErrorzB An object returned in the event of a work request error. � BAD_INPUT�INTERNAL_ERRORc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new WorkRequestError object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param error_code: The value to assign to the error_code property of this WorkRequestError. Allowed values for this property are: "BAD_INPUT", "INTERNAL_ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type error_code: str :param message: The value to assign to the message property of this WorkRequestError. :type message: str �str)� error_code�messageZ errorCoder N)Z swagger_typesZ attribute_map�_error_code�_message)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/load_balancer/models/work_request_error.py�__init__ s ��zWorkRequestError.__init__c C s | j S )a_ **[Required]** Gets the error_code of this WorkRequestError. Allowed values for this property are: "BAD_INPUT", "INTERNAL_ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The error_code of this WorkRequestError. :rtype: str )r �r r r r r 7 s zWorkRequestError.error_codec C s ddg}t ||�sd}|| _dS )z� Sets the error_code of this WorkRequestError. :param error_code: The error_code of this WorkRequestError. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r D s c C s | j S )z� **[Required]** Gets the message of this WorkRequestError. A human-readable error string. :return: The message of this WorkRequestError. :rtype: str �r r r r r r Q s zWorkRequestError.messagec C s || _ dS )z� Sets the message of this WorkRequestError. A human-readable error string. :param message: The message of this WorkRequestError. :type: str Nr )r r r r r r ] s c C s t | �S �N)r r r r r �__repr__i s zWorkRequestError.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__l s zWorkRequestError.__eq__c C s | |k S r r r r r r �__ne__r s zWorkRequestError.__ne__N)�__name__� __module__�__qualname__�__doc__ZERROR_CODE_BAD_INPUTZERROR_CODE_INTERNAL_ERRORr �propertyr �setterr 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