> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validio.io/llms.txt
> Use this file to discover all available pages before exploring further.

# validio_sdk.resource.thresholds module

> Threshold configuration.

Threshold configuration.

### AdaptionRate

```python
class validio_sdk.resource.thresholds.AdaptionRate(*values)
```

Bases: `str`, `Enum`

Adaption rate.

#### FAST

```python
FAST = 'FAST'
```

#### SLOW

```python
SLOW = 'SLOW'
```

### ComparisonOperator

```python
class validio_sdk.resource.thresholds.ComparisonOperator(*values)
```

Bases: `str`, `Enum`

Operator for comparing two numeric values.

#### EQUAL

```python
EQUAL = 'EQUAL'
```

#### GREATER

```python
GREATER = 'GREATER'
```

#### GREATER\_EQUAL

```python
GREATER_EQUAL = 'GREATER_EQUAL'
```

#### LESS

```python
LESS = 'LESS'
```

#### LESS\_EQUAL

```python
LESS_EQUAL = 'LESS_EQUAL'
```

#### NOT\_EQUAL

```python
NOT_EQUAL = 'NOT_EQUAL'
```

### DecisionBoundsType

```python
class validio_sdk.resource.thresholds.DecisionBoundsType(*values)
```

Bases: `str`, `Enum`

Decision bounds type.

#### LOWER

```python
LOWER = 'LOWER'
```

#### UPPER

```python
UPPER = 'UPPER'
```

#### UPPER\_AND\_LOWER

```python
UPPER_AND_LOWER = 'UPPER_AND_LOWER'
```

### DifferenceOperator

```python
class validio_sdk.resource.thresholds.DifferenceOperator(*values)
```

Bases: `str`, `Enum`

Operator for difference threshold.

#### DECREASING

```python
DECREASING = 'DECREASING'
```

#### INCREASING

```python
INCREASING = 'INCREASING'
```

#### STRICTLY\_DECREASING

```python
STRICTLY_DECREASING = 'STRICTLY_DECREASING'
```

#### STRICTLY\_INCREASING

```python
STRICTLY_INCREASING = 'STRICTLY_INCREASING'
```

### DifferenceThreshold

```python
class validio_sdk.resource.thresholds.DifferenceThreshold(*, difference_type: DifferenceType, operator: DifferenceOperator, number_of_windows: int, value: int)
```

**Parameters**

**difference\_type** `DifferenceType` *required*

**operator** `DifferenceOperator` *required*

**number\_of\_windows** `int` *required*

**value** `int` *required*

Bases: [`Threshold`](https://docs.validio.io/v11.1/sdk-reference/validio_sdk.resource#threshold "validio_sdk.resource.thresholds.Threshold")

A dynamic threshold configuration.

See [About Thresholds](https://docs.validio.io/v11.1/docs/thresholds.md#difference-threshold).

### DifferenceType

```python
class validio_sdk.resource.thresholds.DifferenceType(*values)
```

Bases: `str`, `Enum`

Type of difference.

#### ABSOLUTE

```python
ABSOLUTE = 'ABSOLUTE'
```

#### PERCENTAGE

```python
PERCENTAGE = 'PERCENTAGE'
```

### DynamicThreshold

```python
class validio_sdk.resource.thresholds.DynamicThreshold(*, sensitivity: float = 3.0, decision_bounds_type: DecisionBoundsType = DecisionBoundsType.UPPER_AND_LOWER, adaption_rate: AdaptionRate = AdaptionRate.FAST)
```

**Parameters**

**sensitivity** `float`

**decision\_bounds\_type** `DecisionBoundsType`

**adaption\_rate** `AdaptionRate`

Bases: [`Threshold`](https://docs.validio.io/v11.1/sdk-reference/validio_sdk.resource#threshold "validio_sdk.resource.thresholds.Threshold")

A dynamic threshold configuration.

See [About Thresholds](https://docs.validio.io/v11.1/docs/thresholds.md#dynamic-threshold).

### FixedThreshold

```python
class validio_sdk.resource.thresholds.FixedThreshold(*, value: float, operator: ComparisonOperator)
```

**Parameters**

**value** `float` *required*

**operator** `ComparisonOperator` *required*

Bases: [`Threshold`](https://docs.validio.io/v11.1/sdk-reference/validio_sdk.resource#threshold "validio_sdk.resource.thresholds.Threshold")

A fixed threshold configuration.

See [About Thresholds](https://docs.validio.io/v11.1/docs/thresholds.md#fixed-threshold).

### Threshold

```python
class validio_sdk.resource.thresholds.Threshold
```

Bases: `Diffable`

Base class for a threshold configuration.

See [About Thresholds](https://docs.validio.io/v11.1/docs/thresholds.md).
