WorkRequestLogEntry

class oci.resource_scheduler.models.WorkRequestLogEntry(**kwargs)

Bases: object

This is a log message from performing an operation that is tracked by a work request.

Methods

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

Attributes

message [Required] Gets the message of this WorkRequestLogEntry.
timestamp [Required] Gets the timestamp 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:
  • 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.
message

[Required] Gets the message of this WorkRequestLogEntry. This is a human-readable log message.

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

[Required] Gets the timestamp of this WorkRequestLogEntry. This is the date and time the log message was written, in the format defined by RFC 3339.

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