WorkRequestLog

class oci.logging.models.WorkRequestLog(**kwargs)

Bases: object

A log message from the execution of a work request.

Methods

__init__(**kwargs) Initializes a new WorkRequestLog object with values from keyword arguments.

Attributes

message [Required] Gets the message of this WorkRequestLog.
timestamp [Required] Gets the timestamp of this WorkRequestLog.
__init__(**kwargs)

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

Parameters:
  • message (str) – The value to assign to the message property of this WorkRequestLog.
  • timestamp (datetime) – The value to assign to the timestamp property of this WorkRequestLog.
message

[Required] Gets the message of this WorkRequestLog. Human-readable log message.

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

[Required] Gets the timestamp of this WorkRequestLog. The time the log message was written. An RFC3339-formatted date and time string.

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