StatementSummary¶
-
class
oci.data_flow.models.StatementSummary(**kwargs)¶ Bases:
objectSummary of the statement.
Attributes
LIFECYCLE_STATE_ACCEPTEDA constant which can be used with the lifecycle_state property of a StatementSummary. LIFECYCLE_STATE_CANCELLEDA constant which can be used with the lifecycle_state property of a StatementSummary. LIFECYCLE_STATE_CANCELLINGA constant which can be used with the lifecycle_state property of a StatementSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a StatementSummary. LIFECYCLE_STATE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a StatementSummary. LIFECYCLE_STATE_SUCCEEDEDA 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_idGets the run_id of this StatementSummary. time_completedGets 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
-