WorkRequestLogEntry

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

Bases: object

Details about the log entity.

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.

property message

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

Returns

The message of this WorkRequestLogEntry.

Return type

str

property timestamp

[Required] Gets the timestamp of this WorkRequestLogEntry. Date and time the log was written, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Returns

The timestamp of this WorkRequestLogEntry.

Return type

datetime