RoverBundleStatus¶
- class oci.rover.models.RoverBundleStatus(**kwargs)¶
Bases:
objectThe status of the rover bundle status by a specified work request id.
Attributes:
A constant which can be used with the status property of a RoverBundleStatus.
A constant which can be used with the status property of a RoverBundleStatus.
A constant which can be used with the status property of a RoverBundleStatus.
A constant which can be used with the status property of a RoverBundleStatus.
A constant which can be used with the status property of a RoverBundleStatus.
A constant which can be used with the status property of a RoverBundleStatus.
Gets the bundle_name of this RoverBundleStatus.
Gets the error_message of this RoverBundleStatus.
Gets the percent_complete of this RoverBundleStatus.
[Required] Gets the status of this RoverBundleStatus.
Gets the time_accepted of this RoverBundleStatus.
Gets the time_finished of this RoverBundleStatus.
Gets 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.
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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