AbsoluteWaitCriteria¶
-
class
oci.devops.models.AbsoluteWaitCriteria(**kwargs)¶ Bases:
oci.devops.models.wait_criteria.WaitCriteriaSpecifies the absolute wait criteria. You can specify fixed length of wait duration.
Attributes
WAIT_TYPE_ABSOLUTE_WAITstr(object=’’) -> str wait_duration[Required] Gets the wait_duration of this AbsoluteWaitCriteria. wait_type[Required] Gets the wait_type of this WaitCriteria. Methods
__init__(**kwargs)Initializes a new AbsoluteWaitCriteria object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
WAIT_TYPE_ABSOLUTE_WAIT= 'ABSOLUTE_WAIT'¶
-
__init__(**kwargs)¶ Initializes a new AbsoluteWaitCriteria object with values from keyword arguments. The default value of the
wait_typeattribute of this class isABSOLUTE_WAITand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - wait_type (str) – The value to assign to the wait_type property of this AbsoluteWaitCriteria. Allowed values for this property are: “ABSOLUTE_WAIT”
- wait_duration (str) – The value to assign to the wait_duration property of this AbsoluteWaitCriteria.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
wait_duration¶ [Required] Gets the wait_duration of this AbsoluteWaitCriteria. The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
Returns: The wait_duration of this AbsoluteWaitCriteria. Return type: str
-
wait_type¶ [Required] Gets the wait_type of this WaitCriteria. Wait criteria type.
Allowed values for this property are: “ABSOLUTE_WAIT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The wait_type of this WaitCriteria. Return type: str
-