/
lib
/
python3.9
/
site-packages
/
oci
/
database_tools
/
models
/
__pycache__
/
Upload File
HOME
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 )�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 �P/usr/lib/python3.9/site-packages/oci/database_tools/models/work_request_error.py�__init__ s ��zWorkRequestError.__init__c C s | j S )a3 **[Required]** Gets the code of this WorkRequestError. A machine-usable code for the error that occured. Error codes are listed on (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 occured. Error codes are listed on (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 encountered. :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 encountered. :param message: The message of this WorkRequestError. :type: str Nr )r r r r r r Z s c C s | j S )z� **[Required]** Gets the timestamp of this WorkRequestError. The time the error occured. An RFC3339 formatted datetime string. :return: The timestamp of this WorkRequestError. :rtype: datetime �r r r r r r f s zWorkRequestError.timestampc C s || _ dS )z� Sets the timestamp of this WorkRequestError. The time the error occured. An RFC3339 formatted datetime string. :param timestamp: The timestamp of this WorkRequestError. :type: datetime Nr )r r r r r r r 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"