AbsoluteWaitCriteriaSummary

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

Bases: WaitCriteriaSummary

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

Attributes:

WAIT_TYPE_ABSOLUTE_WAIT

A constant which can be used with the wait_type property of a WaitCriteriaSummary.

wait_duration

Gets the wait_duration of this AbsoluteWaitCriteriaSummary.

wait_type

[Required] Gets the wait_type of this WaitCriteriaSummary.

Methods:

__init__(**kwargs)

Initializes a new AbsoluteWaitCriteriaSummary 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'

A constant which can be used with the wait_type property of a WaitCriteriaSummary. This constant has a value of “ABSOLUTE_WAIT”

__init__(**kwargs)

Initializes a new AbsoluteWaitCriteriaSummary 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 AbsoluteWaitCriteriaSummary. Allowed values for this property are: “ABSOLUTE_WAIT”

  • wait_duration (str) – The value to assign to the wait_duration property of this AbsoluteWaitCriteriaSummary.

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.

property wait_duration

Gets the wait_duration of this AbsoluteWaitCriteriaSummary. 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 AbsoluteWaitCriteriaSummary.

Return type

str

property wait_type

[Required] Gets the wait_type of this WaitCriteriaSummary. 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 WaitCriteriaSummary.

Return type

str