CreateAbsoluteWaitCriteriaDetails

class oci.devops.models.CreateAbsoluteWaitCriteriaDetails(**kwargs)

Bases: oci.devops.models.create_wait_criteria_details.CreateWaitCriteriaDetails

Specifies the absolute wait criteria. You can specify fixed length of wait duration.

Attributes

WAIT_TYPE_ABSOLUTE_WAIT str(object=’’) -> str
wait_duration [Required] Gets the wait_duration of this CreateAbsoluteWaitCriteriaDetails.
wait_type [Required] Gets the wait_type of this CreateWaitCriteriaDetails.

Methods

__init__(**kwargs) Initializes a new CreateAbsoluteWaitCriteriaDetails 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 CreateAbsoluteWaitCriteriaDetails object with values from keyword arguments. The default value of the wait_type attribute of this class is ABSOLUTE_WAIT and 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 CreateAbsoluteWaitCriteriaDetails. Allowed values for this property are: “ABSOLUTE_WAIT”
  • wait_duration (str) – The value to assign to the wait_duration property of this CreateAbsoluteWaitCriteriaDetails.
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 CreateAbsoluteWaitCriteriaDetails. The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.

Returns:The wait_duration of this CreateAbsoluteWaitCriteriaDetails.
Return type:str
wait_type

[Required] Gets the wait_type of this CreateWaitCriteriaDetails. Wait criteria type.

Allowed values for this property are: “ABSOLUTE_WAIT”

Returns:The wait_type of this CreateWaitCriteriaDetails.
Return type:str