| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/libexec/oracle-cloud-agent/plugins/osms/oci/queue/models/ |
Upload File : |
a
O��fk � @ 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
�str�datetime)�code�message� timestampr r
r N)�
swagger_types�
attribute_map�_code�_message�
_timestamp)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/queue/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 2 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 ? 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
L 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
X 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 d 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 p 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"