WorkRequestResource

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

Bases: object

A resource related to a Data Flow work request.

Attributes:

ACTION_TYPE_CREATED

A constant which can be used with the action_type property of a WorkRequestResource.

ACTION_TYPE_DELETED

A constant which can be used with the action_type property of a WorkRequestResource.

ACTION_TYPE_INPROGRESS

A constant which can be used with the action_type property of a WorkRequestResource.

ACTION_TYPE_RELATED

A constant which can be used with the action_type property of a WorkRequestResource.

ACTION_TYPE_UPDATED

A constant which can be used with the action_type property of a WorkRequestResource.

action_type

[Required] Gets the action_type of this WorkRequestResource.

id

Gets the id of this WorkRequestResource.

resource_id

[Required] Gets the resource_id of this WorkRequestResource.

resource_type

[Required] Gets the resource_type of this WorkRequestResource.

resource_uri

Gets the resource_uri of this WorkRequestResource.

work_requestid

Gets the work_requestid of this WorkRequestResource.

Methods:

__init__(**kwargs)

Initializes a new WorkRequestResource object with values from keyword arguments.

ACTION_TYPE_CREATED = 'CREATED'

A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “CREATED”

ACTION_TYPE_DELETED = 'DELETED'

A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “DELETED”

ACTION_TYPE_INPROGRESS = 'INPROGRESS'

A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “INPROGRESS”

A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “RELATED”

ACTION_TYPE_UPDATED = 'UPDATED'

A constant which can be used with the action_type property of a WorkRequestResource. This constant has a value of “UPDATED”

__init__(**kwargs)

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

Parameters
  • action_type (str) – The value to assign to the action_type property of this WorkRequestResource. Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “INPROGRESS”, “RELATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • id (int) – The value to assign to the id property of this WorkRequestResource.

  • resource_id (str) – The value to assign to the resource_id property of this WorkRequestResource.

  • resource_type (str) – The value to assign to the resource_type property of this WorkRequestResource.

  • resource_uri (str) – The value to assign to the resource_uri property of this WorkRequestResource.

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

property action_type

[Required] Gets the action_type of this WorkRequestResource. The way in which this resource is affected by the work tracked in the work request.

Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, “INPROGRESS”, “RELATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The action_type of this WorkRequestResource.

Return type

str

property id

Gets the id of this WorkRequestResource. The id of a work request resource object.

Returns

The id of this WorkRequestResource.

Return type

int

property resource_id

[Required] Gets the resource_id of this WorkRequestResource. The id of the releated resource. See resourceType to identity the specific type of resource.

Returns

The resource_id of this WorkRequestResource.

Return type

str

property resource_type

[Required] Gets the resource_type of this WorkRequestResource. The type of resource. See resourceId for the id of the specific resource.

Returns

The resource_type of this WorkRequestResource.

Return type

str

property resource_uri

Gets the resource_uri of this WorkRequestResource. The URI path that the user can use to get access to the resource metadata

Returns

The resource_uri of this WorkRequestResource.

Return type

str

property work_requestid

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

Returns

The work_requestid of this WorkRequestResource.

Return type

str