WorkRequestError¶
- class oci.visual_builder.models.WorkRequestError(**kwargs)¶
Bases:
objectErrors related to a specific work request.
Methods:
__init__(**kwargs)Initializes a new WorkRequestError object with values from keyword arguments.
Attributes:
[Required] Gets the code of this WorkRequestError.
[Required] Gets the message of this WorkRequestError.
[Required] Gets the timestamp of this WorkRequestError.
- __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.
- property code¶
[Required] Gets the code of this WorkRequestError. A short error code that defines the error, meant for programmatic parsing
- Returns
The code of this WorkRequestError.
- Return type
str
- property message¶
[Required] Gets the message of this WorkRequestError. A human-readable error string.
- Returns
The message of this WorkRequestError.
- Return type
str
- property timestamp¶
[Required] Gets the timestamp of this WorkRequestError. The date and time the error occurred.
- Returns
The timestamp of this WorkRequestError.
- Return type
datetime