WorkRequestError

class oci.identity.models.WorkRequestError(**kwargs)

Bases: object

The error entity.

__init__(**kwargs)

Initializes a new WorkRequestError object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • code (str) -- The value to assign to the code property of this WorkRequestError.
  • message (str) -- The value to assign to the message property of this WorkRequestError.
  • timestamp (datetime) -- The value to assign to the timestamp property of this WorkRequestError.
code

[Required] Gets the code of this WorkRequestError. A machine-usable code for the error that occured.

Returns:The code of this WorkRequestError.
Return type:str
message

[Required] Gets the message of this WorkRequestError. A human-readable error string.

Returns:The message of this WorkRequestError.
Return type:str
timestamp

Gets the timestamp of this WorkRequestError. Date and time the error happened, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Returns:The timestamp of this WorkRequestError.
Return type:datetime