ruạṛ
a ���fl � @ 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 )�WorkRequestErrorzW Description of the unexpected error that prevented completion of the request. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )ac 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 code: The value to assign to the code property of this WorkRequestError. :type code: str :param message: The value to assign to the message property of this WorkRequestError. :type message: str :param time_stamp: The value to assign to the time_stamp property of this WorkRequestError. :type time_stamp: datetime �strZdatetime)�code�message� time_stampr r Z timeStampN)Z swagger_typesZ attribute_map�_code�_message�_time_stamp)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/oda/models/work_request_error.py�__init__ s ��zWorkRequestError.__init__c C s | j S )a4 **[Required]** Gets the code of this WorkRequestError. A machine-usable code for the error that occurred. Error codes are listed at (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) :return: The code of this WorkRequestError. :rtype: str �r �r r r r r 4 s zWorkRequestError.codec C s || _ dS )a( Sets the code of this WorkRequestError. A machine-usable code for the error that occurred. Error codes are listed at (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) :param code: The code of this WorkRequestError. :type: str Nr )r r r r r r A s c C s | j S )z� **[Required]** Gets the message of this WorkRequestError. A human-readable description of the issue. :return: The message of this WorkRequestError. :rtype: str �r r r r r r N s zWorkRequestError.messagec C s || _ dS )z� Sets the message of this WorkRequestError. A human-readable description of the issue. :param message: The message of this WorkRequestError. :type: str Nr )r r r r r r Z s c C s | j S )a3 **[Required]** Gets the time_stamp of this WorkRequestError. When the error occurred. A date-time string as described in `RFC 3339`__, section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :return: The time_stamp of this WorkRequestError. :rtype: datetime �r r r r r r f s zWorkRequestError.time_stampc C s || _ dS )a- Sets the time_stamp of this WorkRequestError. When the error occurred. A date-time string as described in `RFC 3339`__, section 14.29. __ https://tools.ietf.org/rfc/rfc3339 :param time_stamp: The time_stamp of this WorkRequestError. :type: datetime Nr )r r r r r r t s c C s t | �S �N)r r r r r �__repr__� s zWorkRequestError.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zWorkRequestError.__eq__c C s | |k S r r r r r r �__ne__� s zWorkRequestError.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"