WorkRequestLogEntry¶
- class oci.database_management.models.WorkRequestLogEntry(**kwargs)¶
Bases:
objectA log message from the execution of a work request.
Methods:
__init__(**kwargs)Initializes a new WorkRequestLogEntry object with values from keyword arguments.
Attributes:
[Required] Gets the id of this WorkRequestLogEntry.
[Required] Gets the message of this WorkRequestLogEntry.
[Required] Gets the timestamp of this WorkRequestLogEntry.
[Required] Gets the work_request_id of this WorkRequestLogEntry.
- __init__(**kwargs)¶
Initializes a new WorkRequestLogEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (int) – The value to assign to the id property of this WorkRequestLogEntry.
work_request_id (str) – The value to assign to the work_request_id property of this WorkRequestLogEntry.
message (str) – The value to assign to the message property of this WorkRequestLogEntry.
timestamp (datetime) – The value to assign to the timestamp property of this WorkRequestLogEntry.
- property id¶
[Required] Gets the id of this WorkRequestLogEntry. The identifier of the work request log.
- Returns
The id of this WorkRequestLogEntry.
- Return type
int
- property message¶
[Required] Gets the message of this WorkRequestLogEntry. A human-readable log message.
- Returns
The message of this WorkRequestLogEntry.
- Return type
str
- property timestamp¶
[Required] Gets the timestamp of this WorkRequestLogEntry. The date and time the log message was written, described in RFC 3339. The precision for the time object is in milliseconds.
- Returns
The timestamp of this WorkRequestLogEntry.
- Return type
datetime
- property work_request_id¶
[Required] Gets the work_request_id of this WorkRequestLogEntry. The OCID of the work request.
- Returns
The work_request_id of this WorkRequestLogEntry.
- Return type
str