WorkRequestError

class oci.data_flow.models.WorkRequestError(**kwargs)

Bases: object

A Data Flow work request error object.

Methods:

__init__(**kwargs)

Initializes a new WorkRequestError object with values from keyword arguments.

Attributes:

code

[Required] Gets the code of this WorkRequestError.

id

Gets the id of this WorkRequestError.

message

[Required] Gets the message of this WorkRequestError.

timestamp

[Required] Gets the timestamp of this WorkRequestError.

work_requestid

Gets the work_requestid 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.

  • id (int) – The value to assign to the id 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.

  • work_requestid (str) – The value to assign to the work_requestid property of this WorkRequestError.

property code

[Required] Gets the code of this WorkRequestError. A Machine-usable code for the error that occured.

Returns

The code of this WorkRequestError.

Return type

str

property id

Gets the id of this WorkRequestError. The id of a work request error.

Returns

The id of this WorkRequestError.

Return type

int

property message

[Required] Gets the message of this WorkRequestError. A human readable description of the issue encountered.

Returns

The message of this WorkRequestError.

Return type

str

property timestamp

[Required] Gets the timestamp of this WorkRequestError. The time the error occured. An RFC3339 formatted datetime string.

Returns

The timestamp of this WorkRequestError.

Return type

datetime

property work_requestid

Gets the work_requestid of this WorkRequestError. The OCID of a work request.

Returns

The work_requestid of this WorkRequestError.

Return type

str