RoverBundleStatus¶
-
class
oci.rover.models.RoverBundleStatus(**kwargs)¶ Bases:
objectThe status of the rover bundle status by a specified work request id.
Attributes
STATUS_ACCEPTEDA constant which can be used with the status property of a RoverBundleStatus. STATUS_CANCELEDA constant which can be used with the status property of a RoverBundleStatus. STATUS_CANCELINGA constant which can be used with the status property of a RoverBundleStatus. STATUS_COMPLETEDA constant which can be used with the status property of a RoverBundleStatus. STATUS_FAILEDA constant which can be used with the status property of a RoverBundleStatus. STATUS_IN_PROGRESSA constant which can be used with the status property of a RoverBundleStatus. bundle_nameGets the bundle_name of this RoverBundleStatus. error_messageGets the error_message of this RoverBundleStatus. percent_completeGets the percent_complete of this RoverBundleStatus. status[Required] Gets the status of this RoverBundleStatus. time_acceptedGets the time_accepted of this RoverBundleStatus. time_finishedGets the time_finished of this RoverBundleStatus. time_startedGets the time_started of this RoverBundleStatus. Methods
__init__(**kwargs)Initializes a new RoverBundleStatus object with values from keyword arguments. -
STATUS_ACCEPTED= 'ACCEPTED'¶ A constant which can be used with the status property of a RoverBundleStatus. This constant has a value of “ACCEPTED”
-
STATUS_CANCELED= 'CANCELED'¶ A constant which can be used with the status property of a RoverBundleStatus. This constant has a value of “CANCELED”
-
STATUS_CANCELING= 'CANCELING'¶ A constant which can be used with the status property of a RoverBundleStatus. This constant has a value of “CANCELING”
-
STATUS_COMPLETED= 'COMPLETED'¶ A constant which can be used with the status property of a RoverBundleStatus. This constant has a value of “COMPLETED”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a RoverBundleStatus. This constant has a value of “FAILED”
-
STATUS_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the status property of a RoverBundleStatus. This constant has a value of “IN_PROGRESS”
-
__init__(**kwargs)¶ Initializes a new RoverBundleStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - status (str) – The value to assign to the status property of this RoverBundleStatus. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “COMPLETED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- percent_complete (float) – The value to assign to the percent_complete property of this RoverBundleStatus.
- time_accepted (datetime) – The value to assign to the time_accepted property of this RoverBundleStatus.
- time_started (datetime) – The value to assign to the time_started property of this RoverBundleStatus.
- time_finished (datetime) – The value to assign to the time_finished property of this RoverBundleStatus.
- bundle_name (str) – The value to assign to the bundle_name property of this RoverBundleStatus.
- error_message (str) – The value to assign to the error_message property of this RoverBundleStatus.
-
bundle_name¶ Gets the bundle_name of this RoverBundleStatus. The full name of the bundle.
Returns: The bundle_name of this RoverBundleStatus. Return type: str
-
error_message¶ Gets the error_message of this RoverBundleStatus. The error message if work request fails.
Returns: The error_message of this RoverBundleStatus. Return type: str
-
percent_complete¶ Gets the percent_complete of this RoverBundleStatus. Percentage of the work request completed.
Returns: The percent_complete of this RoverBundleStatus. Return type: float
-
status¶ [Required] Gets the status of this RoverBundleStatus. The progress of the workflow.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “COMPLETED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this RoverBundleStatus. Return type: str
-
time_accepted¶ Gets the time_accepted of this RoverBundleStatus. The date and time the work request was created. An RFC3339 formatted datetime string.
Returns: The time_accepted of this RoverBundleStatus. Return type: datetime
-
time_finished¶ Gets the time_finished of this RoverBundleStatus. The date and time the work request was finished. An RFC3339 formatted datetime string.
Returns: The time_finished of this RoverBundleStatus. Return type: datetime
-
time_started¶ Gets the time_started of this RoverBundleStatus. The date and time the work request was started. An RFC3339 formatted datetime string.
Returns: The time_started of this RoverBundleStatus. Return type: datetime
-