StatementSummary

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

Bases: object

Summary of the statement.

Attributes

LIFECYCLE_STATE_ACCEPTED A constant which can be used with the lifecycle_state property of a StatementSummary.
LIFECYCLE_STATE_CANCELLED A constant which can be used with the lifecycle_state property of a StatementSummary.
LIFECYCLE_STATE_CANCELLING A constant which can be used with the lifecycle_state property of a StatementSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a StatementSummary.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a StatementSummary.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a StatementSummary.
id [Required] Gets the id of this StatementSummary.
lifecycle_state [Required] Gets the lifecycle_state of this StatementSummary.
run_id Gets the run_id of this StatementSummary.
time_completed Gets the time_completed of this StatementSummary.
time_created [Required] Gets the time_created of this StatementSummary.

Methods

__init__(**kwargs) Initializes a new StatementSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the lifecycle_state property of a StatementSummary. This constant has a value of “ACCEPTED”

LIFECYCLE_STATE_CANCELLED = 'CANCELLED'

A constant which can be used with the lifecycle_state property of a StatementSummary. This constant has a value of “CANCELLED”

LIFECYCLE_STATE_CANCELLING = 'CANCELLING'

A constant which can be used with the lifecycle_state property of a StatementSummary. This constant has a value of “CANCELLING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a StatementSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a StatementSummary. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a StatementSummary. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

Parameters:
  • id (int) – The value to assign to the id property of this StatementSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this StatementSummary. Allowed values for this property are: “ACCEPTED”, “CANCELLING”, “CANCELLED”, “FAILED”, “IN_PROGRESS”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • run_id (str) – The value to assign to the run_id property of this StatementSummary.
  • time_created (datetime) – The value to assign to the time_created property of this StatementSummary.
  • time_completed (datetime) – The value to assign to the time_completed property of this StatementSummary.
id

[Required] Gets the id of this StatementSummary. The statement ID.

Returns:The id of this StatementSummary.
Return type:int
lifecycle_state

[Required] Gets the lifecycle_state of this StatementSummary. The current state of this statement.

Allowed values for this property are: “ACCEPTED”, “CANCELLING”, “CANCELLED”, “FAILED”, “IN_PROGRESS”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this StatementSummary.
Return type:str
run_id

Gets the run_id of this StatementSummary. The ID of a run.

Returns:The run_id of this StatementSummary.
Return type:str
time_completed

Gets the time_completed of this StatementSummary. The date and time a statement execution was completed, expressed in RFC 3339 timestamp format. Example: 2022-05-31T21:10:29.600Z

Returns:The time_completed of this StatementSummary.
Return type:datetime
time_created

[Required] Gets the time_created of this StatementSummary. The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z

Returns:The time_created of this StatementSummary.
Return type:datetime