ruạṛ
a ���fM � @ 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 )�WorkRequestErrorz> An error encountered while executing a work request. c K s2 dddd�| _ dddd�| _d| _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 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 timestamp: The value to assign to the timestamp property of this WorkRequestError. :type timestamp: datetime �strZdatetime)�code�message� timestampr r r N)Z swagger_typesZ attribute_map�_code�_message� _timestamp)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/devops/models/work_request_error.py�__init__ s ��zWorkRequestError.__init__c C s | j S )aE **[Required]** Gets the code of this WorkRequestError. A machine-usable code for the error that occured. Error codes are listed in `API Errors`__. __ 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 )a9 Sets the code of this WorkRequestError. A machine-usable code for the error that occured. Error codes are listed in `API Errors`__. __ 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 B s c C s | j S )z� **[Required]** Gets the message of this WorkRequestError. A human readable description of the issue encountered. :return: The message of this WorkRequestError. :rtype: str �r r r r r r P s zWorkRequestError.messagec C s || _ dS )z� Sets the message of this WorkRequestError. A human readable description of the issue encountered. :param message: The message of this WorkRequestError. :type: str Nr )r r r r r r \ s c C s | j S )a **[Required]** Gets the timestamp of this WorkRequestError. Time the error occured. Format defined by `RFC3339`__. __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The timestamp of this WorkRequestError. :rtype: datetime �r r r r r r h s zWorkRequestError.timestampc C s || _ dS )a Sets the timestamp of this WorkRequestError. Time the error occured. Format defined by `RFC3339`__. __ https://datatracker.ietf.org/doc/html/rfc3339 :param timestamp: The timestamp of this WorkRequestError. :type: datetime Nr )r r r r r r v 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"