a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s~eZdZdZddZeddZejddZeddZejd dZed d Z e jd d Z d dZ ddZ ddZ dS)WorkRequestErrorz> An error encountered while executing a work request. cKs2dddd|_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)codemessage timestamprr r N)Z swagger_typesZ attribute_map_code_message _timestamp)selfkwargsrI/usr/lib/python3.9/site-packages/oci/bastion/models/work_request_error.py__init__szWorkRequestError.__init__cCs|jS)a4 **[Required]** Gets the code of this WorkRequestError. A machine-usable code for the error that occurred. Error codes are listed on (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) :return: The code of this WorkRequestError. :rtype: str r rrrrr4s zWorkRequestError.codecCs ||_dS)a( Sets the code of this WorkRequestError. A machine-usable code for the error that occurred. 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)rrrrrrAs cCs|jS)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 rrrrr Ns zWorkRequestError.messagecCs ||_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)rr rrrr Zs cCs|jS)z **[Required]** Gets the timestamp of this WorkRequestError. The time the error occurred. An RFC3339 formatted datetime string. :return: The timestamp of this WorkRequestError. :rtype: datetime r rrrrr fs zWorkRequestError.timestampcCs ||_dS)z Sets the timestamp of this WorkRequestError. The time the error occurred. An RFC3339 formatted datetime string. :param timestamp: The timestamp of this WorkRequestError. :type: datetime Nr)rr rrrr rs cCst|SN)rrrrr__repr__~szWorkRequestError.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szWorkRequestError.__eq__cCs ||k Srrrrrr__ne__szWorkRequestError.__ne__N) __name__ __module__ __qualname____doc__rpropertyrsetterr r rrrrrrrr s""      rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs